Show HN: A DOS-like hobby OS written in Rust and x86 assembly
114 krustowski 18 6/19/2025, 1:38:57 PM github.com ↗
To try it out, simply build the project yourself from source, or use attached bootable ISO image of the system (in Releases on Github) and run it in QEMU.
Could this run from an efi system partition? Seems to support fat12, what about gpt?
Does it poke video hardware like DOS, or have a terminal like output?
NGL one of my long term projects was/is something exactly like this but UEFI and secure boot. The idea being to use the VM extensions to create IBM-PC and DOS compatible environments. For anything using DPMI[1] I'd probably do the same trick as Win95 did and just replace it with my own implementation so it's not too overburdened with layers.
[1] https://en.wikipedia.org/wiki/DOS_Protected_Mode_Interface
On the other hand, did you see https://github.com/FlyGoat/csmwrap when it came up a few weeks ago?
* https://news.ycombinator.com/item?id=44101828
There are already projects to provide replacements for the vanished Compatibility Support Module.
My goal was more "What if DOS hadn't ended and but kept up support for modern hardware" along with emulation of common things in DOS gaming. So for example you would be able to set up a PIV that mapped certain resources directly or emulated them depending on the need.
Could I use DOSBox for this... yes, but this is a "why not" sort of thing. I figured it would be a good excuse to learn OS dev. But life has kept me busy for now.
I.e.: runs Alley Cat and Dune 2 - and Doom.