Skip to content

What DOSBox Is

You have a program from the DOS years — a game from 1993, a bookkeeping tool, a piece of teaching software — and a modern computer that cannot run it. The program expects a PC with a megabyte of memory, a Sound Blaster card, and an operating system, DOS, that Microsoft stopped selling decades ago. Your machine has none of those things.

DOSBox is that old PC, rebuilt as a program. It is an emulator: software that imitates a whole computer — its processor, its memory, its graphics and sound hardware — closely enough that software written for the original cannot tell the difference. Inside the window it opens sits a working DOS command line. Programs you run there believe they are on a machine from about 1990. In a sense they are right: the machine exists, it is just made of arithmetic instead of silicon.

Two things DOSBox is not. It is not a virtual machine of the usual kind, which lets a real processor run a guest system at near-native speed — DOSBox translates every instruction, because the software it serves was often written against the quirks of particular hardware and timing, and translation is how those quirks survive. And it is not DOS itself: the DOS inside is DOSBox's own small implementation, built into the emulator, owing nothing to Microsoft. Chapter 9 puts genuine FreeDOS programs on top of it, and they run happily — which is the point of an emulator: the boundary is invisible from inside.

The legal line, stated early as this series always states it: DOSBox itself is free software, released under the GNU GPL, and everything in this guide's lab is either DOSBox, software the lab wrote itself, or FreeDOS — a complete DOS that is free to download and use. No commercial games appear, and nothing was downloaded from an "abandonware" site: that word is a courtesy title, not a legal one, and a game's copyright does not expire because a shop closed. Where games enter the story — releases on GOG that ship with DOSBox inside, or discs from your own shelf — chapter 13 treats them as what they are: legitimate ways people use this tool, described, never distributed.

The lab that wrote this guide ran the real thing: DOSBox 0.74-3, the Ubuntu package, on a machine with no screen it could look at and no sound card at all. So the lab drove DOSBox the way a careful user should anyway — by asking the emulated machine to write its answers into files, and reading the files. Every claim in this guide that matters is backed by one of those files, kept in dosbox-lab/transcripts/. What could not be done that way — listening to the sound, watching a game — is labelled documented-only, in the open, in criteria.md.