Yes! My OS CAN run AND play DOOM!
▲ 110 r/itrunsdoom+2 crossposts

Yes! My OS CAN run AND play DOOM!

As a hobbyist, I was thinking: My OS, can it run DOOM?

YES, IT CAN!

Honestly? I was half expecting everything to blow up (in terms of page faults), but it runs shockingly smoothly.

And OH BOY I didn't cheat around anything cause:

DOOM runs completely isolated as a regular user program, just like any app would on Linux or Windows. It actually opens, reads, and parses the original DOOM.WAD right off the filesystem (on RAM actually, I haven't made it Installable/Persistant on a disk) with our own custom C library. It runs right inside its own desktop window with a little custom red demon icon on the title bar and taskbar, and you can maximise or resize it alongside other apps. The DOOM source code itself is 100% untouched. We just had to give it 5 simple bridge functions for drawing pixels, reading keyboard taps, and checking the clock.

Seeing that iconic title screen pop up inside an operating system built from scratch gave me a surge of dopamine. I will be releasing the next version of the OS that comes with this DOOM game and MANY other features, including some other ones that are just as cool on the project's GitHub page (Check it out and... maybe leave a star too? https://github.com/AkshajCreator/ArchaOS )

What other classic game or program should I try porting to it next?

u/xx_akushaji_xx — 9 days ago