3 ms·
https://github.com/id-Software/wolf3d/blob/master/WOLFSRC/WL_DR_A.ASM#L389 https://github.com/id-Software/wolf3d/blob/master/WOLFSRC/WL... Shift-by-immediate-v
by andrewf 4y ago
https://github.com/id-Software/wolf3d/blob/master/WOLFSRC/WL_DR_A.ASM#L389 https://github.com/id-Software/wolf3d/blob/master/WOLFSRC/WL...
Shift-by-immediate-value was introduced with the 80186 (and became broadly available with the 80286). https://en.wikipedia.org/wiki/Intel_80186#cite_ref-6 https://en.wikipedia.org/wiki/Intel_80186#cite_ref-6
- rep_lodsb 4y agoYou can replace the 8088 in the original PC with a NEC V20, which provides these extra instructions. IIRC the CPU detection code in Wolf3D has to be patched too to make this work, because it only checks for 286+ and would exit with an error message.