Live data from Hacker News

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

github.com

1–10 of 62 posts

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

#1
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

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

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

#3
post #2

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.

Whoa there. Gotta run Doom and BASIC to compete with DOS. That is the officially recognized DOS-Kármán line.

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

#5

DOS-like but not DOS-compatible, correct?

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?

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

#6
post #3
post #2

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.

Whoa there. Gotta run Doom and BASIC to compete with DOS. That is the officially recognized DOS-Kármán line.

What a challenge! Need to implement some interrupts it seems then, to provide an API for filesystem and so... Thank you for such idea

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

#7

DOS-like but not DOS-compatible, correct?

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?

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

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

#10
post #3
post #2

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.

Whoa there. Gotta run Doom and BASIC to compete with DOS. That is the officially recognized DOS-Kármán line.

DOOM required DOS 5.0. rou2exOS is only the second take. Watch this area ;)
Post reply on HN