2021-02-06 16:06:31 +01:00
|
|
|
Things needed for compilation:
|
2021-02-06 09:39:32 +01:00
|
|
|
|
2021-02-06 16:06:31 +01:00
|
|
|
SDL
|
|
|
|
The Simple DirectMedia Library available at https://www.libsdl.org/
|
2021-02-06 09:39:32 +01:00
|
|
|
The dll distributed with the windows version of DOSBox is slightly
|
|
|
|
modified. You can find the changes in the sourcepackage of DOSBox
|
|
|
|
(src/platform/sdl-win32.diff). If you want the patched sourcetree
|
|
|
|
send us an email. (see README)
|
|
|
|
Note that only version 1.2 and its subversions (1.2.8, 1.2.13 etc.)
|
|
|
|
are currently supported.
|
2021-02-06 16:06:31 +01:00
|
|
|
License: LGPLv2+
|
2021-02-06 09:39:32 +01:00
|
|
|
|
|
|
|
Curses (optional)
|
|
|
|
If you want to enable the debugger you need a curses library.
|
|
|
|
ncurses should be installed on just about every unix distro.
|
2021-02-06 16:06:31 +01:00
|
|
|
For win32 get pdcurses at https://pdcurses.org/
|
|
|
|
License: Public Domain
|
2021-02-06 09:39:32 +01:00
|
|
|
|
|
|
|
Libpng (optional)
|
|
|
|
Needed for the screenshots.
|
|
|
|
For win32 get libpng from http://gnuwin32.sourceforge.net/packages.html
|
|
|
|
See http://www.libpng.org/pub/png/ for more details.
|
2021-02-06 16:06:31 +01:00
|
|
|
License: zlib/libpng
|
2021-02-06 09:39:32 +01:00
|
|
|
|
|
|
|
Zlib (optional)
|
|
|
|
Needed by libpng.
|
|
|
|
For win32 get libz (rename to zlib) from http://gnuwin32.sourceforge.net/packages.html
|
2021-02-06 16:06:31 +01:00
|
|
|
See https://www.zlib.net/ for more details.
|
|
|
|
License: zlib
|
2021-02-06 09:39:32 +01:00
|
|
|
|
|
|
|
SDL_Net (optional)
|
2021-02-06 16:06:31 +01:00
|
|
|
For modem/ipx support.
|
|
|
|
Get it from https://www.libsdl.org/projects/SDL_net/release-1.2.html
|
|
|
|
License: LGPLv2+
|
2021-02-06 09:39:32 +01:00
|
|
|
|
2021-02-06 16:06:31 +01:00
|
|
|
SDL_Sound (optional)
|
|
|
|
For compressed audio on diskimages (cue sheets) support.
|
2021-02-06 09:39:32 +01:00
|
|
|
This is for cue/bin cdrom images with compressed (mp3/ogg) audio tracks.
|
|
|
|
Get it from http://icculus.org/SDL_sound
|
2021-02-06 16:06:31 +01:00
|
|
|
Licence: LGPLv2+
|
2021-02-06 09:39:32 +01:00
|
|
|
|
2021-02-06 16:06:31 +01:00
|
|
|
ALSA_Headers (optional)
|
2021-02-06 09:39:32 +01:00
|
|
|
for Alsa support under linux. Part of the linux kernel sources
|
2021-02-06 16:06:31 +01:00
|
|
|
License: LGPLv2+
|
2021-02-06 09:39:32 +01:00
|
|
|
|
2021-02-06 16:06:31 +01:00
|
|
|
If you want compile from developer sources (SVN) under a unix system, you'll
|
|
|
|
also need automake (>=1.6) and autoconf(>=2.50).
|
|
|
|
Should be available at https://www.gnu.org/software/
|
2021-02-06 09:39:32 +01:00
|
|
|
|
|
|
|
For building on unix systems.
|
2021-02-06 16:06:31 +01:00
|
|
|
If you are building from developer sources run ./autogen.sh first before doing
|
|
|
|
the following:
|
2021-02-06 09:39:32 +01:00
|
|
|
|
2021-02-06 16:06:31 +01:00
|
|
|
$ ./configure
|
|
|
|
$ make
|
2021-02-06 09:39:32 +01:00
|
|
|
|
2021-02-06 16:06:31 +01:00
|
|
|
You can also run "./configure --help" for extra features to enable/disable.
|
|
|
|
Some of them are:
|
2021-02-06 09:39:32 +01:00
|
|
|
|
2021-02-06 16:06:31 +01:00
|
|
|
--enable-debug
|
|
|
|
enables the internal debugger. --enable-debug=heavy enables even more
|
|
|
|
debug options. To use the debugger, DOSBox should be run from an xterm
|
|
|
|
and when the sdl-window is active press alt-pause to enter the
|
|
|
|
debugger.
|
|
|
|
|
|
|
|
--disable-core-inline
|
|
|
|
disables some memory increasing inlines. This speeds up compilation,
|
|
|
|
but may result in a slower dosbox.
|
2021-02-06 09:39:32 +01:00
|
|
|
|
|
|
|
--disable-fpu
|
2021-02-06 16:06:31 +01:00
|
|
|
disables the emulated fpu. Although the fpu emulation code isn't
|
|
|
|
finished and isn't entirely accurate, it's advised to leave it on.
|
2021-02-06 09:39:32 +01:00
|
|
|
|
|
|
|
--disable-fpu-x86
|
2021-02-06 16:06:31 +01:00
|
|
|
--disable-fpu-x64
|
|
|
|
disables the assembly fpu core. Although relatively new, the x86/x64
|
|
|
|
fpu core has more accuracy than the regular fpu core.
|
2021-02-06 09:39:32 +01:00
|
|
|
|
|
|
|
--disable-dynamic-x86
|
2021-02-06 16:06:31 +01:00
|
|
|
disables the dynamic x86/x64 specific cpu core. Although it might be
|
|
|
|
a bit unstable, it can greatly improve the speed of dosbox on x86 and
|
|
|
|
x64 hosts.
|
|
|
|
Please note that this option on x86/x64 will result in a different
|
|
|
|
dynamic/recompiling cpu core being compiled than the default.
|
2021-02-06 09:39:32 +01:00
|
|
|
For more information see the option --disable-dynrec
|
|
|
|
|
|
|
|
--disable-dynrec
|
2021-02-06 16:06:31 +01:00
|
|
|
disables the recompiling cpu core. Currently x86/x64 and arm only.
|
|
|
|
You can activate this core on x86/x64 by disabling the dynamic-x86
|
|
|
|
core.
|
2021-02-06 09:39:32 +01:00
|
|
|
|
|
|
|
--disable-dynamic-core
|
2021-02-06 16:06:31 +01:00
|
|
|
disables all dynamic cores (same effect as --disable-dynamic-x86
|
|
|
|
or --disable-dynrec).
|
2021-02-06 09:39:32 +01:00
|
|
|
|
|
|
|
--disable-opengl
|
|
|
|
disables OpenGL-support (output mode that can be selected in the
|
|
|
|
DOSBox configuration file).
|
|
|
|
|
|
|
|
--disable-unaligned-memory
|
|
|
|
disables unaligned memory access.
|
|
|
|
|
|
|
|
Check the src subdir for the binary.
|
|
|
|
|
|
|
|
NOTE: If capslock and numlock appear to be broken. open
|
|
|
|
src/ints/bios_keyboard.cpp and go to line 30 and read there how to fix it.
|
|
|
|
|
|
|
|
|
|
|
|
Build instructions for VC++6
|
|
|
|
Don't use VC++ 6: it creates faulty code in core_normal.cpp
|
|
|
|
Later Visual Studio versions work fine (vs2003/.net up to vs2010)
|