GameBoy(Color) Programming

Discussion of programming and development for the original Game Boy and Game Boy Color.
Post Reply
Bionja
Posts: 7
Joined: Thu Jan 29, 2015 10:28 am
Location: Moscow, Russian Federation

GameBoy(Color) Programming

Post by Bionja »

Can someone give me real good manuals for GB(C) programming using assembler. I'm not sure of using C, I mean yeah it's simple, but performance is getting lower.
Sik
Posts: 1589
Joined: Thu Aug 12, 2010 3:43 am

Re: GameBoy(Color) Programming

Post by Sik »

This probably should go here.

The GB/GBC uses a custom Z80 variant, so go get a Z80 assembler and look up the differences. Many assemblers have specific support for this variant (usually labeled as GBZ80), so that's something to take into account to save effort.
Pokun
Posts: 2675
Joined: Tue May 28, 2013 5:49 am
Location: Hokkaido, Japan

Re: GameBoy(Color) Programming

Post by Pokun »

The most popular assemblers are RGBDS (http://otakunozoku.com/rednex-gameboy-d ... nt-system/) and WLA. You can find lots of information on http://gbdev.gg8.se/wiki/articles/Main_Page and the Pan Doc (I'm not linking to it because I'm not sure it'll be the latest version). I think the official English Game Boy development manual was leaked. There are also some guides if you google.
User avatar
nicklausw
Posts: 376
Joined: Sat Jan 03, 2015 5:58 pm
Location: ...
Contact:

Re: GameBoy(Color) Programming

Post by nicklausw »

You should probably use RGBDS, just because there's so much more GB code online written for it than WLA.

Don't believe me? Look here. http://devrs.com/gb/asmcode.php#asmmath http://gameboy.mongenel.com/asmschool.html http://cratel.wichita.edu/cratel/ECE238Spr08

Although if it were my choice, WLA would certainly be the assembler of choice, unless you take its bugs into accommodation.
Post Reply