DOSBox FAQ

From DOSBoxWiki
Jump to: navigation, search

DOSBOX comes with a README.TXT that answers many Frequently Asked Questions. You can read an online version here. If you still cannot find the answer, check this page.

Contents

Performance

Slow games/applications

Q. My game/application runs slowly, how do I improve speed?

A. Increase cycles. Use core=dynamic. Try different output modes (e.g. output=overlay). Increase Frameskip. Disable unneeded components in the dosbox.conf such as Sound, mouse or joystick emulation. A nice speedup can be achieved by using a different compiler than GCC. If all else fails, find a faster computer to run DOSBox on. Also be sure to check the compatibility section of this FAQ as some game/applications are more trouble (or resource hogs) than others.

Problems in sound/music

Q. The Sound/Music for my DOS game/application sounds terrible what can I do?

A. This is a complicated issue covered in the Sound section of the wiki. It's important to remember to install or setup game/applications correctly to use the correct sound devices (INSTALL.EXE, SOUNDSET.EXE and SETUP.EXE are popular program names to look for). The capabilities of the hardware as well as the preferences of the programmer vary: Therefore what may sound "best" on one particular game may not be the "best" for another. Sometimes changes need to be made to the dosbox.conf file (or a new conf file) to get the best results. Also, game sound/music may have an impact on the speed at which the game/application runs and running DOSBox with limited resources may result in incomplete or 'choppy' sound being heard. (see previous question)

Increasing memory size

Q. How do I change the memory size so that I can run programs that require more than the default settings (eg. Windows 1.01 or some other demanding OS)?

A. See the memsize option detailed in Configuration:DOSBox.

Usage

Problems with colors and fullscreen drawing in Mac OS X

Q. Using Mac OS X 10.5.3 without a problem (MOO) and when upgraded to 10.5.4 MOO started flashing rainbow colors instead of the normal background in full screen mode (works fine in windowed mode.) I have a warning about the quickdraw capability being deprecated in my console window. Any suggestions?


A. Go to your users home directory e.g. /Users/asc/Library/Preferences and open "DOSBox 0.73 Preferences". In the [sdl] section edit the parameter "output" so that it says: "output=opengl". Afterwards restart DOS Box. Colors and drawing issues should now be gone.

No backslash key

Q. My backslash key is mapped to ']' with DOSBox on Windows. Is there a workaround?

A. This is usually a keyboard driver problem. You can either fix your driver or use the keymapper as a workaround. Here is a thread on VOGONS, detailing the problem:http://vogons.zetafleet.com/viewtopic.php?t=18465

- Driver fix on Windows XP

Right click My Computer, select Properties. On the Hardware tab, select Device Manager. Find your keyboard, right click, Update driver. Select No, not this time, then Install from a list or specific location (Advanced). Select Don't search. You arrive to a screen where compatible drivers are listed. Changing from Microsoft Natural PS/2 driver to PC/AT Enhanced PS/2 driver reportedly solved this issue. You can experiment with any other compatible device you find on the list. If you are using an USB keyboard try the keyboard manufacturer's drivers.

- Driver fix on Windows Vista

Click on the Windows button, right click on Computer, select Properties. Next, select Device Manager in the top left corner, and Continue on the User Account Control screen. Find your keyboard under Keyboards. Right click on the keyboard entry, select Update Driver Software.... Then select Browse my computer..., and Let me pick.... Here you can change your current driver to another compatible one, or use the disk provided by your manufacturer.

- Workaround using DosBox Keymapper

Press CTRL-F1 to enter the keymapper and select the backslash with your mouse. Press the DELETE button that will show up on your screen. Then press ADD to bind backslash to another key. Simply press an unused key to bind it to this. Press SAVE and then EXIT to return to the main screen.


Trapped mouse cursor

Q. My cursor is trapped within the DOSBox window when I click inside. How do I get the cursor out?

