<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.dosbox.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jez9999</id>
	<title>DOSBoxWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.dosbox.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jez9999"/>
	<link rel="alternate" type="text/html" href="http://www.dosbox.com/wiki/Special:Contributions/Jez9999"/>
	<updated>2026-04-30T23:28:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>http://www.dosbox.com/wiki/index.php?title=Building_DOSBox_with_MinGW&amp;diff=4407</id>
		<title>Building DOSBox with MinGW</title>
		<link rel="alternate" type="text/html" href="http://www.dosbox.com/wiki/index.php?title=Building_DOSBox_with_MinGW&amp;diff=4407"/>
		<updated>2012-03-04T13:06:32Z</updated>

		<summary type="html">&lt;p&gt;Jez9999: /* 5. Compiling DOSBox */ - you need to run autogen first!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building your own version of DOSBox ==&lt;br /&gt;
&lt;br /&gt;
Why to do this?&amp;lt;br&amp;gt;&lt;br /&gt;
Because any resource-intensive program can benefit greatly from optimization for your exact processor.&amp;lt;br&amp;gt;&lt;br /&gt;
[[System_Requirements|System Requirements]] states that a P3 1Ghz can emulate a 3/486 - early dos games. I have compiled Dosbox and SDL myself for this processor, 1Ghz P3, and I can run games from 95/96 OK (Caesar 2, C&amp;amp;C: Red Alert).&lt;br /&gt;
So, if you have the skill, the performance increase is recommended.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1. Grab the source ===&lt;br /&gt;
&lt;br /&gt;
First, grab the latest version of the DOSBox source code. A fairly often updated SVN-Dump can be found at: http://source.dosbox.com/dosboxsvn.tgz&lt;br /&gt;
&lt;br /&gt;
Download it and extract it to a separate directory.&lt;br /&gt;
&lt;br /&gt;
=== 2. SDL ===&lt;br /&gt;
&lt;br /&gt;
DOSBox uses SDL (Simple DirectMedia Layer) to access your graphics and sound hardware, so you'll need to download it as well. Grab the latest source at&lt;br /&gt;
&lt;br /&gt;
: http://www.libsdl.org/&lt;br /&gt;
&lt;br /&gt;
and extract to a separate directory.&lt;br /&gt;
&lt;br /&gt;
When working on Windows, you might want to save a lot of effort and just use the SDL (and optionally SDL_net) .DLL files included with the latest official DOSBox release, as compiling SDL with full options (e.g. DirectX support) is a bit involved. There are also pre-built .DLL files on the SDL web site (Runtime Libraries -&amp;gt; Win32) that you can try at&lt;br /&gt;
&lt;br /&gt;
: http://www.libsdl.org/download-1.2.php&lt;br /&gt;
&lt;br /&gt;
Note that as of 12 Dec 2004, ddraw (DirectDraw) rendering mode will not work in DOSBox unless you either use the SDL.dll included with the latest version of DOSBox, or build your own SDL.dll with the changes mentioned in the &amp;quot;Compiling SDL&amp;quot; section below.&lt;br /&gt;
&lt;br /&gt;
=== 3. Compiling environment ===&lt;br /&gt;
&lt;br /&gt;
When working on Windows, you'll most likely need a compiling environment. We suggest using the combination of MinGW and MSYS, which can be found at&lt;br /&gt;
&lt;br /&gt;
: http://prdownloads.sf.net/mingw/&lt;br /&gt;
&lt;br /&gt;
You'll need to download both the latest MinGW and MSYS. After downloading, install MinGW and MSYS (in this order). The MSYS-Installer should ask for the installation directory of MinGW, so you should pick the path where you installed it. After the installation, run the MSYS.BAT and you should see a unix-like command prompt. &lt;br /&gt;
&lt;br /&gt;
=== 4. Compiling SDL ===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory where you extracted the SDL-source (using unix commands) and type&lt;br /&gt;
&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
Some MinGW-specific info on compiling SDL under Windows is available at&lt;br /&gt;
&lt;br /&gt;
: http://www.libsdl.org/extras/win32/mingw32/README.txt&lt;br /&gt;
&lt;br /&gt;
If you are having trouble with a message like 'no acceptable ld found in $PATH' try 'export LD=/c/gxx-2.95.2/bin/ld.exe' (or wherever you have the exe; GCC 2.95 in this case).&lt;br /&gt;
&lt;br /&gt;
Also, if you have trouble getting ddraw (DirectDraw) working in DOSBox, see this post on the DOSBox forum for a possible fix:&lt;br /&gt;
&lt;br /&gt;
: http://vogons.zetafleet.com/viewtopic.php?p=48050&amp;amp;highlight=#48050&lt;br /&gt;
&lt;br /&gt;
==== 4b. SDL-net (optional) ====&lt;br /&gt;
&lt;br /&gt;
If you want to benefit from DOSBox's Modem-Emulation or IPX-Support, you'll also need the SDL-net library, which can be found at&lt;br /&gt;
&lt;br /&gt;
: http://www.libsdl.org/projects/SDL_net/&lt;br /&gt;
&lt;br /&gt;
Download, extract, and compile as you did with SDL.&lt;br /&gt;
&lt;br /&gt;
If you skipped building your own SDL.dll, you can use the one included with the latest official release of DOSBox or you can get a SDL_net win32 binary (.DLL) release on the SDL web site at the URL above.&lt;br /&gt;
&lt;br /&gt;
=== 5. Compiling DOSBox ===&lt;br /&gt;
&lt;br /&gt;
After compiling you'll need to adjust the PATH variable to point at the directory where the freshly built SDL-Library can be found.&lt;br /&gt;
&lt;br /&gt;
''Note: if you want to use SDL-net, do the same with that library.''&lt;br /&gt;
&lt;br /&gt;
Then, change to the directory where you extracted the DOSBox-Source and type&lt;br /&gt;
&lt;br /&gt;
 ./autogen.sh&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
