To build in windows, I use the Cygwin environment, not an MS environment.
Only the old basilisk142 code (2001) can be build in VC(version 6 at most). All subsequent development was done in Linux.
The source code for the startupsound enabled Basilisk/SheepShaver consists of a dirty hack that only works in the windows versions. I took the
-startupsound.h and startupsound.cpp files from the old Basilisk142 version for Windows version and put them into the windows source folder of Basilisk and SheepShaver
in startupsound.cpp and left only this function in the body (You'll see why the sound file must be named "boing.wav"
char *fname = "boing.wav"; // get_startup_sound_fname( checksum );
PlaySound ( fname, 0, SND_FILENAME|SND_ASYNC|SND_NODEFAULT|SND_NOWAIT );
-added the "play_startup_sound();" function call to main.cpp (this doesn't differentiate between Windows and the other host OS supported)
-added startupsound.cpp to the SRCS section of the make file after configure had ran.
I will not write to the development list to have it included in the source, unless someone cleans it up. (I'm just a run-of-the-mill philosopher, not a programmer
Also, the old version of the startupsound procedure was much nicer as it extracted the sound from the rom file, while mine only plays a sound already available.
The normal source code for basilisk and sheepshaver is available from the CVS repository. Instructions to get the code and build:
#download sdl 1.2.14 source
#cd into SDLfolder
./configure --disable-shared --prefix=`pwd`
#stay in the same command window
cvs -d :pserver:firstname.lastname@example.org:/home/cvs/cebix login
#password is "anoncvs"
cvs -d :pserver:email@example.com:/home/cvs/cebix checkout BasiliskII
cvs -d :pserver:firstname.lastname@example.org:/home/cvs/cebix checkout SheepShaver
./configure --enable-jit-compiler=yes --disable-gtktest