FrenkelS
FrenkelS
> Other advantages would include broadening the amount of DOS C software that can be compiled with gcc-ia16 - one found in the wild which would be interesting to support...
I've run it in DOSBox at 50000 cycles, Watcom gets about 40 fps, gcc-ia16 50 fps. Here's a [video](https://www.youtube.com/watch?v=JPz3jZ-B7jQ) of Doom8088 compiled with gcc-ia16 on a 386SX at 20 MHz
> > Compiling [r_draw.c](https://github.com/FrenkelS/Doom8088/blob/feature/gccia16/r_draw.c) with -O2 gives an error while all the other optimization levels succeed: > > Have you compiled r_draw.c with `FixedMul` not inlined, as is also done...
BTW, I'm also having trouble with some files and -flto. Adding -flto in the [build-script](https://github.com/FrenkelS/Doom8088/blob/d17ff0bab0488f0aef2a6661bd3cd681f26fcc00/compia16.sh) to i_main.c, p_map.c or p_switch.c results in ``` /usr/lib/x86_64-linux-gnu/gcc/ia16-elf/6.3.0/../../../../../ia16-elf/bin/ld: BFD (GNU Binutils) 2.39 internal error,...
Thanks. BTW, I've moved some code from p_mobj.c and p_spec.c to some other p_-files and now both files will compile with -Ofast and -Os. So when you try to reproduce...
aha, so `%dx + 4` wasn't about the register dx :)
> BTW, I'm also having trouble with some files and -flto. Adding -flto in the [build-script](https://github.com/FrenkelS/Doom8088/blob/d17ff0bab0488f0aef2a6661bd3cd681f26fcc00/compia16.sh) to i_main.c, p_map.c or p_switch.c results in > and adding -flto to z_bmallo.c or...
Here's another error. When I change `-Os` to `-O3` in the [build-script](https://github.com/FrenkelS/Doom8088/blob/54d11291062b45c022442c3b64741603bc6beb51/compia16.sh#L10), I get the following error: ``` z_zone.c: In function ‘Z_Malloc.part.0’: z_zone.c:532:1: error: could not split insn } ^...
> BTW, I'm also having trouble with some files and -flto. Adding -flto in the [build-script](https://github.com/FrenkelS/Doom8088/blob/d17ff0bab0488f0aef2a6661bd3cd681f26fcc00/compia16.sh) to i_main.c, p_map.c or p_switch.c results in > > ``` > /usr/lib/x86_64-linux-gnu/gcc/ia16-elf/6.3.0/../../../../../ia16-elf/bin/ld: BFD (GNU...
I'm the creator of doomtd3. This is [intended behaviour](https://github.com/FrenkelS/doomtd3/blob/main/i_ibm.c#L67). When an item is picked up the screen turns yellow and when the player is hit the screen turns red. In...