Gameboy Development Forum

Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)

You are not logged in.

Ads

#1 2008-07-15 18:20:41

Shiny
Member
Registered: 2008-03-17
Posts: 21

brainf***Boy, brainf*** interpreter

Here's my first programming project for the Gameboy which also happens to be the first program I've ever written in any form of assembly, a brainf*** interpreter, fittingly called brainf***Boy.
(if you don't know what that is, check out http://esolangs.org/wiki/Brainfuck )

I can confirm that bfb runs perfectly fine on hardware using a GB Smart Cart 32M in both DMG and CGB models. bfb will take advantage of double speed mode if run on CGB.

Here's a download link if you want to try it out: http://gameboygenius.8bitcollective.com … bfb_R1.rar (thanks for hosting nitro2k01)
The (.rar) archive includes:
- Pre-compiled bfb and bfbBuild (Windows executable)
- RGBFIX (used by bfbBuild)
- Full source of the interpreter (bfb)
- Full source of the ROM building program (bfbBuild)
- A few example brainf*** programs
- Readme with controls, usage, etc.

I've tried my best to get execution time as fast as possible, but if you have any ideas for increasing performance I'd be happy to hear it!

Last edited by Shiny (2008-08-08 19:41:36)

Offline

 

#2 2008-07-20 21:21:44

nitro2k01
Administrator
Registered: 2008-02-22
Posts: 249

Re: brainf***Boy, brainf*** interpreter

I'll host it for you. Doesn't make sense to use MegaUpload for a 93 kB big file. wink

http://gameboygenius.8bitcollective.com … bfb_R1.rar

Cool project indeed!


Blog: Gameboy Genius
"A journey of a thousand miles begins with one small step"
Old Chinese Proverb

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson