Skip to content

Sound and Graphics Settings

Outcome: you know which emulated devices DOSBox is presenting, where their settings live, and how a program inside finds them — and you know exactly which parts of this the lab could measure and which it could only read.

Graphics. The default machine is machine=svga_s3: an S3 Trio SVGA card, the well-supported late-DOS standard, able to show the VGA modes games expect and high-resolution text. The config file offers the whole museum — hercules, cga, tandy, ega, vgaonly and more — each a different emulated card for software that insists on one. The lab's screen ran at the classic 640×400 text mode for its screenshots; the window on your desk can be scaled by the [render] section's scaler settings, which stretch the image, not the machine. Which is the honest summary of DOSBox graphics: the emulated card is exact and provable from inside (CONFIG -GET reads it back); how the picture is enlarged on a modern monitor is presentation, and the lab — which captured its 640×400 frames from an invisible screen — can show the frames (see dosbox-lab/dos-boot.png) but not judge how they would look at arm's length.

Sound. The default configuration emulates a Sound Blaster 16 ([sblaster] sbtype=sb16), and tells the guest so through the environment line from chapter 4:

BLASTER=A220 I7 D1 H5 T6

That string is the card's address in the language DOS sound setup programs speak: port 220, interrupt 7, DMA channel 1, high DMA 5, type 6. A game asking "where is your Sound Blaster?" is answered by reading it — no probing, no guessing — which is why so many period setup screens accept DOSBox's defaults without a fight. Around the Blaster sit the rest of the period orchestra, each with its own config section: a Gravis Ultrasound ([gus]), the PC speaker ([speaker]), a joystick port, and MIDI output passed through to your real machine. Volume and balance are the job of the Z: tool MIXER, and sample rates live in [mixer] (rate=44100 by default).

The ledger, plainly: the lab machine had no sound hardware at all — its host logs show the ALSA library complaining there is no card, and DOSBox carrying on regardless (t07). Nothing in this guide was heard. The settings above are verified as configuration — present in the file, reported by the guest, set by the default [autoexec] — and the playing of music through them is documented from the project's own documentation, not from the lab's ears, because the lab has none. On a machine with speakers the same defaults are the ones period software expects, and the check a reader can run is the one in this chapter: SET inside DOSBox, and the BLASTER line should match your [sblaster] section.