to compile DOSBox. If everything worked, you should have a &amp;lt;tt&amp;gt;DOSBOX.EXE&amp;lt;/tt&amp;gt; in the &amp;lt;tt&amp;gt;./src&amp;lt;/tt&amp;gt; - directory.&lt;br /&gt;
&lt;br /&gt;
=== 6. Running ===&lt;br /&gt;
&lt;br /&gt;
The easiest way to run the new executable is to copy it (and your fresh &amp;lt;tt&amp;gt;SDL.dll&amp;lt;/tt&amp;gt; ''and maybe even the SDL_net.dll'') to the installation-directory of a non-SVN-version of DOSBox. That way, you have the needed directory structure and configuration files.&lt;br /&gt;
&lt;br /&gt;
=== Example for Building DOSBox 0.71 on OpenSUSE 10.2 Linux ===&lt;br /&gt;
&lt;br /&gt;
-Remove the existing DOSBox version if you have it.&lt;br /&gt;
&lt;br /&gt;
-Obtain and extract the DOSBox source code.&lt;br /&gt;
&lt;br /&gt;
-SUSE linux 10.2 already has SDL and alsa installed, but you need to install the SDL-devel package and alsa-devel package (for header files and libs).&lt;br /&gt;
&lt;br /&gt;
-Obtain the SDL_Sound src from http://icculus.org/SDL_sound/downloads.  Extract the source somewhere.&lt;br /&gt;
 Run configure --with-sdl-prefix=/usr/lib64 --with-sdl-exec-prefix=/usr&lt;br /&gt;
 make&lt;br /&gt;
 make install (need to be root)&lt;br /&gt;
&lt;br /&gt;
-OK, now you have everything you need to compile DOSBox.  cd to your DOSBox directory, then run this at the shell:&lt;br /&gt;
 export CPPFLAGS=&amp;quot;-I/usr/local/include/SDL&amp;quot;&lt;br /&gt;
 export LDFLAGS=&amp;quot;-L/usr/local/lib&amp;quot;&lt;br /&gt;
 configure --with-sdl-prefix=/usr/lib64 --with-sdl-exec-prefix=/usr --with-alsa-prefix=/usr/lib64&lt;br /&gt;
    --with-alsa-inc-prefix=/usr/include/alsa&lt;br /&gt;
 make&lt;br /&gt;
 make install (need to be root).&lt;br /&gt;
&lt;br /&gt;
-The reason for the shell variables is that it seemed to be the only way configure could find the files it needed.  There aren't any config options to find the SDL_sound library, and I tried giving it -libdir= and -includedir=, but that didn't work.&lt;/div&gt;</summary>
		<author><name>Jez9999</name></author>
	</entry>
	<entry>
		<id>http://www.dosbox.com/wiki/index.php?title=Building_DOSBox_with_MinGW&amp;diff=4406</id>
		<title>Building DOSBox with MinGW</title>
		<link rel="alternate" type="text/html" href="http://www.dosbox.com/wiki/index.php?title=Building_DOSBox_with_MinGW&amp;diff=4406"/>
		<updated>2012-03-04T12:40:52Z</updated>

		<summary type="html">&lt;p&gt;Jez9999: I'm guessing MiniGW is a typo of MinGW...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building your own version of DOSBox ==&lt;br /&gt;
