…Show last 180 lines
61# cputype: CPU Type used in emulation. auto is the fastest choice.
62# Possible values: auto, 386, 386_slow, 486_slow, pentium_slow, 386_prefetch.
63# cycles: Amount of instructions DOSBox tries to emulate each millisecond. Setting this value too high results in sound dropouts and lags. Cycles can be set in 3 ways:
64# 'auto' tries to guess what a game needs.
65# It usually works, but can fail for certain games.
66# 'fixed #number' will set a fixed amount of cycles. This is what you usually need if 'auto' fails.
67# (Example: fixed 4000)
68# 'max' will allocate as much cycles as your computer is able to handle
69#
70# Possible values: auto, fixed, max.
71# cycleup: Amount of cycles to increase/decrease with keycombo.
72# cycledown: Setting it lower than 100 will be a percentage.
73
74core=auto
75cputype=auto
76cycles=auto
77cycleup=500
78cycledown=20
79
80[mixer]
81# nosound: Enable silent mode, sound is still emulated though.
82# rate: Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality.
83# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
84# blocksize: Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.
85# Possible values: 2048, 4096, 8192, 1024, 512, 256.
86# prebuffer: How many milliseconds of data to keep on top of the blocksize.
87
88nosound=false
89rate=11025
90blocksize=2048
91#prebuffer=10
92prebuffer=50
93
94[midi]
95# mpu401: Type of MPU-401 to emulate.
96# Possible values: intelligent, uart, none.
97# mididevice: Device that will receive the MIDI data from MPU-401.
98# Possible values: default, win32, alsa, oss, coreaudio, coremidi, none.
99# midiconfig: Special configuration options for the device driver. This is usually the id of the device you want to use. See README for details.
100
101mpu401=intelligent
102mididevice=default
103midiconfig=
104
105[sblaster]
106# sbtype: Type of sblaster to emulate.
107# Possible values: sb1, sb2, sbpro1, sbpro2, sb16, none.
108# sbbase: The IO address of the soundblaster.
109# Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
110# irq: The IRQ number of the soundblaster.
111# Possible values: 7, 5, 3, 9, 10, 11, 12.
112# dma: The DMA number of the soundblaster.
113# Possible values: 1, 5, 0, 3, 6, 7.
114# hdma: The High DMA number of the soundblaster.
115# Possible values: 1, 5, 0, 3, 6, 7.
116# sbmixer: Allow the soundblaster mixer to modify the DOSBox mixer.
117# oplmode: Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.
118# Possible values: auto, cms, opl2, dualopl2, opl3, none.
119# oplemu: Provider for the OPL emulation. compat or old might provide better quality (see oplrate as well).
120# Possible values: default, compat, fast, old.
121# oplrate: Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly).
122# Possible values: 22050, 49716, 44100, 48000, 32000, 16000, 11025, 8000.
123
124sbtype=sb16
125sbbase=220
126irq=7
127dma=1
128hdma=5
129sbmixer=true
130oplmode=auto
131oplemu=default
132oplrate=11025
133
134[gus]
135# gus: Enable the Gravis Ultrasound emulation.
136# gusrate: Sample rate of Ultrasound emulation.
137# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
138# gusbase: The IO base address of the Gravis Ultrasound.
139# Possible values: 240, 220, 260, 280, 2a0, 2c0, 2e0, 300.
140# gusirq: The IRQ number of the Gravis Ultrasound.
141# Possible values: 5, 3, 7, 9, 10, 11, 12.
142# gusdma: The DMA channel of the Gravis Ultrasound.
143# Possible values: 3, 0, 1, 5, 6, 7.
144# ultradir: Path to Ultrasound directory. In this directory
145# there should be a MIDI directory that contains
146# the patch files for GUS playback. Patch sets used
147# with Timidity should work fine.
148
149gus=false
150gusrate=11025
151gusbase=240
152gusirq=5
153gusdma=3
154ultradir=C:\ULTRASND
155
156[speaker]
157# pcspeaker: Enable PC-Speaker emulation.
158# pcrate: Sample rate of the PC-Speaker sound generation.
159# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
160# tandy: Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'.
161# Possible values: auto, on, off.
162# tandyrate: Sample rate of the Tandy 3-Voice generation.
163# Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
164# disney: Enable Disney Sound Source emulation. (Covox Voice Master and Speech Thing compatible).
165
166pcspeaker=true
167pcrate=11025
168tandy=auto
169tandyrate=11025
170disney=false
171
172[joystick]
173# joysticktype: Type of joystick to emulate: auto (default), none,
174# 2axis (supports two joysticks),
175# 4axis (supports one joystick, first joystick used),
176# 4axis_2 (supports one joystick, second joystick used),
177# fcs (Thrustmaster), ch (CH Flightstick).
178# none disables joystick emulation.
179# auto chooses emulation depending on real joystick(s).
180# Possible values: auto, 2axis, 4axis, 4axis_2, fcs, ch, none.
181# timed: enable timed intervals for axis. (false is old style behaviour).
182# autofire: continuously fires as long as you keep the button pressed.
183# swap34: swap the 3rd and the 4th axis. can be useful for certain joysticks.
184# buttonwrap: enable button wrapping at the number of emulated buttons.
185
186joysticktype=auto
187timed=true
188autofire=false
189swap34=false
190buttonwrap=true
191
192[serial]
193# serial1: set type of device connected to com port.
194# Can be disabled, dummy, modem, nullmodem, directserial.
195# Additional parameters must be in the same line in the form of
196# parameter:value. Parameter for all types is irq.
197# for directserial: realport (required), rxdelay (optional).
198# (realport:COM1 realport:ttyS0).
199# for modem: listenport (optional).
200# for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
201# transparent, port, inhsocket (all optional).
202# Example: serial1=modem listenport:5000
203# Possible values: dummy, disabled, modem, nullmodem, directserial.
204# serial2: see serial1
205# Possible values: dummy, disabled, modem, nullmodem, directserial.
206# serial3: see serial1
207# Possible values: dummy, disabled, modem, nullmodem, directserial.
208# serial4: see serial1
209# Possible values: dummy, disabled, modem, nullmodem, directserial.
210
211serial1=dummy
212serial2=dummy
213serial3=disabled
214serial4=disabled
215
216[dos]
217# xms: Enable XMS support.
218# ems: Enable EMS support.
219# umb: Enable UMB support.
220# keyboardlayout: Language code of the keyboard layout (or none).
221
222xms=true
223ems=true
224umb=true
225keyboardlayout=auto
226
227[ipx]
228# ipx: Enable ipx over UDP/IP emulation.
229
230ipx=false
231
232[autoexec]
233# Lines in this section will be run at startup.
234@ECHO OFF
235MOUNT C: ~/DOS
236# SET BLASTER=A220 I7 D1 H5 T6
237# SET ULTRASND=240,3,3,5,5
238# SET ULTRADIR=C:\ULTRASND
239SET PATH=Z:\;C:\IMD;.
240C: