keepcalculator

06 Numbers and Powers

Vibe-Coded OS Runs Doom: What Actually Happened?

Card No. 06·37194 · Updated · Standard formula, shown below

Yes: hobbyist developers have built small operating systems from scratch with substantial help from AI coding tools, then run Doom on them. The key qualification is that “from scratch” usually means a new, minimal kernel and supporting software—not a complete modern operating system written unaided or a port of Doom that works without existing components.

What “vibe-coded an OS” means

Vibe coding is an informal term for building software by describing what you want in natural language, asking an AI coding assistant to generate or change code, and iterating on the result. In an operating-system project, that might mean asking for a boot screen, keyboard input, memory handling, or a program loader, then compiling the code and feeding errors or test results back into the process.

It does not mean the software appears without engineering work. Someone still has to choose the target hardware or emulator, configure a compiler and boot process, integrate files, test behavior, and investigate failures. AI can speed up routine code generation, but it can also produce code that looks plausible while containing bugs or misunderstanding the hardware.

Claims about an AI-assisted OS running Doom should therefore be read as a demonstration of a particular project and its scope. The result may be a small experimental system that boots in an emulator and runs a specially adapted game, rather than a general-purpose OS comparable to Windows, macOS, or Linux.

What it takes to boot an operating system

A computer cannot simply run a C program as an operating system. On startup, a processor begins at a defined reset state; firmware or a bootloader must locate the system and transfer control to it. A small hobby OS has to handle enough of this process to initialize hardware and provide a place for software to run.

Common pieces include:

  • Boot code: the first instructions that start the kernel or hand control to it.
  • Kernel: code that manages basic execution, memory, interrupts, and access to hardware.
  • Input and output: for example, a way to read a keyboard and draw text or pixels to a screen.
  • Program loading: a way to place a game or other executable in memory and start it.
  • Build and test setup: a compiler, linker, disk or image format, and often an emulator.

A first project may implement only a tiny subset of these functions. It may support one virtual machine, one display mode, and a few programs. That is still a real operating-system experiment, but it is not equivalent to supporting the many devices, applications, and security expectations of a desktop OS.

Why Doom is a useful test

Doom is a recognizable game, but it is also a practical demonstration target. Its source code has been widely studied and adapted, and versions can be configured for different platforms. That makes it a more approachable showcase than a modern game with a large graphics engine, complex drivers, and demanding hardware requirements.

Still, getting Doom to appear on screen is not a single test of “the OS.” The project needs a compatible version of the game, graphics output, input handling, timing, and enough memory and computing support. The game may be modified to fit the platform, or it may rely on a port or library written for that environment.

It is also important to distinguish running the game from merely displaying a video, booting a prebuilt game environment, or running Doom inside an existing operating system. A convincing demonstration shows the new system booting and then launching a game executable that it can actually support. The exact implementation matters more than the headline.

What “from scratch” does—and does not—claim

“From scratch” has no single technical definition in hobby OS projects. It often means the kernel and core system were newly written for the project. It does not necessarily mean every line of code, tool, boot component, font, graphics routine, or game was created by the same person.

A project can use a standard compiler, linker, emulator, bootloader, or open-source game code and still have a new kernel. Likewise, an AI-assisted system can be original work even though the developer used generated suggestions, existing documentation, and established tools. To evaluate a specific claim, look for a project repository, build instructions, a description of dependencies, and a recording or repeatable test showing the system booting and launching the game.

The phrase “an OS” also covers a wide range. A minimal kernel that boots and runs one application qualifies in the broad hobbyist sense. It is not automatically a complete operating system with user accounts, networking, storage management, device support, updates, and robust protection between programs.

How AI helps—and where it can fail

AI coding tools can generate boilerplate, explain compiler errors, suggest small drivers, and help translate documentation into code. These tasks are useful in low-level development, where setup and unfamiliar interfaces can slow a beginner down. An assistant can also help produce test scaffolding or explain why a build failed.

But operating-system code has consequences that are easy to miss in a short demo. A wrong memory address, incorrect interrupt setup, or flawed assumption about the boot environment can cause a crash or silent corruption. Generated code may use an API that does not exist in the project, omit required initialization, or appear to work in one emulator while failing on different hardware.

For that reason, the useful measure is not how little code a person typed. It is whether the code builds reproducibly, whether the developer understands its dependencies, and whether the result behaves as claimed. AI assistance can lower the barrier to experimentation; it does not remove the need to verify low-level software.

What the demonstration proves—and what it doesn’t

If a small OS boots and runs Doom, that is a meaningful milestone: the system has crossed the gap from starting a kernel to supporting a nontrivial application. It suggests that at least some combination of program loading, graphics, input, and timing works in the demonstrated environment.

It does not by itself prove the OS is secure, reliable, portable, or suitable for daily use. Nor does it show that AI independently designed the entire system. A short demo can establish that one configuration works once; broader claims require repeatable builds, tests, documentation, and support for more than one carefully chosen scenario.

For readers curious about the project, the most useful questions are concrete: What hardware or emulator does it target? What code is original? Which components are borrowed? Is Doom running as a program under the new kernel? Can another person build and reproduce the result? Those details turn a catchy claim into an understandable technical achievement.

Frequently Asked Questions

Can someone really make an operating system with AI?
Yes, AI tools can help a developer write and debug parts of a small OS. The developer still has to make design choices, build and test the system, and verify that generated code works.

Does running Doom mean it is a full operating system?
No. It shows that the system supports enough features to run that game in a particular setup. It does not establish that it has the breadth, reliability, or security features expected of a general-purpose OS.

Is Doom built into the operating system?
Not necessarily. It may be a separate executable launched by the OS, or a port adapted to the project. The demonstration’s documentation should explain which arrangement it uses.

Does “from scratch” mean no existing code was used?
Usually not. It commonly refers to writing a new kernel or core system, while using standard development tools and possibly existing boot, library, or game code.

Can I use an experimental OS as my main computer system?
A small Doom-running OS is generally a learning or demonstration project, not a supported desktop replacement. Check its stated hardware support, features, and limitations before trying it, and do not assume it can protect important data.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →