From LinuxReviews
Jump to navigationJump to search
A Future Crew scene demo running in DOSBox 0.74.3.
A Future Crew scene demo running in DOSBox 0.74.3.
Developer(s)Peter "Qbix" Veenstra, Sjoerd "Harekiet" van der Berg, Tommy "fanskapet" Frössman, Ulf "Finster" Wohlers
Initial releaseJuly 22, 2002; 18 years ago (2002-07-22)
Written inC++
Operating systemThere's ports for basically all of them.
(Linux, macOS, Windows, Android, ChromeOS, BeOS, OS/2, Haiku, *BSD, Solaris, etc)
TypeFull PC emulator and MS-Dos compatible OS
LicenseGNU General Public License

DOSBox is both a x86 and DOS emulator which lets you run old MS-DOS software on modern computers and phones running just about any operating system, DOSBox supports more operating systems and platform than most software. DOSBox emulates old PC hardware, it does not run any code natively, which is why it can run MS-DOS programs on just about any hardware/OS combination. DOSBox is mostly known for enabling you to play older games, but it is also very capable to run spreadsheet programs and all kinds of other programs. It will run the vast majority of all MS-DOS software perfectly.


DOSBox is available for as good as all the Linux distributions. It can be installed with the usual method such as dnf -y install dosbox or emerge dosbox or by clicking apt://dosbox on Ubuntu.


DOSBox stores it's configuration file in $HOME/.dosbox NOT $HOME/.config/dosbox as modern standards for configuration files dictate (placing configuration files in a dot folder in the home directory was how things were done in 2002 when DOSBox was initially released).

You can run DOSBox once to get a default configuration file created in that folder. You will want to edit the default configuration and likely want to change windowresolution and output under [sdl] to something like


and you will also want to change the scaler= under [render] depending on your hardware. If it's decent you want


Do keep in mind that MS-DOS games and other software was made for resolutions such as 320x200 and 640*480 when you set windowresolution=. Multiples of those that work well are

resolution zoom (assuming 640x480)
960x720 1.5x
1280x960 3x
1600x1200 2.5x
1920x1440. 3x

For audio you may want to change both rate= under [mixer] and oplrate= under [sblaster] to 48000. Check what your audio card is using with pactl list sinks to check if this is something you want to do. Leave it at 441000 (default) if that is what your sound card is using. Don't change one or the other, set both to 48000 is that is what your real sound hardware is using (which is probably is).

Kemonomimi rabbit.svg
Note: DOSBox does this very annoying thing where it insists that each minor new version should have it's own configuration file. You will need to copy your old configuration file to a new one in $HOME/.dosbox due to the DOSBox developers being complete and utter morons in this regard. DOSBox version 0.74-2 will create and use dosbox-0.74-2.conf while 0.74-3, basically the same version, will use dosbox-0.74-2.conf. Just create a dosbox-ok.conf file and copy that to whatever the latest version is when your distribution upgrades DOSBox.

Running DOSBox

A clip from Future Crew's "Second Reality"[1] demo running in DOSBox

Either start it from a terminal or alt+f2 in XFCE4/KDE with dosbox /file/path where the argument is a path to a folder you'd like to have as your C: drive. DOSBox will also give you a Z: drive with COMMAND.COM and friends. Example:


simply use . as argument to start it in the folder you're in,

dosbox .

Once in you can type help or help /allfor a list of DOS commands in case you forgot about DIR, CD and COPY.

SoundBlaster vs Gravis UltraSound

DOSBox can emulate the somewhat popular Gravis UltraSound card but you need some additional files to use that feature. While you can set that up[2] it's a bit of a hassle. The simpler solution is to use SoundBlaster for audio.

Fullscreen mode

In order to switch to fullscreen mode press ALT+ENTER. You fill find more keyboard shortcuts and information in the dosbox manual page.




Add your comment
LinuxReviews welcomes all comments. If you do not want to be anonymous, register or log in. It is free.