3 ms·
One could write a com loader for Linux pretty easily.
by swiley 10y ago
One could write a com loader for Linux pretty easily.
- JoshTriplett 10y agocom programs assume they run on DOS, so you might as well use dosbox for that. Linux supports some other executable formats for embedded systems, but they don't have much less overhead than ELF.
- bencollier49 10y agoThe problem is that a lot of the demo programs are hooking Int 21h, which is provided by DOS / Windows.
- mlvljr 10y agoWould it run 16 bit code under x64 Linux (w/o any translation / emulation)? As Windows can't do it (only x32 versions can), thus wondering, if this is a CPU limitation.
- avian 10y agoIndeed https://github.com/avian2/linux-com-loader https://github.com/avian2/linux-com-loader