DOSBOX(1) | General Commands Manual | DOSBOX(1) |
dosbox - an x86/DOS emulator with sound/graphics
dosbox [-fullscreen] [-startmapper] [-noautoexec] [-securemode] [-userconf] [-scaler scaler] [-forcescaler scaler] [-conf configfile] [-lang langfile] [file] [-c command] [-exit] [-machine machinetype]
dosbox -version
dosbox -editconf program
dosbox -opencaptures program
dosbox -printconf
dosbox -eraseconf
dosbox -resetconf
dosbox -erasemapper
dosbox -resetmapper
This manual page briefly documents dosbox, an x86/DOS emulator.
The optional file argument should be a DOS executable or a directory. If it is a dos executable (.com .exe .bat) the program will run automatically. If it is a directory, a DOS session will run with the directory mounted as C:\.
For an introduction type INTRO inside dosbox.
A summary of options is included below.
dosbox supports most of the DOS commands found in command.com. In addition, the following extra commands are available:
MOUNT [-t type] [-size size] driveletter sourcedirectory [-ioctl] [-usecd number] [-label drivelabel] [-freesize freesize]
MOUNT -cd
MOUNT -u driveletter
Program to mount local directories as drives inside dosbox.
For win32: label is extracted from "Real Drive".
Example:
Display the amount of free memory
CONFIG -securemode
Write the current configuration or language settings to file, which is located on the local filesystem. Not a mounted drive in dosbox.
The configuration file controls various settings of dosbox: The amount of emulated memory, the emulated soundcards and many more things. It further allows access to AUTOEXEC.BAT.
The language file controls all visible output of the internal commands and the internal dos. See the section FILES for more information.
LOADFIX -f
Program to reduce the amount of memory available. Useful for old programs which don't expect much memory to be free.
Make dosbox reread the directory structure. Useful if you changed something on a mounted drive outside dosbox.(CTRL-F4 does this as well!)
A utility to mount disk images and CD‐ROM images in dosbox.
Boot will start floppy images or hard disk images independent of the operating system emulation offered by dosbox. This will allow you to play booter floppies or boot to other operating systems inside dosbox.
You need to enable IPX networking in the configuration file of dosbox. All of the IPX networking is managed through the internal dosbox program IPXNET. For help on the IPX networking from inside dosbox, type IPXNET HELP and the program will list out the commands and relevant documentation.
Keyb can change the keyboardlayout and the codepage used inside dosbox.
Configuration and language files use a format similar to Windows .ini files. If no configfile is specified at the commandline, a file named dosbox.conf (if present in the current directory) will be loaded automatically. If a configfile is specified at the commandline that one will be used instead. If no configfile is specified or found in the current directory then dosbox will load one from ~/.dosbox/. It will try to create one if there is none.
These are the default keybindings. They can be changed in the keymapper.
Saved/recorded files can be found in current_directory/capture (can be changed in the configfile). The directory has to exist prior to starting dosbox else nothing gets saved/recorded !
Note: Once you increase your dosbox cycles beyond your computer's maximum capacity, it will produce the same effect as slowing down the emulation. This maximum will vary from computer to computer, there is no standard.
Fast machine. My guess would be Pentium-2 400+ to get decent emulation of games written for an 286 machine. For protected mode games a 1 Ghz machine is recommended and don't expect them to run fast though!! Be sure to read the next section on how to speed it up somewhat.
dosbox emulates the CPU, the sound and graphic cards, and some other stuff, all at the same time. You can overclock dosbox by using CTRL-F12, but you'll be limited by the power of your actual CPU. You can see how much free time your true CPU has by various utils (top). Once 100% of your real CPU time is used there is no further way to speed up dosbox unless you reduce the load generated by the non-CPU parts of dosbox.
So:
Close every program but dosbox.
Overclock dosbox until 100% of your CPU is used.(CTRL-F12)
Since VGA emulation is the most demanding part of dosbox in terms of actual CPU usage, we'll start here. Increase the number of frames skipped (in increments of one) by pressing CTRL-F8. Your CPU usage should decrease. Go back one step and repeat this until the game runs fast enough for you. Please note that this is a trade off: you lose in fluidity of video what you gain in speed.
While we hope that, one day, dosbox will run virtually all programs ever made for the PC... we are not there yet. At present, dosbox run on a 1.7 Gigahertz PC is roughly the equivalent of a 25MHz 386 PC. While the 0.60 release has added support for "protected mode" allowing for more complex and recent programs, but note that this support is early in development and nowhere near as complete as the support for 386 real-mode games (or earlier). Also note that "protected mode" games need substantially more resources and may require a much faster processor for you to run it properly in dosbox.
Not all DOS programs work properly. dosbox will exit without warning if an error occurred.
The README in /usr/share/doc/dosbox
This manual page was written by Peter Veenstra <H.P.Veenstra@student.rug.nl> and James Oakley <jfunk@funktronics.ca>, for the Debian system (but may be used by others).
August 30, 2018 |