Gameboy dmg cpu internals10/28/2022 ![]() ![]() We used the RGBDS assembler and its built in tools to make the thing, mostly because that runs on Linux and that's what we both wanted to develop on. (Be gentle, it was my first time trying to do anything serious directly in assembly and we had a 72-hour time limit.) We did a gameboy game for a Ludum dare a short while back, and while it's certainly not pretty z80, the tooling got the job done. There a few good homebrew tools and libraries available. Accuracy test ROMs, very useful to make sure your timings are ok and you emulate various quirks of the hardware: Īlso note that even if you focus on making an original (DMG) GameBoy emulator you should be able to add GameBoy Color support later without too much difficulty, it's a fairly straightforward evolution of the original hardware. Opcode map (note that the GB CPU is not a stock Z80, it has different timings, different registers, different flags and different opcodes, do not use stock Z80 docs as a reference lest you end up with broken CPU emulation): An intro to making a GB emulator in JS (it doesn't matter if you don't plan on using JS, it still explains the basic concepts pretty well).
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |