|
| 1 | +Things needed for compilation: |
| 2 | + |
| 3 | +SDL |
| 4 | + The Simple DirectMedia Library available at https://www.libsdl.org/ |
| 5 | + The dll distributed with the windows version of DOSBox is slightly |
| 6 | + modified. You can find the changes in the sourcepackage of DOSBox |
| 7 | + (src/platform/sdl-win32.diff). If you want the patched sourcetree |
| 8 | + send us an email. (see README) |
| 9 | + Note that only version 1.2 and its subversions (1.2.8, 1.2.13 etc.) |
| 10 | + are currently supported. |
| 11 | + License: LGPLv2+ |
| 12 | + |
| 13 | +Curses (optional) |
| 14 | + If you want to enable the debugger you need a curses library. |
| 15 | + ncurses should be installed on just about every unix distro. |
| 16 | + For win32 get pdcurses at https://pdcurses.org/ |
| 17 | + License: Public Domain |
| 18 | + |
| 19 | +Libpng (optional) |
| 20 | + Needed for the screenshots. |
| 21 | + For win32 get libpng from http://gnuwin32.sourceforge.net/packages.html |
| 22 | + See http://www.libpng.org/pub/png/ for more details. |
| 23 | + License: zlib/libpng |
| 24 | + |
| 25 | +Zlib (optional) |
| 26 | + Needed by libpng. |
| 27 | + For win32 get libz (rename to zlib) from http://gnuwin32.sourceforge.net/packages.html |
| 28 | + See https://www.zlib.net/ for more details. |
| 29 | + License: zlib |
| 30 | + |
| 31 | +SDL_Net (optional) |
| 32 | + For modem/ipx support. |
| 33 | + Get it from https://www.libsdl.org/projects/SDL_net/release-1.2.html |
| 34 | + License: LGPLv2+ |
| 35 | + |
| 36 | +SDL_Sound (optional) |
| 37 | + For compressed audio on diskimages (cue sheets) support. |
| 38 | + This is for cue/bin cdrom images with compressed (mp3/ogg) audio tracks. |
| 39 | + Get it from http://icculus.org/SDL_sound |
| 40 | + Licence: LGPLv2+ |
| 41 | + |
| 42 | +ALSA_Headers (optional) |
| 43 | + for Alsa support under linux. Part of the linux kernel sources |
| 44 | + License: LGPLv2+ |
| 45 | + |
| 46 | +If you want compile from developer sources (SVN) under a unix system, you'll |
| 47 | +also need automake (>=1.6) and autoconf(>=2.50). |
| 48 | +Should be available at https://www.gnu.org/software/ |
| 49 | + |
| 50 | +For building on unix systems. |
| 51 | +If you are building from developer sources run ./autogen.sh first before doing |
| 52 | +the following: |
| 53 | + |
| 54 | + $ ./configure |
| 55 | + $ make |
| 56 | + |
| 57 | +You can also run "./configure --help" for extra features to enable/disable. |
| 58 | +Some of them are: |
| 59 | + |
| 60 | +--enable-debug |
| 61 | + enables the internal debugger. --enable-debug=heavy enables even more |
| 62 | + debug options. To use the debugger, DOSBox should be run from an xterm |
| 63 | + and when the sdl-window is active press alt-pause to enter the |
| 64 | + debugger. |
| 65 | + |
| 66 | +--disable-core-inline |
| 67 | + disables some memory increasing inlines. This speeds up compilation, |
| 68 | + but may result in a slower dosbox. |
| 69 | + |
| 70 | +--disable-fpu |
| 71 | + disables the emulated fpu. Although the fpu emulation code isn't |
| 72 | + finished and isn't entirely accurate, it's advised to leave it on. |
| 73 | + |
| 74 | +--disable-fpu-x86 |
| 75 | +--disable-fpu-x64 |
| 76 | + disables the assembly fpu core. Although relatively new, the x86/x64 |
| 77 | + fpu core has more accuracy than the regular fpu core. |
| 78 | + |
| 79 | +--disable-dynamic-x86 |
| 80 | + disables the dynamic x86/x64 specific cpu core. Although it might be |
| 81 | + a bit unstable, it can greatly improve the speed of dosbox on x86 and |
| 82 | + x64 hosts. |
| 83 | + Please note that this option on x86/x64 will result in a different |
| 84 | + dynamic/recompiling cpu core being compiled than the default. |
| 85 | + For more information see the option --disable-dynrec |
| 86 | + |
| 87 | +--disable-dynrec |
| 88 | + disables the recompiling cpu core. Currently x86/x64 and arm only. |
| 89 | + You can activate this core on x86/x64 by disabling the dynamic-x86 |
| 90 | + core. |
| 91 | + |
| 92 | +--disable-dynamic-core |
| 93 | + disables all dynamic cores (same effect as --disable-dynamic-x86 |
| 94 | + or --disable-dynrec). |
| 95 | + |
| 96 | +--disable-opengl |
| 97 | + disables OpenGL-support (output mode that can be selected in the |
| 98 | + DOSBox configuration file). |
| 99 | + |
| 100 | +--disable-unaligned-memory |
| 101 | + disables unaligned memory access. |
| 102 | + |
| 103 | +Check the src subdir for the binary. |
| 104 | + |
| 105 | +NOTE: If capslock and numlock appear to be broken. open |
| 106 | +src/ints/bios_keyboard.cpp and go to line 30 and read there how to fix it. |
| 107 | + |
| 108 | + |
| 109 | +Build instructions for VC++6 |
| 110 | +Don't use VC++ 6: it creates faulty code in core_normal.cpp |
| 111 | +Later Visual Studio versions work fine (vs2003/.net up to vs2010) |
0 commit comments