Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1814 yogev_ezra 1
DOSBox v0.74 Manual (always use the latest version from www.dosbox.com)
2
 
3
 
4
 
5
=====
6
NOTE:
7
=====
8
 
9
While we are hoping that one day DOSBox will run all programs ever made for
10
the PC, we are not there yet.
11
At present, DOSBox running on a high-end machine will roughly be the equivalent
12
of a Pentium I PC. DOSBox can be configured to run a wide range of DOS games,
13
from CGA/Tandy/PCjr classics up to games from the Quake era.
14
 
15
 
16
 
17
======
18
INDEX:
19
======
20
 
21
1. Quickstart
22
2. Start (FAQ)
23
3. Command Line Parameters
24
4. Internal Programs
25
5. Special Keys
26
6. Joystick/Gamepad
27
7. KeyMapper
28
8. Keyboard Layout
29
9. Serial Multiplayer feature
30
10. How to speed up/slow down DOSBox
31
11. Troubleshooting
32
12. DOSBox Status Window
33
13. The configuration (options) file
34
14. The language file
35
15. Building your own version of DOSBox
36
16. Special thanks
37
17. Contact
38
 
39
 
40
 
41
==============
42
1. Quickstart:
43
==============
44
 
45
Type INTRO in DOSBox for a quick tour.
46
It is essential that you get familiar with the idea of mounting, DOSBox does not
47
automatically make any drive (or a part of it) accessible to the emulation. See
48
the FAQ entry "How to start?" as well as the description of the MOUNT command
49
(section 4: "Internal Programs"). If you have your game on a cdrom you may try
50
this guide: http://vogons.zetafleet.com/viewtopic.php?t=8933
51
 
52
 
53
 
54
===============
55
2. Start (FAQ):
56
===============
57
 
58
START:      How to start?
59
AUTOMATION: Do I always have to type these "mount" commands?
60
FULLSCREEN: How do I change to fullscreen?
61
CD-ROM:     My CD-ROM doesn't work.
62
CD-ROM:     The game/application can't find its CD-ROM.
63
MOUSE:      The mouse doesn't work.
64
SOUND:      There is no sound.
65
SOUND:      What sound hardware does DOSBox presently emulate?
66
SOUND:      The sound stutters or sounds stretched/weird.
67
KEYBOARD:   I can't type \ or : in DOSBox.
68
KEYBOARD:   Right Shift and "\" doesn't work in DOSBox. (Windows only)
69
KEYBOARD:   The keyboard lags.
70
CONTROL:    The character/cursor/mouse pointer always moves into one direction!
71
SPEED:      The game/application runs much too slow/too fast!
72
CRASH:      The game/application does not run at all/crashes!
73
CRASH:      DOSBox crashes on startup!
74
GAME:       My Build game(Duke3D/Blood/Shadow Warrior) has problems.
75
SAFETY:     Can DOSBox harm my computer?
76
OPTIONS:    I would like to change DOSBox's options.
77
HELP:       Great Manual, but I still don't get it.
78
 
79
 
80
 
81
START: How to start?
82
    At the beginning you've got a Z:\> instead of a C:\> at the prompt.
83
    You have to make your directories available as drives in DOSBox by using
84
    the "mount" command. For example, in Windows "mount C D:\GAMES" will give
85
    you a C drive in DOSBox which points to your Windows D:\GAMES directory
86
    (that was created before). In Linux, "mount c /home/username" will give you
87
    a C drive in DOSBox which points to /home/username in Linux.
88
    To change to the drive mounted like above, type "C:". If everything went
89
    fine, DOSBox will display the prompt "C:\>".
90
 
91
 
92
AUTOMATION: Do I always have to type these commands?
93
    In the DOSBox configuration file is an [autoexec] section. The commands
94
    present there are run when DOSBox starts, so you can use this section
95
    for the mounting. Look at Section 13: The configuration (options) file
96
 
97
 
98
FULLSCREEN: How do I change to fullscreen?
99
    Press alt-enter. Alternatively: Edit the configuration file of DOSBox and
100
    change the option fullscreen=false to fullscreen=true. If fullscreen looks
