3 ms·
No, you are wrong. DOS COM files if 16 bit can't be run on 64 bit CPU's but 32 bit DOS binaries can be run under 32 bit GNU/Linux installs with DosEMU straight
by anthk 8mo ago
No, you are wrong. DOS COM files if 16 bit can't be run on 64 bit CPU's but 32 bit DOS binaries can be run under 32 bit GNU/Linux installs with DosEMU straight by just emulating the BIOS part, the rest is native.
- M95D 8mo agoYou actually confirmed what I said. :)
- anthk 8mo ago50/50, because once you boot a 32 bit os you can run 16 bit binaries :) I'm pretty sure that if I make a dual-kernel 9front (9pc and 9pc64 available at boot) in a 64 bit machine and I compile emu2 for it, DOS COM binaries might be trapped enough to run simple text mode tools under the 386 port.
- rep_lodsb 8mo agoIt has nothing to do with being unable to run 16-bit code, that's a myth. https://man7.org/linux/man-pages/man2/modify_ldt.2.html https://man7.org/linux/man-pages/man2/modify_ldt.2.html Set seg_32bit=0 and you can create 16-bit code and data segments. Still works on 64 bit. What's missing is V86 mode, which emulates the real mode segmentation model.
- anthk 8mo agoThat can be trapped for sure.