Hi!
Am 24.09.22 um 14:19 schrieb Nano:
Hi !
I got a codebase to build a gameboy ROM that was using sdcc some years
ago. Using the latest version of sdcc I can’t compile my source files
using `-mgbz80`, giving me this error : `error 131: cannot generate code
for target 'gbz80'`. I was wondering if the project dropped that target,
and if so what would be the last version of sdcc I could use.
Thank you for your time,
Nano
The answer is quite simple, actually:
The people who initially reverse engineered the Game Boy architecture
called the CPU "Game Boy Z80" in lack of a better name and because it
looked remotely like a Z80 to them.
Now we know that the Game Boy uses a Sharp SM83 CPU core and the
compiler target has therefore been renamed accordingly, namely from
"gbz80" to "sm83".
Greetings,
Benedikt
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user