&lt;br /&gt;
Why to do this?&amp;lt;br&amp;gt;&lt;br /&gt;
Because any resource-intensive program can benefit greatly from optimization for your exact processor.&amp;lt;br&amp;gt;&lt;br /&gt;
[[System_Requirements|System Requirements]] states that a P3 1Ghz can emulate a 3/486 - early dos games. I have compiled Dosbox and SDL myself for this processor, 1Ghz P3, and I can run games from 95/96 OK (Caesar 2, C&amp;amp;C: Red Alert).&lt;br /&gt;
So, if you have the skill, the performance increase is recommended.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1. Grab the source ===&lt;br /&gt;
&lt;br /&gt;
First, grab the latest version of the DOSBox source code. A fairly often updated SVN-Dump can be found at: http://source.dosbox.com/dosboxsvn.tgz&lt;br /&gt;
&lt;br /&gt;
Download it and extract it to a separate directory.&lt;br /&gt;
&lt;br /&gt;
=== 2. SDL ===&lt;br /&gt;
&lt;br /&gt;
DOSBox uses SDL (Simple DirectMedia Layer) to access your graphics and sound hardware, so you'll need to download it as well. Grab the latest source at&lt;br /&gt;
&lt;br /&gt;
: http://www.libsdl.org/&lt;br /&gt;
&lt;br /&gt;
and extract to a separate directory.&lt;br /&gt;
&lt;br /&gt;
When working on Windows, you might want to save a lot of effort and just use the SDL (and optionally SDL_net) .DLL files included with the latest official DOSBox release, as compiling SDL with full options (e.g. DirectX support) is a bit involved. There are also pre-built .DLL files on the SDL web site (Runtime Libraries -&amp;gt; Win32) that you can try at&lt;br /&gt;
&lt;br /&gt;
: http://www.libsdl.org/download-1.2.php&lt;br /&gt;
&lt;br /&gt;
Note that as of 12 Dec 2004, ddraw (DirectDraw) rendering mode will not work in DOSBox unless you either use the SDL.dll included with the latest version of DOSBox, or build your own SDL.dll with the changes mentioned in the &amp;quot;Compiling SDL&amp;quot; section below.&lt;br /&gt;
&lt;br /&gt;
=== 3. Compiling environment ===&lt;br /&gt;
&lt;br /&gt;
When working on Windows, you'll most likely need a compiling environment. We suggest using the combination of MinGW and MSYS, which can be found at&lt;br /&gt;
&lt;br /&gt;
: http://prdownloads.sf.net/mingw/&lt;br /&gt;
&lt;br /&gt;
You'll need to download both the latest MinGW and MSYS. After downloading, install MinGW and MSYS (in this order). The MSYS-Installer should ask for the installation directory of MinGW, so you should pick the path where you installed it. After the installation, run the MSYS.BAT and you should see a unix-like command prompt. &lt;br /&gt;
&lt;br /&gt;
=== 4. Compiling SDL ===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory where you extracted the SDL-source (using unix commands) and type&lt;br /&gt;
&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
Some MinGW-specific info on compiling SDL under Windows is available at&lt;br /&gt;
&lt;br /&gt;
: http://www.libsdl.org/extras/win32/mingw32/README.txt&lt;br /&gt;
&lt;br /&gt;
If you are having trouble with a message like 'no acceptable ld found in $PATH' try 'export LD=/c/gxx-2.95.2/bin/ld.exe' (or wherever you have the exe; GCC 2.95 in this case).&lt;br /&gt;
&lt;br /&gt;
Also, if you have trouble getting ddraw (DirectDraw) working in DOSBox, see this post on the DOSBox forum for a possible fix:&lt;br /&gt;
&lt;br /&gt;
: http://vogons.zetafleet.com/viewtopic.php?p=48050&amp;amp;highlight=#48050&lt;br /&gt;
&lt;br /&gt;
==== 4b. SDL-net (optional) ====&lt;br /&gt;
&lt;br /&gt;
If you want to benefit from DOSBox's Modem-Emulation or IPX-Support, you'll also need the SDL-net library, which can be found at&lt;br /&gt;
&lt;br /&gt;
: http://www.libsdl.org/projects/SDL_net/&lt;br /&gt;
&lt;br /&gt;
Download, extract, and compile as you did with SDL.&lt;br /&gt;
&lt;br /&gt;
If you skipped building your own SDL.dll, you can use the one included with the latest official release of DOSBox or you can get a SDL_net win32 binary (.DLL) release on the SDL web site at the URL above.&lt;br /&gt;
&lt;br /&gt;
=== 5. Compiling DOSBox ===&lt;br /&gt;
&lt;br /&gt;
After compiling you'll need to adjust the PATH variable to point at the directory where the freshly built SDL-Library can be found.&lt;br /&gt;
&lt;br /&gt;
''Note: if you want to use SDL-net, do the same with that library.''&lt;br /&gt;
&lt;br /&gt;
Then, change to the directory where you extracted the DOSBox-Source and type&lt;br /&gt;
&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
to compile DOSBox. If everything worked, you should have a &amp;lt;tt&amp;gt;DOSBOX.EXE&amp;lt;/tt&amp;gt; in the &amp;lt;tt&amp;gt;./src&amp;lt;/tt&amp;gt; - directory.&lt;br /&gt;
&lt;br /&gt;
=== 6. Running ===&lt;br /&gt;
&lt;br /&gt;
The easiest way to run the new executable is to copy it (and your fresh &amp;lt;tt&amp;gt;SDL.dll&amp;lt;/tt&amp;gt; ''and maybe even the SDL_net.dll'') to the installation-directory of a non-SVN-version of DOSBox. That way, you have the needed directory structure and configuration files.&lt;br /&gt;
&lt;br /&gt;
=== Example for Building DOSBox 0.71 on OpenSUSE 10.2 Linux ===&lt;br /&gt;
&lt;br /&gt;
-Remove the existing DOSBox version if you have it.&lt;br /&gt;
&lt;br /&gt;
-Obtain and extract the DOSBox source code.&lt;br /&gt;
&lt;br /&gt;
-SUSE linux 10.2 already has SDL and alsa installed, but you need to install the SDL-devel package and alsa-devel package (for header files and libs).&lt;br /&gt;
&lt;br /&gt;
-Obtain the SDL_Sound src from http://icculus.org/SDL_sound/downloads.  Extract the source somewhere.&lt;br /&gt;
 Run configure --with-sdl-prefix=/usr/lib64 --with-sdl-exec-prefix=/usr&lt;br /&gt;
 make&lt;br /&gt;
 make install (need to be root)&lt;br /&gt;
&lt;br /&gt;
-OK, now you have everything you need to compile DOSBox.  cd to your DOSBox directory, then run this at the shell:&lt;br /&gt;
 export CPPFLAGS=&amp;quot;-I/usr/local/include/SDL&amp;quot;&lt;br /&gt;
 export LDFLAGS=&amp;quot;-L/usr/local/lib&amp;quot;&lt;br /&gt;
 configure --with-sdl-prefix=/usr/lib64 --with-sdl-exec-prefix=/usr --with-alsa-prefix=/usr/lib64&lt;br /&gt;
    --with-alsa-inc-prefix=/usr/include/alsa&lt;br /&gt;
 make&lt;br /&gt;
 make install (need to be root).&lt;br /&gt;
