A downloadable tool

BrainFox is a Brainfuck interpreter that can be run on your GB (or emulator).

It allows to write a program of 7200 comands length (program memory) which operates with up to 5000 memory cells (data memory).

Here are all brainfuck commands:

CharacterMeaning
>Increment the data pointer (to point to the next cell to the right).
<Decrement the data pointer (to point to the next cell to the left).
+Increment the byte at the data pointer.
-Decrement the byte at the data pointer.
.Output the byte at the data pointer.
,Accept one byte of input, storing its value in the byte at the data pointer.
]If the byte at the data pointer is zero, then instead of moving the instruction pointer forward to the next command, jump it forward to the command after the matching ] command.
[If the byte at the data pointer is nonzero, then instead of moving the instruction pointer forward to the next command, jump it back to the command after the matching [ command.
(Space) Does nothing, can be used to make program more readable, but still takes place in program memory

And how to work with BrainFox:

KeysMeaning
D-padEnter < > + - commands
D-pad + AEnter [ ] . , commands
D-pad + SelectMove cursor
BDelete previous symbol (like Backspace)
Start Run/Stop the program
Start+SelectClean program memory (do it when you run BrainFox the first time)


Read manual to get the full information as well as useful tips and examples of code.

Contact me an maareksteel@gmail.com if you have troubles with BrainFox or want to show something you made with it.

StatusReleased
CategoryTool
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorYprit
TagsGame Boy, interpreter, Retro, tool

Download

Download
BF Instruction.txt 3 kB
Download
brainfox.rar 5 kB
Download
brainfox.gb 32 kB

Install instructions

Repack both files in .rar archive in any folder in your computer and run .gb file.

Or just download .gb only.

Comments

Log in with itch.io to leave a comment.

(4 edits)

Hi! I tried to run it on VisualBoyAdvance emu, but it gives me the error "Unknown cartridge type 09"; instead, it works on BGB emu

this is cool. what kind of things can you program with it?

Exactly me -- not so many, I think. I'm not very good at BF. But in fact you can program everything that fits in memory. Maybe even a tiny game?..

That would be cool

(+1)

This is really amazing..!! Never thought I would see the day this would be possible!