VCMame 0.72
-----------

1:  Common steps
2:  Compiling VCMame 0.72 under Visual C 6 (DevStudio)
3:  Compiling VCMame 0.72 under Visual C 7 (.NET)
4:  Source patches

--

1: Common Steps
---------------

You need to install the NASMW assembler on your machine.  You can get it from the downloads 
section of Mame website amongst other places (www.mame.net).  Make sure your Visual C 'exe' path
(Tools -> Options -> Projects -> Directories) includes the directory where you install NASM.

--

2: Compiling VCMame 0.72 under Visual C 6 (DevStudio)
-----------------------------------------------------

Follow these steps, in this order!

1) Unzip mame source to a location on your hard drive, eg, d:\mame\mame72
2) Unzip zlib source to the same location.
3) Unzip vcmame72 source to the same location.
4) Make sure you have a copy of the DX SDK from Microsoft installed.

You should now have the following directory layout:

zlib/		(Zlib source)
src/		(Standard Mame source)
src/vc		(VC Mame header & patches)
docs/		(Standard Mame docs)

Plus these files at the root:

vcmame.dsp
vcmame.dsw
a68000.dsp
c68000.dsp
hdcomp.dsp
romcmp.dsp
zlib.dsp
xml2info.dsp

Now, just load up vcmame.dsw and build the project!  Remember your built exe's will have the
filenames vcmame.exe & vcmamed.exe so make sure you name your ini files vcmame.ini and 
vcmamed.ini.

--

3: Compiling VCMame 0.72 under Visual C 7 (.NET)
------------------------------------------------

Follow these steps, in this order!

1) Unzip mame source to a location on your hard drive, eg, d:\mame\mame72
2) Unzip zlib source to the same location.
3) Unzip vcmame72 source to the same location.
4) Make sure you have a copy of the DX SDK from Microsoft installed.

You should now have the following directory layout:

zlib/		(Zlib source)
src/		(Standard Mame source)
src/vc		(VC Mame header & patches)
docs/		(Standard Mame docs)

Plus these files at the root:

vcmame.sln
vcmame.vcproj
a68000.vcproj
c68000.vcproj
hdcomp.vcproj
romcmp.vcproj
zlib.vcproj
xml2info.vcproj

Now, just load up vcmame.sln and build the project!  Remember your built exe's will have the
filenames vcmame.exe & vcmamed.exe so make sure you name your ini files vcmame.ini and 
vcmamed.ini.

--
4:  Patches
-----------

The following files are patched from the official source:

src/drivers/cave.c		(C99 style variable use)
src/cpu/mips/mips.c		(GCC style ellipses)

--

Bryan McPhail, mish@vcmame.net, 18/8/2003
