Installation on Linux
Prerequisites:
-
Have Linux up and running (of course...)
-
A wavetable synthesizer on /dev/midi00 and a working /dev/dsp if you want
real time music and sound, otherwise output to midi and wave files is also
possible.
Optionally, you can use a software midi interpreter, such as the midid
program from the DosEmu project instead of /dev/midi00.
-
Have the Bochs source code installed, preferably the current version (991023a)
and a suitable compiler (gcc will do). Other versions of Bochs may require
a bit of manual tuning and may result in rejected patch chunks.
Installing the patch:
-
Unpack the patch somewhere, for example with "tar -xzf bochs-sb16-991028.tar.gz".
It will unpack into its own directory bochs-sb16-991028, so as
not to overwrite any important files.
-
Install it by copying bochs-sb16-991028.dif to the main Bochs
source directory, and then call
patch -p0 < bochs-sb16-991028.dif
It will change all the files that have to be changed, install the new
files. After this, delete the old and obsolete files by doing a
make all-clean.
-
It may be necessary to run ./configure again, depending on your
configuration. If you get compile errors, try this! But remember to back
up your config.h file as it will be overwritten.
-
Change config.h to reflect your system. Most importantly, the BX_SOUND_OUTPUT_C
class has to be defined according to your system.
-
Recompile Bochs and install the new executable file.
Setup:
-
Setup the SB16 emulation in your .bochsrc, according to the example
in the Readme file or the .bochsrc of the distribution.
-
Try it, and (hopefully) enjoy!
This page and all graphics on it copyright © 1999 by Josef
Drexler.
Last changed on Oct 28 1999 0:44 EST by Josef
Drexler