dosbox.conf 11 KB

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