DOSBox
DOSBox is a free open source emulator written in C++ which focuses on IBM-based Personal Computers and peripherals from the 1980s and 90s.
Some of the hardware it emulates includes:
- Intel Processors: 80286, 80386, 80486, Pentium
- Video cards: Monochrome, Hercules, CGA, PCjr Display, TGA, EGA, VGA, and multiple SVGA cards
- Memory expanders: XMS, EMS, UMB
- Sound: PC speaker, Tandy 3-Voice, Tandy DAC, Speech Thing, Game Blaster, Ad-Lib, Sound Blaster, Sound Blaster Pro, Sound Blaster 16, UltraSound
- Drives: Floppy disks, CD-ROM, hard disks
- Communication: Modem, null modem, serial, IPX network
- Other: Various joysticks
Contents
Releases
Unfortunately, the release of builds for DOSBox have stopped. Despite plenty of new features having been added to the source, they haven't been packaged since 2018. Thankfully, other groups have stepped up to create additional versions:
- DOSBox Staging - Much easier to use and far more features.
- DOSBox-X - Focuses on accuracy and cross-platform support so it can run far more non-game software as well as NEC PC-9800 software.
- Enhanced Community Edition - Now defunct. Includes lots more functionality and features.
Tricks
Mounting a floppy image
To mount an floppy disk image in the IMG format to the A drive, do the following:
- Boot up DOSBox.
- Type, IMGMOUNT A file.img -t floppy
- In DOSBox, type "MOUNT A C:\DISK" and hit enter.
Mounting a ISO as a CD-ROM
To mount an ISO file as a CD-ROM, do the following:
- Boot up DOSBox.
- Type, IMGMOUNT D file.iso -t iso
- You can now access the ISO as a CD-ROM by typing d:
Installing from multiple floppies
DOSBox doesn't currently support mounting multiple disk images onto a single drive letter, so, to install a program that requires multiple floppies, do the following:
- Boot up DOSBox.
- Extract the contents of the first floppy into the folder you want. I'll use C:\Disk as an example.
- In DOSBox, type MOUNT A C:\DISK and hit enter.
- Then, type A: to get to the floppy.
- Run the installation program.
- When the installation program asks for the next disk, return to your desktop and delete the files in C:\DISK, then replace them with the files from the next disk.
- In DOSBox, press CTRL+F4 to reload the mounts.
- In the installation program, hit the button to read from the next disk. The program should identify the files as the correct disk.
- Repeat steps 6 through 9 until the installation completes.
Note, some installers have special checks to verify that they can only be installed from their actual disks (by checking the disk label, or more clever tactics). Using this method will not work when trying to install such a program. You'll have to find another method or wait until the DOSBox IMGMOUNT program supports multiple floppy images.
Using a USB MIDI Device
If you have a USB MIDI device that you want to use instead of the default, do the following:
- Boot us DOSBox.
- Type MIXER /LISTMIDI to see a numbered list of all possible MIDI devices. Find the number in the list for your device.
- Type MIDICONFIG #, where the # is the number of your USB device.
If you want your regular computer speakers to play the audio, do the following:
- Using a patch cable, connect your device's output to your PC's line in.
- In Windows, open Control Panel.
- Click on Sound.
- Click the Recording tab.
- Click Line In.
- Click Properties.
- Click the Listen tab.
- Check the box labeled, Listen to this device.
- Click OK.
You should now hear the USB device's output on your PC speakers.
Links
- dosboxece.yesterplay.net - DOSBox Enhanced Community Edition