101
    wrong in your opinion: Play with the options: fullresolution, output and
102
    aspect in the configuration file of DOSBox. To get back from fullscreen
103
    mode: Press alt-enter again.
104
 
105
 
106
CD-ROM: My CD-ROM doesn't work.
107
    To mount your CD-ROM in DOSBox you have to specify some additional options
108
    when mounting the CD-ROM.
109
    To enable CD-ROM support (includes MSCDEX) in Windows:
110
      - mount d f:\ -t cdrom
111
    in Linux:
112
      - mount d /media/cdrom -t cdrom
113
 
114
    In some cases you might want to use a different CD-ROM interface,
115
    for example if CD audio does not work:
116
      To enable SDL-support (does not include low-level CD access!):
117
        - mount d f:\ -t cdrom -usecd 0 -noioctl
118
      To enable ioctl access using digital audio extraction for CD audio
119
      (windows-only, useful for Vista):
120
        - mount d f:\ -t cdrom -ioctl_dx
121
      To enable ioctl access using MCI for CD audio (windows-only):
122
        - mount d f:\ -t cdrom -ioctl_mci
123
      To force ioctl-only access (windows-only):
124
        - mount d f:\ -t cdrom -ioctl_dio
125
      To enable low-level aspi-support (win98 with aspi-layer installed):
126
        - mount d f:\ -t cdrom -aspi
127
 
