Skip to content

First Boot

Outcome: you have watched DOSBox start, read its welcome screen, and checked the new machine's vital signs — its memory and its environment — with three commands whose output you can interpret.

Start it the plain way:

dosbox

A window opens on the DOS screen: blue at the top, black below. The blue box is the welcome banner (the lab's photograph of it is dosbox-lab/dos-boot.png):

Welcome to DOSBox v0.74-3

For a short introduction for new users type: INTRO
For supported shell commands type: HELP

To adjust the emulated CPU speed, use ctrl-F11 and ctrl-F12.
To activate the keymapper ctrl-F1.
For more information read the README file in the DOSBox directory.

HAVE FUN!
The DOSBox Team http://www.dosbox.com

Under the box, one command runs by itself —

Z:\>SET BLASTER=A220 I7 D1 H5 T6

— the default configuration telling DOS where the emulated Sound Blaster lives (chapter 10 unpacks those numbers), and then the prompt: Z:\>. You are inside. The machine has booted from its built-in drive Z:, and there is no other drive yet. That is normal; chapter 5 attaches yours.

Three checks, all from transcript t01. First, what DOS thinks it is:

Z:\>VER
DOSBox version 0.74-3. Reported DOS version 5.00.

Second, the memory — the number every DOS program of the era lived or died by:

Z:\>MEM

       632 Kb free conventional memory
        63 Kb free upper memory in 1 blocks (largest UMB 63 Kb)
     15168 Kb free extended memory
     15168 Kb free expanded memory

Read it as a floor plan. Of the 640 KB of conventional memory — the only memory early DOS programs can directly use — 632 KB is free, which is a healthy, nearly empty machine. Beyond it sit about 15 MB of extended memory, matching the default memsize=16 setting (chapter 7 doubles it and watches this number double).

Third, the environment — the small set of named values DOS carries around:

Z:\>SET
PATH=Z:\
COMSPEC=Z:\COMMAND.COM
BLASTER=A220 I7 D1 H5 T6

PATH says where the shell looks for programs (only Z: for now), COMSPEC names the command interpreter itself, and BLASTER is the line the banner's machine ran at boot.

A word about how the lab knows all this, because the technique is yours to keep: it never saw most of these screens. It ran DOSBox with -c flags — commands executed at startup as if typed — and redirected their output into files on a mounted drive: mem > C:\CAPTURE\MEM.TXT. A DOS program cannot tell its output went to a file instead of the screen, and the file can be read afterwards, exactly, forever. Every transcript in this guide was collected that way, and any check in these chapters can be repeated the same way on your machine.