Quote:
Originally posted by Dead Zed@Oct 29 2004, 11:54 AM
Hey!
Long-time lurker, first-time poster. Hehe.. I was wondering if anyone knows of the structure of the Gameboy ROM (*.gb) files. I already know the opcodes take up 1 byte but what if it needs a parameter? Would that be the closest following byte?
I hope my question was clear, if not just ask!
NOTE: I didn't know really where to post this (Nintendo forum, or the Web & Technology forum), so I apologize if it's totally out of place
Cheers!
/Dead Zed
When I wrote my VERY minimal GB emulator (never released, it was just a personal experiment) I used a pre-made Z80 core to get everything working, and then replaced it with my own later on. It's a good way to get quick results, and make sure that all emulated hardware is working before you get stuck in with the CPU stuff. Also, when you are programming your own core, you get visual and audible results when there's a bug in your CPU code.