128
    explanation: - d   driveletter you will get in DOSBox (d is the best,
129
                          don't change it!)
130
                 - f:\ location of CD-ROM on your PC. In most cases it will
131
                          be d:\ or e:\
132
                 - 0   The number of the CD-ROM drive, reported by "mount -cd"
133
                          (note that this value is only needed when using SDL
134
                          for CD audio, otherwise it is ignored)
135
    See also the next question: The game/application can't find its CD-ROM.
136
 
137
 
138
CD-ROM: The game/application can't find its CD-ROM.
139
    Be sure to mount the CD-ROM with -t cdrom switch, this will enable the
140
    MSCDEX interface required by DOS games to interface with CD-ROMs.
141
    Also try adding the correct label (-label LABEL) to the mount command,
142
    where LABEL is the CD-label (volume ID) of the CD-ROM.
143
    Under Windows you can specify -ioctl, -aspi or -noioctl. Look at the
144
    description of the mount command in Section 4: "Internal programs"
145
    for their meaning and the
146
    additional audio-CD related options -ioctl_dx, ioctl_mci, ioctl_dio.
147
 
148
    Try creating a CD-ROM image (preferably CUE/BIN pair) and use the
149
    DOSBox's internal IMGMOUNT tool to mount the image (the CUE sheet).
150
    This enables very good low-level CD-ROM support on any operating system.
151
 
152
 
153
MOUSE: The mouse doesn't work.
154
    Usually, DOSBox detects when a game uses mouse control. When you click on
155
    the screen it should get locked (confined to the DOSBox window) and work.
156
    With certain games, the DOSBox mouse detection doesn't work. In that case
157
    you will have to lock the mouse manually by pressing CTRL-F10.
158
 
159
 
160
SOUND: There is no sound.
161
    Be sure that the sound is correctly configured in the game. This might be
162
    done during the installation or with a setup/setsound utility that
163
    accompanies the game. First see if an autodetection option is provided. If
164
    there is none try selecting Soundblaster or Soundblaster 16 with the default
165
    settings being "address=220 irq=7 dma=1" (sometimes highdma=5). You might
166
    also want to select Sound Canvas/SCC/MPU-401/General MIDI/Wave Blaster
167
    at "address=330 IRQ=2" as music device.
168
    The parameters of the emulated sound cards can be changed in the DOSBox
169
    configuration file.
170
    If you still don't get any sound set the core to normal in DOSBox
171
    configuration and use some lower fixed cycles value (like cycles=2000). Also
172
    assure that your host operating sound does provide sound.
173
    In certain cases it might be useful to use a different emulated sound device
174
    like a soundblaster pro (sbtype=sbpro1 in the DOSBox configuration file) or
175
    the gravis ultrasound (gus=true).
176
 
177
 
178
SOUND: What sound hardware does DOSBox presently emulate?
179
    DOSBox emulates several legacy sound devices:
180
    - Internal PC speaker/Buzzer
181
      This emulation includes both the tone generator and several forms of
182
      digital sound output through the internal speaker.
183
    - Creative CMS/Gameblaster
184
      The is the first card released by Creative Labs(R).  The default
185
      configuration places it on address 220. It is disabled as default.
186
    - Tandy 3 voice
187
      The emulation of this sound hardware is complete with the exception of
188
      the noise channel. The noise channel is not very well documented and as
189
      such is only a best guess as to the sound's accuracy. It is disabled as
190
      default.
191
    - Tandy DAC
192
      Some games may require turning off sound blaster emulation (sbtype=none)
193
      for better tandy DAC sound support. Don't forget to set the sbtype back to
194
      sb16 if you don't use tandy sound.
195
    - Adlib
196
      This emulation is almost perfect and includes the Adlib's ability to
197
      almost play digitized sound. Placed at address 220 (also on 388).
198
    - SoundBlaster 16 / SoundBlaster Pro I & II / SoundBlaster I & II
199
      By default DOSBox provides Soundblaster 16 level 16-bit stereo sound.
200
      You can select a different SoundBlaster version in the configuration of
201
      DOSBox. AWE32 music is not emulated as you can use MPU-401 instead
202
      (see below).
203
    - Disney Sound Source and Covox Speech Thing
204
      Using the printer port, this sound device outputs digital sound only.
205
      Placed at LPT1
206
    - Gravis Ultrasound
207
      The emulation of this hardware is nearly complete, though the MIDI
208
      capabilities have been left out, since an MPU-401 has been emulated
209
      in other code. For Gravis music you also have to install Gravis drivers
210
      inside DOSBox. It is disabled as default.
211
    - MPU-401
212
      A MIDI passthrough interface is also emulated. This method of sound
213
      output will only work when used with external device/emulator.
214
      Every Windows XP/Vista/7 and MAC OS has got a default emulator compatible
215
      with: Sound Canvas/SCC/General Standard/General MIDI/Wave Blaster.
216
      A different device/emulator is needed for Roland LAPC/CM-32L/MT-32
217
      compatibility.
218
 
219
 
220
SOUND: The sound stutters or sounds stretched/weird.
221
    You may be using too much CPU power to keep DOSBox running at the current
222
    speed. You can lower the cycles, skip frames, reduce the sampling rate of
223
    the respective sound device, increase the prebuffer. See section 13: "The
224
    configuration (options) file"
225
    If you are using cycles=max or =auto, then make sure that there is no
226
    background processes interfering! (especially if they access the harddisk)
227
    Also look at Section 10. "How to speed up/slow down DOSBox"
228
 
229
 
230
KEYBOARD: I can't type \ or : in DOSBox.
231
    This can happen in various cases, like your host keyboard layout does not
232
    have a matching DOS layout representation (or it was not correctly
233
    detected), or the key mapping is wrong.
234
    Some possible fixes:
235
      1. Use / instead, or ALT-58 for : and ALT-92 for \.
236
      2. Change the DOS keyboard layout (see Section 8: Keyboard Layout).
237
      3. Add the commands you want to execute to the [autoexec] section
238
         of the DOSBox configuration file.
239
      4. Open the DOSBox configuration file and change the usescancodes entry.
240
      5. Switch the keyboard layout of your operating system.
241
 
242
    Note that if the host layout can not be identified, or keyboardlayout is
243
    set to none in the DOSBox configuration file, the standard US layout is
244
    used. In this configuration try the keys around "enter" for the key \
245
    (backslash), and for the key : (colon) use shift and the keys between
246
    "enter" and "L".
247
 
248
 
249
KEYBOARD: Right Shift and "\" doesn't work in DOSBox. (Windows only)
250
    This may happen if Windows thinks that you have more than one keyboard
251
    connected to your PC when you use some remote control devices.
252
    To verity this problem run cmd.exe, naviga