A. DOSBox will capture your mouse when you click inside the display window (and you have autolock=true set in the Dosbox.conf). Simply press CTRL-F10 to release the mouse.


Gnome scripting

Q. I have set Gnome to load DOSBox when I click on .COM files. How do I script it to exit DOSBox when I quit from the game?


A. With -exit as commandline parameter for DOSBox.

Hard drive/CDROM access

Q. How do I access my hard drive/cdrom in DOSBox?

A. See the information on the MOUNT command, or type intro mount or intro cdrom in DOSBox for the basics.


Accessing ISO images

Q. I have an ISO image I made of files for backup purposes. How do I access it in DOSBox?

A. See the information on the IMGMOUNT command

Swapping CD images

Q. How do I unmount or change images? I need to swap CD images in the drive.

A. You may assign more than one image file to IMGMOUNT, to swap images use CTRL-F4. You can also unmount images by using the -u switch. See IMGMOUNT for more information.

CD Audio tracks

Q. I have created an image from a CD that includes CD audio tracks, when I access it in DOSBox only the first (data) track is available.

A. Be sure to use the bin/cue format for mixed mode CDs (CDs with a data and audio tracks) and always pass the cue file to IMGMOUNT.

Gibberish

Q. When I write : it turns out > or when i write å ä ö or any other non standard us character. How can I fix this for my keyboard?

A. Use the KEYB command to change your Keyboard layout.

No ":" symbol

Q. I can't find the ":" symbol anywhere in my dosbox. I am using Vista on a laptop. Please advice me how to fix the problem.

A. Use the left shift instead of the right shift. A number of keys are affected by this problem. For a workaround for other keys like "\", see the second answer.

Scrolling up/down

Q. How do you/I scroll up to see text that is not visible in the DOSBox window? Certain apps will print a long string of text, and you can't see it all.

A. Unlike the DOS window in Windows 2000, XP and Vista, DOSBox exactly emulates a full screen DOS session. Hence it doesn't support scrolling up and down. However, MS-DOS included a program to allow you to 'press any key' to scroll down called MORE.COM. This is how to do it on Windows:

  1. Try and find a copy of MORE.COM from MS-DOS 5.0 (good luck) or MORE.EXE from FreeDOS (easy)
  2. Put it in C:\C
  3. Edit C:\Program Files\Dosbox\dosbox.conf in Notepad
  4. Go to the bottom of the file, where it reads [autoexec]. Add to it or change it to read:
    [autoexec]
    MOUNT C C:\C
    PATH=%PATH%;C:\


  5. Save it, close DOSBox and then re-open DOSbox.
  6. Now, say you wanted to use this command:
    C:\> type readme.txt

    Instead type this:
    C:\> type readme.txt | more

Linux/Unix users looking to capitalize on muscle memory may prefer less compiled for DOS. (Note: Old version. The author has stopped providing new precompiled binaries for DOS)

Misc

The main site's image

Q. What is the picture in the dosbox www site in the title bar?

A. Dune 2.

What is DOS?

DOS (see Wikipedia:DOS) is short for "Disk Operating System". It mainly refers to the series of operating systems that dominated the IBM PC compatible market from the 1980s and into the 1990s. But it may also refer to the DOS-based Microsoft Windows 9X/ME series of the late 1990s. The relevant systems were usually called "X DOS", "X-DOS" or "XDOS" with the X being the brand name. Despite common usage, none of them were actually called just DOS. Microsoft's system, MS-DOS, is probably the most known.

What is Abandonware?

Abandonware (see Wikipedia:Abandonware) is the term people usually use to describe computer softwares and games which are neither sold nor supported anymore. As it is not an official term, it's important to remember that just because something is considered as abandonware doesn't mean it actually is, especially as the estimation is usually based strictly on age. Moreover, even if it is, it has no legal meaning. In other words, it still has just as much copyrights as if it was actively developed. In fact, the Entertainment Software Association (ESA - fomerly IDSA) actively pursuits those that distribute what they consider abandonware.