https://github.com/janwilmans/x86-to-z80 is what I found. But still x86... not what I remember.
https://github.com/janwilmans/x86-to-z80 is what I found. But still x86... not what I remember.
Found that one too, but it doesn't seem like he changed much from the 6502 project except update the readme.
I think one would have to look at a modern compiler generates for a program that would be realistic for MSX to see if the conversion would be feasible.
I don't see why people are worried about segmentation since it was introduced to break the 64k barrier.
If that is a problem then your program doesn't fit in the Z80 memory space anyway.
I'm sure you can think if a billion theoretical cases where conversion is problematic but if the compiler doesn't generate it for you n'th 8-bit platformer then it doesn't really matter.
Also, if you think the problem is that C++ generates too much boilerplate code then it doesn't matter if you convert from x86 to z80 or go to z80 directly.
If it generates to much crud you'll have that problem either way.