wondering if i can compile c to z80
and if i can write a master system game with that, without having to use raw assembly?
because i felt like finally continuing that snake game i started 4 years ago but if i can make it easier on me that would be nice
ahhh its separate repo has a better readme https://github.com/sverx/PSGlib
@squirrel seems like the Z80 would be a better compiler target than the 6502, at least
@nicole how so
@squirrel my understanding is the stack in the 6502 is less flexible so that platform C compilers generally have to implement their own
@nicole there was a guy who made a talk about making c64 (6502-based) games on c++17 so idk
@squirrel oh its definitely not impossible; just has performance implications
@nicole well i suppose
i didn't pick the z80 for any technical reason beyond "i have a master system flashcart and i can get it running on real hardware"
aha, as usualy, someone's already done it https://github.com/sverx/devkitSMS