Running Real Programs
Outcome: you have run genuine DOS programs — not the built-in shell's commands, but independent executables written for DOS — and watched them work on the lab's files, with output you can inspect.
A DOS program is a file ending in .EXE
or .COM. Running one is the same as
running a command: type its name, with
its path if it is not on PATH. DOSBox
loads it into the emulated memory, and
from that moment the program — not the
emulator — is in charge, using the
machine exactly as it would have in
1995.
The lab's programs are FreeDOS
utilities. FreeDOS is a complete DOS,
free and legal, maintained to this day;
its 1.4 release was fetched from the
project's mirror at ibiblio, and the
download's SHA-256 matched the
publisher's own verify.txt before
anything was unpacked. Five tools were
copied out of the boot floppy into
C:\FREEDOS (transcript t05 has the
sizes and the method). Three of them
went to work:
XCOPY copied a tree. DOSBox's shell
has COPY, one file at a time. FreeDOS
XCOPY with /E walked the lab's
C:\UTILS folder, subdirectory FORMS
and all, into a backup tree, narrating
as it went:
Copying C:\UTILS\FORMS\FORM1.TXT
Copying C:\UTILS\README.TXT
2 file(s) copied
FC compared two files. Given the
lab's NOTES.TXT and a copy with one
line appended, FreeDOS's file-compare
printed the classic diff view — context,
the differing line, the asterisks — and
found exactly the one added line (t05).
MEM gave a second opinion. FreeDOS
MEM draws the full table DOS users
remember — conventional, upper, reserved,
extended, totals — and its extended
figure, 15,168K free, agreed with
DOSBox's own MEM to the kilobyte. Its
last line even announced "MS-DOS is
resident in the high memory area":
there is no MS-DOS in the machine, but
the emulation presents a DOS so complete
that a real DOS program, inspecting its
world, reports what it was written to
report. That is the deepest compliment
an emulator can be paid, and the lab
prints it without correction in t05.
What stands for any program you bring: it must be a DOS program, its files go on a mounted drive, its name must fit 8.3 or be found by its mangled name, and if it writes output you care about, ask it to write to the mounted drive, where the host can see it. Programs that want the screen and keyboard — editors, and of course games — are run interactively in the window; the lab's screen-bound limit is stated plainly in chapter 14, and the FreeDOS editor, EDIT, is therefore described from its documentation here rather than driven blind. The command-line tools, though, needed no eyes at all, and neither will yours.