Does your computer have 300 kB free contiguous memory? And is there a C compiler for it?
Then you can port Doom to it. Well, enough parts of Doom to run timedemo 3, in black and white.
32-bit CPU, 16-bit CPU. Little-endian, big-endian. It's all possible. No FPU required.
Implement i_system.h
. Look at i_ibm.c
and i_mac.c
for examples.
Platform | Platform specific code | Compiler | Set environment variables | Compile code | Additional information |
---|---|---|---|---|---|
Amiga 500 | i_amiga.c |
amiga-gcc | n/a | compa500.sh |
Experimental, might not work on a real machine |
HP 95LX | i_hp95lx.c , i_ibma.asm |
gcc-ia16, NASM | n/a | comphp95.sh |
No status bar, also runs on HP 100LX and HP 200LX |
IBM PC 16-bit | i_ibm.c , i_ibma.asm |
gcc-ia16, NASM | n/a | compia16.sh |
Use command line argument lcd to invert the colors |
IBM PC 16-bit[^1] | i_ibm.c |
Watcom | setenvwc.bat |
compwc16.sh |
Use command line argument lcd to invert the colors |
IBM PC 32-bit | i_ibm.c |
DJGPP | setenvdj.bat |
compdj.bat |
Use command line argument lcd to invert the colors |
Macintosh Plus | i_mac.c |
Retro68 | n/a | CMakeLists.txt |
Experimental, might not work on a real machine |
[^1]: Two compilers can build the IBM PC 16-bit port. Gcc-ia16 produces faster code than Watcom. The static code analysers of both compilers detect different issues.