Re:Disassembly of Pokémon Red
by ComputerGuru on Monday January 16, 2012 @10:51PM
(#3473675)
I wonder if the original system was written in ASM or a higher-level language (a variant of C, maybe?). Anyone do any GBC development care to comment?
[ Parent
| on HN ]
Definitely ASM for GB/GBC. Not much C until GBA.
Z80 ASM is both quite limited (no multiply or division) and very straightforward. That's how I remember it, at least :) For fond memories, dig a copy of Rodney Zak's "Programming the Z80".
> Rodney Zak's "Programming the Z80"
The first and still the best programming book I ever read. It taught me architecture, instruction fetching and decoding, how the clock comes into it, as well as the usual assembly programming. I loved that book. I still regret throwing it out, 20 years later.
Good news: you can download a PDF. http://www.freetechbooks.com/programming-the-z80-t784.html
I don't know if it's because I'm a stupid old fart, but it seems to me that the explanation this book gives of microprocessor architecture, busses, etc are still unbeatable because Z80 is so simple. It's probably still a valuable introduction to computing, if only for the first few chapters on binary, computation, etc.