dosbox.conf 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. [sdl]
  2. # fullscreen: Start dosbox directly in fullscreen. (Press ALT-Enter to go back)
  3. # fulldouble: Use double buffering in fullscreen. It can reduce screen flickering, but it can also result in a slow DOSBox.
  4. # fullresolution: What resolution to use for fullscreen: original, desktop or fixed size (e.g. 1024x768).
  5. # Using your monitor's native resolution (desktop) with aspect=true might give the best results.
  6. # If you end up with small window on a large screen, try an output different from surface.
  7. # On Windows 10 with display scaling (Scale and layout) set to a value above 100%, it is recommended
  8. # to use a lower full/windowresolution, in order to avoid window size problems.
  9. # windowresolution: Scale the window to this size IF the output device supports hardware scaling.
  10. # (output=surface does not!)
  11. # output: What video system to use for output.
  12. # Possible values: surface, overlay, opengl, openglnb.
  13. # autolock: Mouse will automatically lock, if you click on the screen. (Press CTRL-F10 to unlock)
  14. # sensitivity: Mouse sensitivity.
  15. # waitonerror: Wait before closing the console if dosbox has an error.
  16. # priority: Priority levels for dosbox. Second entry behind the comma is for when dosbox is not focused/minimized.
  17. # pause is only valid for the second entry.
  18. # Possible values: lowest, lower, normal, higher, highest, pause.
  19. # mapperfile: File used to load/save the key/event mappings from. Resetmapper only works with the default value.
  20. # usescancodes: Avoid usage of symkeys, might not work on all operating systems.
  21. fullscreen=false
  22. fulldouble=false
  23. fullresolution=original
  24. windowresolution=original
  25. output=surface
  26. autolock=true
  27. sensitivity=100
  28. waitonerror=true
  29. priority=normal,pause
  30. #mapperfile=mapper-0.74-3.map
  31. usescancodes=true
  32. [dosbox]
  33. # language: Select another language file.
  34. # machine: The type of machine DOSBox tries to emulate.
  35. # Possible values: hercules, cga, tandy, pcjr, ega, vgaonly, svga_s3, svga_et3000, svga_et4000, svga_paradise, vesa_nolfb, vesa_oldvbe.
  36. # captures: Directory where things like wave, midi, screenshot get captured.
  37. # memsize: Amount of memory DOSBox has in megabytes.
  38. # This value is best left at its default to avoid problems with some games,
  39. # though few games might require a higher value.
  40. # There is generally no speed advantage when raising this value.
  41. language=
  42. machine=svga_s3
  43. captures=capture
  44. memsize=16
  45. [render]
  46. # frameskip: How many frames DOSBox skips before drawing one.
  47. # aspect: Do aspect correction, if your output method doesn't support scaling this can slow things down!
  48. # scaler: Scaler used to enlarge/enhance low resolution modes. If 'forced' is appended,
  49. # then the scaler will be used even if the result might not be desired.
  50. # To fit a scaler in the resolution used at full screen may require a border or side bars,
  51. # to fill the screen entirely, depending on your hardware, a different scaler/fullresolution might work.
  52. # Possible values: none, normal2x, normal3x, advmame2x, advmame3x, advinterp2x, advinterp3x, hq2x, hq3x, 2xsai, super2xsai, supereagle, tv2x, tv3x, rgb2x, rgb3x, scan2x, scan3x.
  53. frameskip=0
  54. aspect=false
  55. scaler=none
  56. [cpu]
  57. # core: CPU Core used in emulation. auto will switch to dynamic if available and
  58. # appropriate.
  59. # Possible values: auto, dynamic, normal, simple.
  60. # cputype: CPU Type used in emulation. auto is the fastest choice.
  61. # Possible values: auto, 386, 386_slow, 486_slow, pentium_slow, 386_prefetch.
  62. # cycles: Amount of instructions DOSBox tries to emulate each millisecond.
  63. # Setting this value too high results in sound dropouts and lags.
  64. # Cycles can be set in 3 ways:
  65. # 'auto' tries to guess what a game needs.
  66. # It usually works, but can fail for certain games.
  67. # 'fixed #number' will set a fixed amount of cycles. This is what you usually
  68. # need if 'auto' fails. (Example: fixed 4000).
  69. # 'max' will allocate as much cycles as your computer is able to
  70. # handle.
  71. # Possible values: auto, fixed, max.
  72. # cycleup: Amount of cycles to decrease/increase with keycombos.(CTRL-F11/CTRL-F12)
  73. # cycledown: Setting it lower than 100 will be a percentage.
  74. core=auto
  75. cputype=auto
  76. cycles=auto
  77. cycleup=10
  78. cycledown=20
  79. [mixer]
  80. # nosound: Enable silent mode, sound is still emulated though.
  81. # rate: Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality.
  82. # Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
  83. # blocksize: Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.
  84. # Possible values: 1024, 2048, 4096, 8192, 512, 256.
  85. # prebuffer: How many milliseconds of data to keep on top of the blocksize.
  86. nosound=false
  87. rate=44100
  88. blocksize=1024
  89. prebuffer=25
  90. [midi]
  91. # mpu401: Type of MPU-401 to emulate.
  92. # Possible values: intelligent, uart, none.
  93. # mididevice: Device that will receive the MIDI data from MPU-401.
  94. # Possible values: default, win32, alsa, oss, coreaudio, coremidi, none.
  95. # midiconfig: Special configuration options for the device driver. This is usually the id of the device you want to use
  96. # (find the id with mixer/listmidi).
  97. # Or in the case of coreaudio, you can specify a soundfont here.
  98. # See the README/Manual for more details.
  99. mpu401=intelligent
  100. mididevice=default
  101. midiconfig=
  102. [sblaster]
  103. # sbtype: Type of Soundblaster to emulate. gb is Gameblaster.
  104. # Possible values: sb1, sb2, sbpro1, sbpro2, sb16, gb, none.
  105. # sbbase: The IO address of the soundblaster.
  106. # Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
  107. # irq: The IRQ number of the soundblaster.
  108. # Possible values: 7, 5, 3, 9, 10, 11, 12.
  109. # dma: The DMA number of the soundblaster.
  110. # Possible values: 1, 5, 0, 3, 6, 7.
  111. # hdma: The High DMA number of the soundblaster.
  112. # Possible values: 1, 5, 0, 3, 6, 7.
  113. # sbmixer: Allow the soundblaster mixer to modify the DOSBox mixer.
  114. # oplmode: Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.
  115. # Possible values: auto, cms, opl2, dualopl2, opl3, none.
  116. # oplemu: Provider for the OPL emulation. compat might provide better quality (see oplrate as well).
  117. # Possible values: default, compat, fast.
  118. # oplrate: Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly).
  119. # Possible values: 44100, 49716, 48000, 32000, 22050, 16000, 11025, 8000.
  120. sbtype=sb16
  121. sbbase=220
  122. irq=7
  123. dma=1
  124. hdma=5
  125. sbmixer=true
  126. oplmode=auto
  127. oplemu=default
  128. oplrate=44100
  129. [gus]
  130. # gus: Enable the Gravis Ultrasound emulation.
  131. # gusrate: Sample rate of Ultrasound emulation.
  132. # Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
  133. # gusbase: The IO base address of the Gravis Ultrasound.
  134. # Possible values: 240, 220, 260, 280, 2a0, 2c0, 2e0, 300.
  135. # gusirq: The IRQ number of the Gravis Ultrasound.
  136. # Possible values: 5, 3, 7, 9, 10, 11, 12.
  137. # gusdma: The DMA channel of the Gravis Ultrasound.
  138. # Possible values: 3, 0, 1, 5, 6, 7.
  139. # ultradir: Path to Ultrasound directory. In this directory
  140. # there should be a MIDI directory that contains
  141. # the patch files for GUS playback. Patch sets used
  142. # with Timidity should work fine.
  143. gus=false
  144. gusrate=44100
  145. gusbase=240
  146. gusirq=5
  147. gusdma=3
  148. ultradir=C:\ULTRASND
  149. [speaker]
  150. # pcspeaker: Enable PC-Speaker emulation.
  151. # pcrate: Sample rate of the PC-Speaker sound generation.
  152. # Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
  153. # tandy: Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'.
  154. # Possible values: auto, on, off.
  155. # tandyrate: Sample rate of the Tandy 3-Voice generation.
  156. # Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
  157. # disney: Enable Disney Sound Source emulation. (Covox Voice Master and Speech Thing compatible).
  158. pcspeaker=true
  159. pcrate=44100
  160. tandy=auto
  161. tandyrate=44100
  162. disney=true
  163. [joystick]
  164. # joysticktype: Type of joystick to emulate: auto (default), none,
  165. # 2axis (supports two joysticks),
  166. # 4axis (supports one joystick, first joystick used),
  167. # 4axis_2 (supports one joystick, second joystick used),
  168. # fcs (Thrustmaster), ch (CH Flightstick).
  169. # none disables joystick emulation.
  170. # auto chooses emulation depending on real joystick(s).
  171. # (Remember to reset dosbox's mapperfile if you saved it earlier)
  172. # Possible values: auto, 2axis, 4axis, 4axis_2, fcs, ch, none.
  173. # timed: enable timed intervals for axis. Experiment with this option, if your joystick drifts (away).
  174. # autofire: continuously fires as long as you keep the button pressed.
  175. # swap34: swap the 3rd and the 4th axis. Can be useful for certain joysticks.
  176. # buttonwrap: enable button wrapping at the number of emulated buttons.
  177. joysticktype=auto
  178. timed=true
  179. autofire=false
  180. swap34=false
  181. buttonwrap=false
  182. [serial]
  183. # serial1: set type of device connected to com port.
  184. # Can be disabled, dummy, modem, nullmodem, directserial.
  185. # Additional parameters must be in the same line in the form of
  186. # parameter:value. Parameter for all types is irq (optional).
  187. # for directserial: realport (required), rxdelay (optional).
  188. # (realport:COM1 realport:ttyS0).
  189. # for modem: listenport (optional).
  190. # for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
  191. # transparent, port, inhsocket (all optional).
  192. # Example: serial1=modem listenport:5000
  193. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  194. # serial2: see serial1
  195. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  196. # serial3: see serial1
  197. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  198. # serial4: see serial1
  199. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  200. serial1=dummy
  201. serial2=dummy
  202. serial3=disabled
  203. serial4=disabled
  204. [dos]
  205. # xms: Enable XMS support.
  206. # ems: Enable EMS support.
  207. # umb: Enable UMB support.
  208. # keyboardlayout: Language code of the keyboard layout (or none).
  209. xms=true
  210. ems=true
  211. umb=true
  212. keyboardlayout=auto
  213. [ipx]
  214. # ipx: Enable ipx over UDP/IP emulation.
  215. ipx=true
  216. [autoexec]