GUIDES / HANDS ON THE KEYBOARD
DOSBox from scratch: get back to playing the DOS classics
Learn how to mount folders, set up sound and save your settings in DOSBox. A step-by-step guide to getting back to your classic PC games.
Read the story Share
In this article 7 apartados +
A black screen, a cursor and a folder full of adventures. Going back to an MS-DOS game can feel like a small ritual of archaeology, but all it takes is understanding where its files are and how to show them to the emulator. We are going to get a first game running, with sound and a configuration you can recover another day.
Set up a little corner for DOS
Download the program from the official DOSBox website and create a dedicated folder, for example C:\Retro\DOS. Inside it, place the game’s directory: C:\Retro\DOS\MYGAME. Use a working copy and keep the original files separately.
Check what you have received. A folder with the game installed usually contains an executable and its data; a CD image or a set of installation disks needs additional steps. Dragging an installer into a window doesn’t automatically turn its contents into a ready-to-play game.
The dedicated folder makes it easier to know what you are changing and to copy your save games. Avoid mounting your whole Windows drive: the emulator only needs access to the games area.
Folder map
One real folder. One drive inside DOSBox.
- In Windows
C:\Retro\DOS\MYGAME
This is where the files are. - The bridge
mount c "C:\Retro\DOS"
DOSBox sees that folder as C. - Inside DOSBox
C:\MYGAME
Enter the game’s folder and run its program.
Mount the folder and find the executable
Open DOSBox. The Z:\> prompt belongs to the emulator’s own environment. Type these lines, pressing Enter after each one:
DOSBox console
mount c "C:\Retro\DOS"
c:
cd MYGAME
dir
Now DOSBox’s C drive points to your DOS folder. cd enters the game’s directory and dir shows its contents. Check the manual or the instructions file to locate the startup program: it may end in .EXE, .COM or .BAT. It doesn’t have to be named the same as the commercial title.
If the right file were GAME.EXE, all you need to type is:
DOSBox console
GAME.EXE
If a message appears saying the command doesn’t exist, go back to dir and check the name and the folder. If the executable starts but asks for missing data, make sure you copied the complete installation. The DOSBox getting-started guide covers this walkthrough in more depth.
Give it a voice: configure sound inside the game
Many titles stored the sound card setup in a separate program, normally SETUP.EXE, INSTALL.EXE or similar. If the game is silent, look for that tool first.
Reference card
Sound Blaster: the numbers that must match
- Port
- 220
- IRQ
- 7
- DMA
- 1
- High DMA
- 5, if requested
Save the setting and use the installer’s audio test, if there is one. Music and effects may be configured separately. Picking a different MIDI card on a hunch can completely change what you hear; start with an option that both the game and your setup support. The values above are described in the official manual.
Adjust the speed without breaking the rhythm
An emulated PC that is too fast can turn a chase into a blink; one that is too slow can make the audio stutter. In classic DOSBox, Ctrl + F11 lowers the cycles and Ctrl + F12 raises them. Change them little by little and replay the same scene to compare.
Note down the value at which the game behaves well. Don’t always pick the maximum: every engine has its quirks. It is also worth checking the host system’s volume and closing any heavy task before blaming the game for any stutter.
At hand while you play
Four shortcuts to get back in control
- Alt + Enter
- Full screen / window
- Ctrl + F10
- Capture / release the mouse
- Ctrl + F11
- Lower the cycles
- Ctrl + F12
- Raise the cycles
Save a configuration for that game
Copy the DOSBox configuration to a file of its own, for example C:\Retro\MYGAME.conf. In its [autoexec] section, put the startup commands. Keep only one section with that name:
dosbox.conf
[autoexec]
mount c "C:\Retro\DOS"
c:
cd MYGAME
GAME.EXE
In the DOSBox shortcut, add a space and -conf "C:\Retro\MYGAME.conf" at the end of the Target field, leaving the executable’s path intact. That way the shortcut uses its own file. The -conf option is documented in the manual; don’t copy configurations made for other DOSBox variants without checking them.
If your edition came on CD
A CD edition may need the drive mounted even after it is installed. For a data ISO image, the pattern is imgmount d "C:\Retro\Discs\MYGAME.iso" -t iso. If you have a CUE/BIN set with audio tracks, keep its files together and mount the CUE; a data ISO does not contain those music tracks. Check the IMGMOUNT section of the manual before converting anything.
Install from the emulated D drive to the emulated C drive by following the game’s installer. Make sure both are mounted. An «insert the CD» message may be down to the drive letter, the label or the disc’s contents, not to a lack of power.
The test that completes the tutorial
- Start a game and check the music, effects and controls.
- Save from the game’s menu and exit normally.
- Open the same shortcut again and load that save.
- Copy the game’s folder and its configuration to your backup.
That last launch is the difference between having seen the intro and having an installation you will be able to enjoy. If you get stuck, share the title, the edition, the DOSBox version and the exact message on the CLABA forum (in Spanish). With that information the community has a useful starting point.
The best stories get shared.
Did it bring back a memory? The conversation continues on the forum (in Spanish).
