dosbox.conf 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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. [dosbox]
  34. # language: Select another language file.
  35. # machine: The type of machine tries to emulate.
  36. # Possible values: hercules, cga, tandy, pcjr, ega, vgaonly, svga_s3, svga_et3000, svga_et4000, svga_paradise, vesa_nolfb, vesa_oldvbe.
  37. # captures: Directory where things like wave, midi, screenshot get captured.
  38. # memsize: Amount of memory DOSBox has in megabytes.
  39. # This value is best left at its default to avoid problems with some games,
  40. # though few games might require a higher value.
  41. # There is generally no speed advantage when raising this value.
  42. language=
  43. machine=svga_s3
  44. captures=capture
  45. memsize=16
  46. [render]
  47. # frameskip: How many frames DOSBox skips before drawing one.
  48. # aspect: Do aspect correction, if your output method doesn't support scaling this can slow things down!.
  49. # scaler: Scaler used to enlarge/enhance low resolution modes.
  50. # If 'forced' is appended, then the scaler will be used even if the result might not be desired.
  51. # Possible values: none, normal2x, normal3x, advmame2x, advmame3x, advinterp2x, advinterp3x, hq2x, hq3x, 2xsai, super2xsai, supereagle, tv2x, tv3x, rgb2x, rgb3x, scan2x, scan3x.
  52. frameskip=0
  53. aspect=false
  54. scaler=normal2x
  55. [cpu]
  56. # core: CPU Core used in emulation. auto will switch to dynamic if available and appropriate.
  57. # Possible values: auto, dynamic, normal, simple.
  58. # cputype: CPU Type used in emulation. auto is the fastest choice.
  59. # Possible values: auto, 386, 386_slow, 486_slow, pentium_slow, 386_prefetch.
  60. # cycles: Amount of instructions DOSBox tries to emulate each millisecond.
  61. # Setting this value too high results in sound dropouts and lags.
  62. # Cycles can be set in 3 ways:
  63. # 'auto' tries to guess what a game needs.
  64. # It usually works, but can fail for certain games.
  65. # 'fixed #number' will set a fixed amount of cycles. This is what you usually need if 'auto' fails.
  66. # (Example: fixed 4000).
  67. # 'max' will allocate as much cycles as your computer is able to handle.
  68. #
  69. # Possible values: auto, fixed, max.
  70. # cycleup: Amount of cycles to decrease/increase with keycombo.(CTRL-F11/CTRL-F12)
  71. # cycledown: Setting it lower than 100 will be a percentage.
  72. #core=auto
  73. core=dynamic
  74. cputype=auto
  75. #cycles=auto
  76. cycles=max
  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=20
  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. # See the README/Manual for more details.
  97. mpu401=intelligent
  98. mididevice=default
  99. midiconfig=
  100. [sblaster]
  101. # sbtype: Type of Soundblaster to emulate. gb is Gameblaster.
  102. # Possible values: sb1, sb2, sbpro1, sbpro2, sb16, gb, none.
  103. # sbbase: The IO address of the soundblaster.
  104. # Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
  105. # irq: The IRQ number of the soundblaster.
  106. # Possible values: 7, 5, 3, 9, 10, 11, 12.
  107. # dma: The DMA number of the soundblaster.
  108. # Possible values: 1, 5, 0, 3, 6, 7.
  109. # hdma: The High DMA number of the soundblaster.
  110. # Possible values: 1, 5, 0, 3, 6, 7.
  111. # sbmixer: Allow the soundblaster mixer to modify the DOSBox mixer.
  112. # oplmode: Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.
  113. # Possible values: auto, cms, opl2, dualopl2, opl3, none.
  114. # oplemu: Provider for the OPL emulation. compat might provide better quality (see oplrate as well).
  115. # Possible values: default, compat, fast.
  116. # oplrate: Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly).
  117. # Possible values: 44100, 49716, 48000, 32000, 22050, 16000, 11025, 8000.
  118. sbtype=sb16
  119. sbbase=220
  120. irq=7
  121. dma=1
  122. hdma=5
  123. sbmixer=true
  124. oplmode=auto
  125. oplemu=default
  126. oplrate=44100
  127. [gus]
  128. # gus: Enable the Gravis Ultrasound emulation.
  129. # gusrate: Sample rate of Ultrasound emulation.
  130. # Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
  131. # gusbase: The IO base address of the Gravis Ultrasound.
  132. # Possible values: 240, 220, 260, 280, 2a0, 2c0, 2e0, 300.
  133. # gusirq: The IRQ number of the Gravis Ultrasound.
  134. # Possible values: 5, 3, 7, 9, 10, 11, 12.
  135. # gusdma: The DMA channel of the Gravis Ultrasound.
  136. # Possible values: 3, 0, 1, 5, 6, 7.
  137. # ultradir: Path to Ultrasound directory. In this directory
  138. # there should be a MIDI directory that contains
  139. # the patch files for GUS playback. Patch sets used
  140. # with Timidity should work fine.
  141. gus=false
  142. gusrate=44100
  143. gusbase=240
  144. gusirq=5
  145. gusdma=3
  146. ultradir=C:\ULTRASND
  147. [speaker]
  148. # pcspeaker: Enable PC-Speaker emulation.
  149. # pcrate: Sample rate of the PC-Speaker sound generation.
  150. # Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
  151. # tandy: Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'.
  152. # Possible values: auto, on, off.
  153. # tandyrate: Sample rate of the Tandy 3-Voice generation.
  154. # Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
  155. # disney: Enable Disney Sound Source emulation. (Covox Voice Master and Speech Thing compatible).
  156. pcspeaker=true
  157. pcrate=44100
  158. tandy=auto
  159. tandyrate=44100
  160. disney=true
  161. [joystick]
  162. # joysticktype: Type of joystick to emulate: auto (default), none,
  163. # 2axis (supports two joysticks),
  164. # 4axis (supports one joystick, first joystick used),
  165. # 4axis_2 (supports one joystick, second joystick used),
  166. # fcs (Thrustmaster), ch (CH Flightstick).
  167. # none disables joystick emulation.
  168. # auto chooses emulation depending on real joystick(s).
  169. # (Remember to reset dosbox's mapperfile if you saved it earlier)
  170. # Possible values: auto, 2axis, 4axis, 4axis_2, fcs, ch, none.
  171. # timed: enable timed intervals for axis. Experiment with this option, if your joystick drifts (away).
  172. # autofire: continuously fires as long as you keep the button pressed.
  173. # swap34: swap the 3rd and the 4th axis. can be useful for certain joysticks.
  174. # buttonwrap: enable button wrapping at the number of emulated buttons.
  175. joysticktype=auto
  176. timed=true
  177. autofire=false
  178. swap34=false
  179. buttonwrap=false
  180. [serial]
  181. # serial1: set type of device connected to com port.
  182. # Can be disabled, dummy, modem, nullmodem, directserial.
  183. # Additional parameters must be in the same line in the form of
  184. # parameter:value. Parameter for all types is irq (optional).
  185. # for directserial: realport (required), rxdelay (optional).
  186. # (realport:COM1 realport:ttyS0).
  187. # for modem: listenport (optional).
  188. # for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
  189. # transparent, port, inhsocket (all optional).
  190. # Example: serial1=modem listenport:5000
  191. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  192. # serial2: see serial1
  193. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  194. # serial3: see serial1
  195. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  196. # serial4: see serial1
  197. # Possible values: dummy, disabled, modem, nullmodem, directserial.
  198. serial1=dummy
  199. serial2=dummy
  200. serial3=disabled
  201. serial4=disabled
  202. [dos]
  203. # xms: Enable XMS support.
  204. # ems: Enable EMS support.
  205. # umb: Enable UMB support.
  206. # keyboardlayout: Language code of the keyboard layout (or none).
  207. xms=true
  208. ems=true
  209. umb=true
  210. keyboardlayout=auto
  211. [ipx]
  212. # ipx: Enable ipx over UDP/IP emulation.
  213. ipx=false
  214. [autoexec]
  215. # Lines in this section will be run at startup.
  216. # You can put your MOUNT lines here.
  217. @echo off
  218. mount c $DosBoxDir
  219. c:
  220. exitcode test.exe
  221. exit