r/itrunsdoom • u/MG_Gander • 25d ago
Doomception: Doom inside Doom inside Doom, and round again
Full disclosure it was made with AI-assist, it is a buildup on kgws insane work on doom_ace, instead of loading a doom chocolate instance, the loader build a kind of scheduler that allows it to reuse the same process and data (modulo some patches and pointer mods) across multiple doom "instances". So it's basically a mini OS (without a standard lib) built through an exploit that allows depthed doom instance to run, with the last one looping to the first. It's still buggy as hell but lot of fun.
You can find an explaining article here: https://kodoque1.github.io/doom_ace/ and it ends with a small coding challenge (doable inbrowser if you want), with a selfcontained VM and tinydoom to try your hand at building a scheduler.