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
Unfortunately, the release of builds for DOSBox have slowed to a crawl, and despite plenty of new features having been added to the source, there hasn't been a full build in over eight years. Thankfully, Yesterplay 80 has put together the Enhanced Community Edition which not only includes builds of the latest source, but also adds a lot more functionality and features. You can download their version here.
Contents
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