thecatkitty / lavender

Slideshow for DOS 2.0 and CGA
MIT License
3 stars 0 forks source link

Windows target should support mips and ppc #158

Open thecatkitty opened 7 months ago

thecatkitty commented 7 months ago

other archs that probably won't happen:

Wack0 commented 7 months ago

the problem with targeting MIPS/PPC NT is the lack of cross-compiler. (the existing MS cross-compilers are for PowerPC Mac, and for Windows CE on MIPS/PPC, and they both use different ABIs; the later big-endian Xbox 360 cross-compiler can be hacked to output in the opposite endianness but also uses the Windows CE ABI)

the toolchain I put together for PPC NT is a massive hack... MSVC 4.2 linker, official cross-assembler from the Windows CE toolchain, and hacked together gcc that outputs asm that said cross-assembler works with...

thecatkitty commented 7 months ago

I somehow completely forgot about the ABI mess on PPC, I'll surely have to revisit this topic before attempting the port... Worst case would be what, a cross-compiler for PPC Mac and lots of semi-manually crafted thunks in PPC assembly?

I can at least host MIPS compiler on QEMU, so that's nice 😄

Oh, and OpenWatcom support Alpha, and PPC assembler! 😄