There were some brilliant games and applications released for DOS, and some of the games such as Command and Conquer are still very playable. There are a number of options to play these games today, from using a Virtual Machine such as QEMU, to DOSBox which is a dedicated DOS emulator. Both of these are included in most Linux distributions. I have chosen DOSBox as it is quick and very easy to use, you don't need to install a DOS compatible operating system on it, and it uses your native file system for storage.
Configuring DOSBox
If DOSBox isn't included with your Linux distribution then it can be obtained from the download section of their site. Below is a quick example of how to configure DOSBox once you have it installed. More information can be found by looking at the Installation Instructions on the emulator's site.
First create a directory to store you DOS files in:
$ mkdir ~/dos_c
Now run DOSBox from your home directory:
$ dosbox
You should see a screen similar to the following:
From within the DOSBox emulation window create a dosbox.conf
file in the current native directory:
Z:\> CONFIG -writeconf dosbox.conf
Leave DOSBox:
Z:> exit
To get DOSBox to automatically mount the ~/dos_c
directory as drive C:, add the following lines to dosbox.conf
:
mount c ~/dos_c
c:
Installing Software on DOSBox
Now comes the real beauty of DOSBox. All you have to do is put your games or applications in ~/dos_c
, start DOSBox, and they will be on the C: drive.
An Example Using Command and Conquer
As an example I have chosen to use Command and Conquer. This is available from the Abandonia website here. It is available free, and the site says that it is Freeware. Please be aware that some of the software on the site is termed Abandonware, which has disputed legality. If you want to be sure, just pick software marked as Freeware or Shareware.
To start, it would be useful to create a subdirectory in ~/dos_c/
called cnc
. In it, unzip the file, Command & Conquer.zip
, that you obtained from the Abandonia website. Now start DOSBox from your home directory:
$ dosbox
Within the emulation window change to the cnc directory:
C:\> cd\cnc
To run the English version (cnc_de
for German version, cnc_fr
for French version):
C:\CNC> cnc_en
The splash screen should come up, and then present you with a menu:
If you click on the emulation window with your mouse, then the emulation window will grab your mouse and you can use it to move the mouse in the DOS window. CTRL+F10
will release the mouse. ALT+ENTER
will toggle between full screen and normal screen mode.
If you haven't got any sound, try installing the alsa-oss
module to have the OSS sound system routed to your ALSA sound system.
Where Now?
Now you can load your old DOS software onto your new machine and remember the good old days. Alternatively you can download DOS software from a number of websites on the internet for free. It is worth checking the legality of some of the software before downloading, but there is still plenty of free legal software to download, as well as some to buy.