Hacker News new | ask | show | jobs
by MaxBarraclough 1850 days ago
Have you considered targeting the GameBoy?
1 comments

The GBZ80 is much more restrictive, right? I think it's missing the IX and IY registers, as well as the alternate register bank.

[0]: https://gbdev.gg8.se/wiki/articles/CPU_Comparision_with_Z80

I moved from Sinclair/Amstrad CPC games development onto the Gameboy. Initially the lack of EXX and IX/IY proved to be a bit of a pain. It's also missing the LDI(R)/LDD(R) opcodes. However, I dimly remember using its LD A, (FF00+...) instructions to access a block of RAM at the top of the memory map above the I/O registers to store variables, in much the same way that I'd use zero page on a 6502. So not quite as restrictive as it looks.