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.
Pages: 1
Hi everyone!
I'm trying to start coding for Gameboy, but i'm using Boriel’s ZX-Basic Compiler instead
At https://docs.google.com/file/d/0B7Iw8X7 … GFzOERmTUU you find the sources, the .asm file that might be helpful for debugging, and the resulting .gb file
I'm using this cross-compiler, by default developed for targeting ZX-Spectrum, but i was successfully using it for MSX, Master System, Game Gear, ColecoVision, GX4000, Aquarius, etc. (you can find something at http://www.boriel.com/wiki/en/index.php … R_HARDWARE ) - so i guess i can use it for coding stuff for Gameboy as well!
Please let me know what you all think, and what might be wrong on what i have there for Gameboy - my idea is to help Boriel’s ZX-Basic Compiler targeting Gameboy as well! thanks!
Offline
Gameboy is not actually a Z80 CPU. It's a Sharp LR35902, which is more similar to Intel 8080 than Z80. In particular, this means, no shadow register and no index register, among other things. The code would likely need a bit of a rewrite to work.
You may want to refer to Pan Docs or the opcode map. You may also wish to check out RGBDS (an assembler) or GB-BASIC.
Offline
nitro2k01 wrote:
Gameboy is not actually a Z80 CPU. It's a Sharp LR35902, which is more similar to Intel 8080 than Z80. In particular, this means, no shadow register and no index register, among other things. The code would likely need a bit of a rewrite to work.
You may want to refer to Pan Docs or the opcode map. You may also wish to check out RGBDS (an assembler) or GB-BASIC.
no index register, and Boriel’s ZX-Basic Compiler uses it a lot... :S
thanks!
Offline
Pages: 1