Show HN: A DOS-like hobby OS written in Rust and x86 assembly

79 krustowski 7 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.

https://blog.vxn.dev/rou2exos-rusted-edition

Comments (7)

rollcat · 3h ago
Memory-safe language. x86_64, with Arm on the roadmap. Networking stack. Boots from a CD and via multiboot. Your hobby project wipes the floor with DOS.
pvg · 3h ago
Whoa there. Gotta run Doom and BASIC to compete with DOS. That is the officially recognized DOS-Kármán line.
krustowski · 2h ago
What a challenge! Need to implement some interrupts it seems then, to provide an API for filesystem and so... Thank you for such idea
DrNosferatu · 3h ago
DOS-like but not DOS-compatible, correct?
DrNosferatu · 1m ago
...meaning MS-DOS compatible :)

I.e.: runs Alley Cat and Dune 2 - and Doom.

krustowski · 2h ago
You are right. The first iteration however is 16bit and is very close to MS-DOS in terms of compatibility. Moreover, any OS that can handle simple disk I/O ops could be considered a DOS system too, innit?
leeter · 1h ago
Correct, there is a difference between MS-DOS and IBM-PC compatible and a DOS (ex: all the DOSes that existed for Amiga/Apple II/Commodore etc). There are many DOSes (and even MSDOSes, because yay early PC era incompatibilities!), but there is a very dubious list of things needed to be MS-DOS and IBM-PC compatible. You can probably do it if you're willing to setup a hypervisor and emulate some hardware.

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