Download the DJGPP and
related files from Mame.net.
http://www.mame.net/downmain.html
Extract the contents of the files, allowing directories to be created.
Add the \DJGPP\bin directory to your environment path via autoexec.bat or control
panel • system • advanced. (Specific details on setting up DJGPP can be found
at http://www.mame.net/compile.html
)
Download the latest baseline Mame source.
http://www.mame.net/downmain.html
Extract the contents of the file, allowing directories to be created.
Download the latest MameDos:Analog+ source.
https://www.angelfire.com/retro/u_rebelscum/download.html
Extract the contents of the file, allowing directories to be created and overwriting
all files.
Overlay the Mame:Analog+ directory structure [and subs] onto the baseline Mame
directory.
Compile with 'make.exe MAMEOS=msdos'
Note: case makes a difference. If you want to compile the CPU optimized
versions, add I686=1 or K6=1 as needed.
For Further compiling info see the How to compile (dos) page at http://www.mame.net/documents.html .