To compile wpcmame:
- Extract the MAME 0.37b8 source.

- Set up your system so that you can compile MAME.
(inctructions can be found at www.mame.net)

Extract the wpcmame source files on top of the mame source and build!!


WPCMAME files
-------------
wpc.c        The main emulation driver. Handles all emulation except sound.
dcs.c        DCS sound emulation.
wpcsound.c   pre-DCS sound emulation.
wpcsim.c     ball simulator engine.
driver.c     driver definition file.
tz.c         driver and simulator for Twilight Zone.
afm.c        driver and simulator for Attack From Mars.
taf.c        driver and simulator for The Addams Family.
fh.c	     driver and simulator for Funhouse.
t2.c	     driver and simulator for Terminator 2.
games.c      drivers for all other games.
snd_cmd.c    sound command mode & wave recording.




*********************************************************************
If you want to use another mame version than MAME 0.37b8 you should
manually patch 2 mame files instead of overwriting them.
*********************************************************************
The files are:

makefile
  Change the target from "mame" to "wpcmame".

src/cpu/adsp2100/adsp2100.c
  The adsp2100 core is optimised for the williams video games and does
  not work properly for the pinball games. A small hack is needed.
  The lines to add are marked within "#ifdef WPCMAME" (two places) in
  the file supplied with wpcmame. Note that if the core were written properly
  this hack wouldn't be needed. I have mentioned the problem to the mamedevs
  and maybe they will correct the problem (but I don't think so).

src/usrintf.c
  Comment out calls for F4, displaying the graphics used in the game. You can leave it in,
  if you wish, but sound command mode works better if it's commented out.

src/msdos/fileio.c
  Add sections for WAVEFILE support.. Code is commented within #ifdef WPCMAME..

src/msdos/config.c
  Add wavedir as an option.. Code is commented within #ifdef WPCMAME...

src/osdepend.h
  Add OSD_FILETYPE_WAVEFILE... Code is commented within #ifdef WPCMAME...