&lt;br /&gt;
-The reason for the shell variables is that it seemed to be the only way configure could find the files it needed.  There aren't any config options to find the SDL_sound library, and I tried giving it -libdir= and -includedir=, but that didn't work.&lt;/div&gt;</summary>
		<author><name>Jez9999</name></author>
	</entry>
	<entry>
		<id>http://www.dosbox.com/wiki/index.php?title=Dosbox.conf&amp;diff=3909</id>
		<title>Dosbox.conf</title>
		<link rel="alternate" type="text/html" href="http://www.dosbox.com/wiki/index.php?title=Dosbox.conf&amp;diff=3909"/>
		<updated>2010-05-24T18:41:55Z</updated>

		<summary type="html">&lt;p&gt;Jez9999: /* [midi] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''dosbox.conf''' is a configuration file that DOSBox can use globally and/or locally per game (and settings that are left out are taken from the global file).  It contains various system settings and initialization values that define your emulated environment.  Everything can be controlled by editing this file or if you like through more graphically oriented [[DOSBoxFrontends|Front Ends]].  You can also [[Dosbox.conf#Creation and Location |create]] separate '''dosbox.conf''' files for multiple host environments (which is helpful in playing various DOS games that expect various types of hardware).&lt;br /&gt;
&lt;br /&gt;
The configuration file is broken into separate [[Dosbox.conf#Sections |sections]] which contain section settings.  Many of these settings do not need to be fully understood to configure DOSBox, but it is helpful to know where to look.  You should also be aware that anything to the right of the '''#''' to the end of the line is considered a comment as is totally ignored by DOSBox when it loads.&lt;br /&gt;
&lt;br /&gt;
== Creation and Location ==&lt;br /&gt;
Depending on the version or host OS, the dosbox.conf file is located either inside the [[user profile folder]] or inside the same folder as dosbox.exe.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
Dosbox.conf is created automatically in the Windows' [[user profile folder]]. The location is indicated by the DOSBox Status Window upon startup.&lt;br /&gt;
&lt;br /&gt;
You can find the '''dosbox.conf''' by browsing '''Start &amp;gt; All Programs &amp;gt; Dosbox-{version}'''&lt;br /&gt;
[[Image:Dosbox_config.png]]&lt;br /&gt;
&lt;br /&gt;
==== Windows XP ====&lt;br /&gt;
%USERPROFILE%\Local Settings\Application Data\DOSBox\dosbox-{version}.conf&lt;br /&gt;
==== Windows Vista &amp;amp; Windows 7 ====&lt;br /&gt;
''{system drive}'':\Users\''{username}''\AppData\Local\DOSBox\dosbox-{version}.conf&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
For Linux the configfile is created on the first run in ~/.dosbox/&lt;br /&gt;
The name is dosbox-version.conf where version is currently 0.73&lt;br /&gt;
&lt;br /&gt;
On Ubuntu in the dosbox man file it is written:&lt;br /&gt;
  Configuration  and  language files use a format similar to Windows .ini&lt;br /&gt;
  files.  First ~/.dosboxrc (if present)  will be loaded. If  no  config‐&lt;br /&gt;
  file  is  specified  at  the  commandline, a file named dosbox.conf (if&lt;br /&gt;
  present in the current directory) will be loaded  automatically  after‐&lt;br /&gt;
  wards. If a configfile is specified at the commandline that one will be&lt;br /&gt;
  used instead.&lt;br /&gt;
&lt;br /&gt;
===Mac OS X===&lt;br /&gt;
If you are using Mac OS X, a preferences file will be created for you on the first time you run DOSBox (as of version 0.73). This file contains the same system settings and initialization values as the '''dosbox.conf''' file on other systems.&lt;br /&gt;
&lt;br /&gt;
It can be found (and modified) at '''&amp;lt;tt&amp;gt;~/Library/Preferences/DOSBox 0.73 Preferences&amp;lt;/tt&amp;gt;''', where ~/ is your [[user profile folder]] (usually &amp;lt;tt&amp;gt;/Macintosh HD/Users/''username''/&amp;lt;/tt&amp;gt;). The exact folder name in the [http://en.wikipedia.org/wiki/Finder_(software) Finder] may vary, depending on the language you use for OS X.&lt;br /&gt;
&lt;br /&gt;
== Sections ==&lt;br /&gt;
&lt;br /&gt;
=== [sdl] ===&lt;br /&gt;
{{:Configuration:SDL}}&lt;br /&gt;
&lt;br /&gt;
=== [dosbox] ===&lt;br /&gt;
{{:Configuration:DOSBox}}&lt;br /&gt;
&lt;br /&gt;
=== [render] ===&lt;br /&gt;
{{:Configuration:RENDER}}&lt;br /&gt;
&lt;br /&gt;
=== [cpu] ===&lt;br /&gt;
{{:Configuration:CPU}}&lt;br /&gt;
&lt;br /&gt;
=== [mixer] ===&lt;br /&gt;
{{:Configuration:Mixer}}(see [[Sound]])&lt;br /&gt;
:Here you can define the quality of emulated audio.&lt;br /&gt;
&lt;br /&gt;
=== [midi] ===&lt;br /&gt;
(see [[Sound]])&lt;br /&gt;
&lt;br /&gt;
{{:Configuration:MIDI}}&lt;br /&gt;
&lt;br /&gt;
=== [sblaster] ===&lt;br /&gt;
{{:Configuration:SBlaster}}(see [[Sound]])&lt;br /&gt;
:Sound Blaster related settings.&lt;br /&gt;
&lt;br /&gt;
=== [gus] ===&lt;br /&gt;
{{:Configuration:GUS}} (see [[Sound]])&lt;br /&gt;
:Gravis Ultra Sound related settings.&lt;br /&gt;
&lt;br /&gt;
=== [speaker] ===&lt;br /&gt;
{{:Configuration:PCSpeaker}} (see [[Sound]])&lt;br /&gt;
:PC Speaker related settings.&lt;br /&gt;
&lt;br /&gt;
=== [joystick] ===&lt;br /&gt;
{{:Configuration:Joystick}} (see [[Sound]])&lt;br /&gt;
:Joystick related settings.&lt;br /&gt;
&lt;br /&gt;
=== [serial] ===&lt;br /&gt;
{{:Configuration:SerialPort}}&lt;br /&gt;
&lt;br /&gt;
=== [dos] ===&lt;br /&gt;
{{:Configuration:DOS}}&lt;br /&gt;
&lt;br /&gt;
=== [ipx] ===&lt;br /&gt;
{{:Configuration:IPX}}&lt;br /&gt;
&lt;br /&gt;
=== [autoexec] ===&lt;br /&gt;
{{:Configuration:AUTOEXEC}}&lt;br /&gt;
&lt;br /&gt;
==Recommendations==&lt;br /&gt;
&lt;br /&gt;
Different games will naturally work best with different configuration settings.  Something to consider is to define a conf file for each game that will set the appropriate configurations and start the game for you.  Then, create a shortcut such as DOSBox.exe -conf &amp;quot;DOSbox-GameName.conf&amp;quot; so that you can start your game in the least possible number of steps.&lt;/div&gt;</summary>
		<author><name>Jez9999</name></author>
	</entry>
	<entry>
		<id>http://www.dosbox.com/wiki/index.php?title=Configuration:MIDI&amp;diff=3908</id>
		<title>Configuration:MIDI</title>
		<link rel="alternate" type="text/html" href="http://www.dosbox.com/wiki/index.php?title=Configuration:MIDI&amp;diff=3908"/>
		<updated>2010-05-24T18:41:21Z</updated>

		<summary type="html">&lt;p&gt;Jez9999: /* mididevice = default | win32 | alsa | oss | coreaudio | coremidi | none */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here you can define any MIDI related settings.  The term MIDI is commonly used to refer to background music found in games, but specifically it refers to synthesizer audio (which can be passed directly from emulated games to modern hardware.&lt;br /&gt;
&lt;br /&gt;
==== mpu401 = intelligent | uart | none ====&lt;br /&gt;
Specifies which type of MIDI Processing Unit to emulate.&lt;br /&gt;
:intelligent: (from Wikipedia) The MPU-401 can work in two modes, normal mode and UART mode. &amp;quot;Normal mode&amp;quot; would provide the host system with an 8-track sequencer, MIDI clock output, SYNC 24 signal output, Tape Sync and a metronome; as a result of these features, it is often called &amp;quot;intelligent mode&amp;quot;, whereas...&lt;br /&gt;
:uart: ... this simply emulates UART mode, which reduces the MPU-401 to just relaying in-/outcoming MIDI data bytes.&lt;br /&gt;
:none: MIDI is not emulated.&lt;br /&gt;
&lt;br /&gt;
==== mididevice = default | win32 | alsa | oss | coreaudio | coremidi | none ====&lt;br /&gt;
A slightly confusing config name, because this isn't so much which MIDI device to use as which MIDI '''interface''' to use. As DOSBox currently does not emulate MIDI, but instead passes it through to an interface that does give MIDI playback support, this setting tells DOSBox which interface to pass MIDI data through to.&lt;br /&gt;
:default: The default system MIDI playback device is used.&lt;br /&gt;
:win32: Win32 MIDI playback interface is used.&lt;br /&gt;
:alsa: Linux's Advanced Linux Sound Architecture playback interface is used.&lt;br /&gt;
:oss: Linux's Open Sound System playback interface is used.&lt;br /&gt;
:coreaudio: MacOS X's framework to render the music through the built-in OS X synthesizer.&lt;br /&gt;
:coremidi: MacOS X's framework to route MIDI commands to any device that has been configured in Audio MIDI Setup.&lt;br /&gt;
:none: MIDI is disabled.&lt;br /&gt;
&lt;br /&gt;
==== midiconfig = ''id of MIDI device'' ====&lt;br /&gt;
As used by the MIDI interface described above, this specifies the ID which identifies the particular MIDI device to playback MIDI on. Can be determined on Windows using '''MIXER /LISTMIDI''' or on Linux using '''pmidi -l''' in the console.&lt;/div&gt;</summary>
		<author><name>Jez9999</name></author>
	</entry>
	<entry>
		<id>http://www.dosbox.com/wiki/index.php?title=Configuration:MIDI&amp;diff=3906</id>
		<title>Configuration:MIDI</title>
		<link rel="alternate" type="text/html" href="http://www.dosbox.com/wiki/index.php?title=Configuration:MIDI&amp;diff=3906"/>
		<updated>2010-05-23T17:05:09Z</updated>

		<summary type="html">&lt;p&gt;Jez9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here you can define any MIDI related settings.  The term MIDI is commonly used to refer to background music found in games, but specifically it refers to synthesizer audio (which can be passed directly from emulated games to modern hardware.&lt;br /&gt;
&lt;br /&gt;
==== mpu401 = intelligent | uart | none ====&lt;br /&gt;
Specifies which type of MIDI Processing Unit to emulate.&lt;br /&gt;
:intelligent: (from Wikipedia) The MPU-401 can work in two modes, normal mode and UART mode. &amp;quot;Normal mode&amp;quot; would provide the host system with an 8-track sequencer, MIDI clock output, SYNC 24 signal output, Tape Sync and a metronome; as a result of these features, it is often called &amp;quot;intelligent mode&amp;quot;, whereas...&lt;br /&gt;
:uart: ... this simply emulates UART mode, which reduces the MPU-401 to just relaying in-/outcoming MIDI data bytes.&lt;br /&gt;
:none: MIDI is not emulated.&lt;br /&gt;
&lt;br /&gt;
==== mididevice = default | win32 | alsa | oss | coreaudio | coremidi | none ====&lt;br /&gt;
A slightly confusing config name, because this isn't so much which MIDI device to use as which MIDI '''interface''' to use. As DOSBox currently does not emulate MIDI, but instead passes it through to an interface that does give MIDI playback support, this setting tells DOSBox which interface to pass MIDI data through to.&lt;br /&gt;
:default: The default system MIDI playback device is used.&lt;br /&gt;
:win32: Win32 MIDI playback interface is used.&lt;br /&gt;
:alsa: Linux's Advanced Linux Sound Architecture playback interface is used.&lt;br /&gt;
:oss: Linux's Open Sound System playback interface is used.&lt;br /&gt;
:coreaudio: MacOS X???&lt;br /&gt;
:coremidi: MacOS X???&lt;br /&gt;
:none: MIDI is disabled.&lt;br /&gt;
&lt;br /&gt;
==== midiconfig = ''id of MIDI device'' ====&lt;br /&gt;
As used by the MIDI interface described above, this specifies the ID which identifies the particular MIDI device to playback MIDI on. Can be determined on Windows using '''MIXER /LISTMIDI''' or on Linux using '''pmidi -l''' in the console.&lt;/div&gt;</summary>
		<author><name>Jez9999</name></author>
	</entry>
	<entry>
		<id>http://www.dosbox.com/wiki/index.php?title=Configuration:MIDI&amp;diff=3905</id>
		<title>Configuration:MIDI</title>
		<link rel="alternate" type="text/html" href="http://www.dosbox.com/wiki/index.php?title=Configuration:MIDI&amp;diff=3905"/>
		<updated>2010-05-23T16:55:58Z</updated>

		<summary type="html">&lt;p&gt;Jez9999: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:Here you can define any MIDI related settings.  The term MIDI is commonly used to refer to background music found in games, but specifically it refers to synthesizer audio (which can be passed directly from emulated games to modern hardware.&lt;br /&gt;
&lt;br /&gt;
==== mpu401 = intelligent | uart | none ====&lt;br /&gt;
Specifies which type of MIDI Processing Unit to emulate.&lt;br /&gt;
:intelligent: (from Wikipedia) The MPU-401 can work in two modes, normal mode and UART mode. &amp;quot;Normal mode&amp;quot; would provide the host system with an 8-track sequencer, MIDI clock output, SYNC 24 signal output, Tape Sync and a metronome; as a result of these features, it is often called &amp;quot;intelligent mode&amp;quot;, whereas...&lt;br /&gt;
:uart: ... this simply emulates UART mode, which reduces the MPU-401 to just relaying in-/outcoming MIDI data bytes.&lt;br /&gt;
:none: MIDI is not emulated.&lt;br /&gt;
&lt;br /&gt;
==== mididevice = default | win32 | alsa | oss | coreaudio | coremidi | none ====&lt;br /&gt;
A slightly confusing config name, because this isn't so much which MIDI device to use as which MIDI '''interface''' to use. As DOSBox currently does not emulate MIDI, but instead passes it through to an interface that does give MIDI playback support, this setting tells DOSBox which interface to pass MIDI data through to.&lt;br /&gt;
:default: The default system MIDI playback device is used.&lt;br /&gt;
:win32: Win32 MIDI playback interface is used.&lt;br /&gt;
:alsa: Linux's Advanced Linux Sound Architecture playback interface is used.&lt;br /&gt;
:oss: Linux's Open Sound System playback interface is used.&lt;br /&gt;
:coreaudio: MacOS X???&lt;br /&gt;
:coremidi: MacOS X???&lt;br /&gt;
:none: MIDI is disabled.&lt;br /&gt;
&lt;br /&gt;
==== midiconfig = ''id of MIDI device'' ====&lt;br /&gt;
As used by the MIDI interface described above, this specifies the ID which identifies the particular MIDI device to playback MIDI on. Can be determined on Windows using '''MIXER /LISTMIDI''' or on Linux using '''pmidi -l''' in the console.&lt;/div&gt;</summary>
		<author><name>Jez9999</name></author>
	</entry>
	<entry>
		<id>http://www.dosbox.com/wiki/index.php?title=Dosbox.conf&amp;diff=3904</id>
		<title>Dosbox.conf</title>
		<link rel="alternate" type="text/html" href="http://www.dosbox.com/wiki/index.php?title=Dosbox.conf&amp;diff=3904"/>
		<updated>2010-05-23T16:36:42Z</updated>

		<summary type="html">&lt;p&gt;Jez9999: /* [midi] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''dosbox.conf''' is a configuration file that DOSBox can use globally and/or locally per game (and settings that are left out are taken from the global file).  It contains various system settings and initialization values that define your emulated environment.  Everything can be controlled by editing this file or if you like through more graphically oriented [[DOSBoxFrontends|Front Ends]].  You can also [[Dosbox.conf#Creation and Location |create]] separate '''dosbox.conf''' files for multiple host environments (which is helpful in playing various DOS games that expect various types of hardware).&lt;br /&gt;
&lt;br /&gt;
The configuration file is broken into separate [[Dosbox.conf#Sections |sections]] which contain section settings.  Many of these settings do not need to be fully understood to configure DOSBox, but it is helpful to know where to look.  You should also be aware that anything to the right of the '''#''' to the end of the line is considered a comment as is totally ignored by DOSBox when it loads.&lt;br /&gt;
&lt;br /&gt;
== Creation and Location ==&lt;br /&gt;
Depending on the version or host OS, the dosbox.conf file is located either inside the [[user profile folder]] or inside the same folder as dosbox.exe.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
Dosbox.conf is created automatically in the Windows' [[user profile folder]]. The location is indicated by the DOSBox Status Window upon startup.&lt;br /&gt;
&lt;br /&gt;
You can find the '''dosbox.conf''' by browsing '''Start &amp;gt; All Programs &amp;gt; Dosbox-{version}'''&lt;br /&gt;
[[Image:Dosbox_config.png]]&lt;br /&gt;
&lt;br /&gt;
==== Windows XP ====&lt;br /&gt;
%USERPROFILE%\Local Settings\Application Data\DOSBox\dosbox-{version}.conf&lt;br /&gt;
==== Windows Vista &amp;amp; Windows 7 ====&lt;br /&gt;
''{system drive}'':\Users\''{username}''\AppData\Local\DOSBox\dosbox-{version}.conf&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
For Linux the configfile is created on the first run in ~/.dosbox/&lt;br /&gt;
The name is dosbox-version.conf where version is currently 0.73&lt;br /&gt;
&lt;br /&gt;
On Ubuntu in the dosbox man file it is written:&lt;br /&gt;
  Configuration  and  language files use a format similar to Windows .ini&lt;br /&gt;
  files.  First ~/.dosboxrc (if present)  will be loaded. If  no  config‐&lt;br /&gt;
  file  is  specified  at  the  commandline, a file named dosbox.conf (if&lt;br /&gt;
  present in the current directory) will be loaded  automatically  after‐&lt;br /&gt;
  wards. If a configfile is specified at the commandline that one will be&lt;br /&gt;
  used instead.&lt;br /&gt;
&lt;br /&gt;
===Mac OS X===&lt;br /&gt;
If you are using Mac OS X, a preferences file will be created for you on the first time you run DOSBox (as of version 0.73). This file contains the same system settings and initialization values as the '''dosbox.conf''' file on other systems.&lt;br /&gt;
&lt;br /&gt;
It can be found (and modified) at '''&amp;lt;tt&amp;gt;~/Library/Preferences/DOSBox 0.73 Preferences&amp;lt;/tt&amp;gt;''', where ~/ is your [[user profile folder]] (usually &amp;lt;tt&amp;gt;/Macintosh HD/Users/''username''/&amp;lt;/tt&amp;gt;). The exact folder name in the [http://en.wikipedia.org/wiki/Finder_(software) Finder] may vary, depending on the language you use for OS X.&lt;br /&gt;
&lt;br /&gt;
== Sections ==&lt;br /&gt;
&lt;br /&gt;
=== [sdl] ===&lt;br /&gt;
{{:Configuration:SDL}}&lt;br /&gt;
&lt;br /&gt;
=== [dosbox] ===&lt;br /&gt;
{{:Configuration:DOSBox}}&lt;br /&gt;
&lt;br /&gt;
=== [render] ===&lt;br /&gt;
{{:Configuration:RENDER}}&lt;br /&gt;
&lt;br /&gt;
=== [cpu] ===&lt;br /&gt;
{{:Configuration:CPU}}&lt;br /&gt;
&lt;br /&gt;
=== [mixer] ===&lt;br /&gt;
{{:Configuration:Mixer}}(see [[Sound]])&lt;br /&gt;
:Here you can define the quality of emulated audio.&lt;br /&gt;
&lt;br /&gt;
=== [midi] ===&lt;br /&gt;
(see [[Sound]])&lt;br /&gt;
{{:Configuration:MIDI}}&lt;br /&gt;
&lt;br /&gt;
=== [sblaster] ===&lt;br /&gt;
{{:Configuration:SBlaster}}(see [[Sound]])&lt;br /&gt;
:Sound Blaster related settings.&lt;br /&gt;
&lt;br /&gt;
=== [gus] ===&lt;br /&gt;
{{:Configuration:GUS}} (see [[Sound]])&lt;br /&gt;
:Gravis Ultra Sound related settings.&lt;br /&gt;
&lt;br /&gt;
=== [speaker] ===&lt;br /&gt;
{{:Configuration:PCSpeaker}} (see [[Sound]])&lt;br /&gt;
:PC Speaker related settings.&lt;br /&gt;
&lt;br /&gt;
=== [joystick] ===&lt;br /&gt;
{{:Configuration:Joystick}} (see [[Sound]])&lt;br /&gt;
:Joystick related settings.&lt;br /&gt;
&lt;br /&gt;
=== [serial] ===&lt;br /&gt;
{{:Configuration:SerialPort}}&lt;br /&gt;
&lt;br /&gt;
=== [dos] ===&lt;br /&gt;
{{:Configuration:DOS}}&lt;br /&gt;
&lt;br /&gt;
=== [ipx] ===&lt;br /&gt;
{{:Configuration:IPX}}&lt;br /&gt;
&lt;br /&gt;
=== [autoexec] ===&lt;br /&gt;
{{:Configuration:AUTOEXEC}}&lt;br /&gt;
&lt;br /&gt;
==Recommendations==&lt;br /&gt;
&lt;br /&gt;
Different games will naturally work best with different configuration settings.  Something to consider is to define a conf file for each game that will set the appropriate configurations and start the game for you.  Then, create a shortcut such as DOSBox.exe -conf &amp;quot;DOSbox-GameName.conf&amp;quot; so that you can start your game in the least possible number of steps.&lt;/div&gt;</summary>
		<author><name>Jez9999</name></author>
	</entry>
	<entry>
		<id>http://www.dosbox.com/wiki/index.php?title=Dosbox.conf&amp;diff=3903</id>
		<title>Dosbox.conf</title>
		<link rel="alternate" type="text/html" href="http://www.dosbox.com/wiki/index.php?title=Dosbox.conf&amp;diff=3903"/>
		<updated>2010-05-23T16:36:11Z</updated>

		<summary type="html">&lt;p&gt;Jez9999: /* [midi] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''dosbox.conf''' is a configuration file that DOSBox can use globally and/or locally per game (and settings that are left out are taken from the global file).  It contains various system settings and initialization values that define your emulated environment.  Everything can be controlled by editing this file or if you like through more graphically oriented [[DOSBoxFrontends|Front Ends]].  You can also [[Dosbox.conf#Creation and Location |create]] separate '''dosbox.conf''' files for multiple host environments (which is helpful in playing various DOS games that expect various types of hardware).&lt;br /&gt;
&lt;br /&gt;
The configuration file is broken into separate [[Dosbox.conf#Sections |sections]] which contain section settings.  Many of these settings do not need to be fully understood to configure DOSBox, but it is helpful to know where to look.  You should also be aware that anything to the right of the '''#''' to the end of the line is considered a comment as is totally ignored by DOSBox when it loads.&lt;br /&gt;
&lt;br /&gt;
== Creation and Location ==&lt;br /&gt;
Depending on the version or host OS, the dosbox.conf file is located either inside the [[user profile folder]] or inside the same folder as dosbox.exe.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
Dosbox.conf is created automatically in the Windows' [[user profile folder]]. The location is indicated by the DOSBox Status Window upon startup.&lt;br /&gt;
&lt;br /&gt;
You can find the '''dosbox.conf''' by browsing '''Start &amp;gt; All Programs &amp;gt; Dosbox-{version}'''&lt;br /&gt;
[[Image:Dosbox_config.png]]&lt;br /&gt;
&lt;br /&gt;
==== Windows XP ====&lt;br /&gt;
%USERPROFILE%\Local Settings\Application Data\DOSBox\dosbox-{version}.conf&lt;br /&gt;
==== Windows Vista &amp;amp; Windows 7 ====&lt;br /&gt;
''{system drive}'':\Users\''{username}''\AppData\Local\DOSBox\dosbox-{version}.conf&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
For Linux the configfile is created on the first run in ~/.dosbox/&lt;br /&gt;
The name is dosbox-version.conf where version is currently 0.73&lt;br /&gt;
&lt;br /&gt;
On Ubuntu in the dosbox man file it is written:&lt;br /&gt;
  Configuration  and  language files use a format similar to Windows .ini&lt;br /&gt;
  files.  First ~/.dosboxrc (if present)  will be loaded. If  no  config‐&lt;br /&gt;
  file  is  specified  at  the  commandline, a file named dosbox.conf (if&lt;br /&gt;
  present in the current directory) will be loaded  automatically  after‐&lt;br /&gt;
  wards. If a configfile is specified at the commandline that one will be&lt;br /&gt;
  used instead.&lt;br /&gt;
&lt;br /&gt;
===Mac OS X===&lt;br /&gt;
If you are using Mac OS X, a preferences file will be created for you on the first time you run DOSBox (as of version 0.73). This file contains the same system settings and initialization values as the '''dosbox.conf''' file on other systems.&lt;br /&gt;
&lt;br /&gt;
It can be found (and modified) at '''&amp;lt;tt&amp;gt;~/Library/Preferences/DOSBox 0.73 Preferences&amp;lt;/tt&amp;gt;''', where ~/ is your [[user profile folder]] (usually &amp;lt;tt&amp;gt;/Macintosh HD/Users/''username''/&amp;lt;/tt&amp;gt;). The exact folder name in the [http://en.wikipedia.org/wiki/Finder_(software) Finder] may vary, depending on the language you use for OS X.&lt;br /&gt;
&lt;br /&gt;
== Sections ==&lt;br /&gt;
&lt;br /&gt;
=== [sdl] ===&lt;br /&gt;
{{:Configuration:SDL}}&lt;br /&gt;
&lt;br /&gt;
=== [dosbox] ===&lt;br /&gt;
{{:Configuration:DOSBox}}&lt;br /&gt;
&lt;br /&gt;
=== [render] ===&lt;br /&gt;
{{:Configuration:RENDER}}&lt;br /&gt;
&lt;br /&gt;
=== [cpu] ===&lt;br /&gt;
{{:Configuration:CPU}}&lt;br /&gt;
&lt;br /&gt;
=== [mixer] ===&lt;br /&gt;
{{:Configuration:Mixer}}(see [[Sound]])&lt;br /&gt;
:Here you can define the quality of emulated audio.&lt;br /&gt;
&lt;br /&gt;
=== [midi] ===&lt;br /&gt;
(see [[Sound]])&lt;br /&gt;
:Here you can define any MIDI related settings.  The term MIDI is commonly used to refer to background music found in games, but specifically it refers to synthesizer audio (which can be passed directly from emulated games to modern hardware.&lt;br /&gt;
{{:Configuration:MIDI}}&lt;br /&gt;
&lt;br /&gt;
=== [sblaster] ===&lt;br /&gt;
{{:Configuration:SBlaster}}(see [[Sound]])&lt;br /&gt;
:Sound Blaster related settings.&lt;br /&gt;
&lt;br /&gt;
=== [gus] ===&lt;br /&gt;
{{:Configuration:GUS}} (see [[Sound]])&lt;br /&gt;
:Gravis Ultra Sound related settings.&lt;br /&gt;
&lt;br /&gt;
=== [speaker] ===&lt;br /&gt;
{{:Configuration:PCSpeaker}} (see [[Sound]])&lt;br /&gt;
:PC Speaker related settings.&lt;br /&gt;
&lt;br /&gt;
=== [joystick] ===&lt;br /&gt;
{{:Configuration:Joystick}} (see [[Sound]])&lt;br /&gt;
:Joystick related settings.&lt;br /&gt;
&lt;br /&gt;
=== [serial] ===&lt;br /&gt;
{{:Configuration:SerialPort}}&lt;br /&gt;
&lt;br /&gt;
=== [dos] ===&lt;br /&gt;
{{:Configuration:DOS}}&lt;br /&gt;
&lt;br /&gt;
=== [ipx] ===&lt;br /&gt;
{{:Configuration:IPX}}&lt;br /&gt;
&lt;br /&gt;
=== [autoexec] ===&lt;br /&gt;
{{:Configuration:AUTOEXEC}}&lt;br /&gt;
&lt;br /&gt;
==Recommendations==&lt;br /&gt;
&lt;br /&gt;
Different games will naturally work best with different configuration settings.  Something to consider is to define a conf file for each game that will set the appropriate configurations and start the game for you.  Then, create a shortcut such as DOSBox.exe -conf &amp;quot;DOSbox-GameName.conf&amp;quot; so that you can start your game in the least possible number of steps.&lt;/div&gt;</summary>
		<author><name>Jez9999</name></author>
	</entry>
</feed>