Hacker News new | ask | show | jobs
by lza 1850 days ago
I just recently grabbed a Z81 and Timex 1000 from eBay.Always wanted to own and write some games on it. My current setup more complex. I grew up learning to code on C64 good times.
1 comments

Have you considered targeting the GameBoy?
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.