This is a preview version of the Out Run SDK. It is in heavy beta. Any feedback is most welcome!
If you are experiencing hangs while running the samples in MAME, please see MAME compatibility issues.
The Out Run Arcade SDK allows you to write software for the Out Run arcade board using C (or C++, yes, it actually mostly works, but has a huge memory footprint). It provides startup code as well as functionality to interface the hardware components.
In addition, it has some samples to get you going. Here are pretentious screenshots.
Firstly, you can download the entire package including GCC binaries here.
Then please closely follow install.txt!
For now I recommend just putting everything in c:\outrun.
Run 'setupenv.bat' first to add gcc to your path (not stored permanently, just for the open console).
The SDK has already been prebuilt, but you can run build_sdk.bat from the sdk directory to recreate the libs.
You can run 'make.bat' or 'make.bat clean' from any of the samples subdirectories (except /common/) to build or clean a sample. It'll generate both ROM images and binaries for the bootloader.
If you have MAME installed, you can either set the environment variable MAME_PATH to the MAME installation folder, or edit /bin/run.bat to include it. Default search locations are c:\mame and c:\outrun\mame.
*** MAKE SURE TO BACKUP THE /roms/outrun/ SUBFOLDER IF YOU HAVE ONE ***
And also have outrun.zip in the /roms/ subfolder. This is the regular original Rev. B ROM set.
Once built, you can use 'run.bat' or 'run.bat debug' to copy the EPR-*.* files to the MAME's /roms/outrun/ folder and start MAME either with or without debugging.
More will follow after I update and/or finalize the SDK and this placeholder page.
For compiling GCC yourself see Building the 68000 cross compiler.
For hooking up your PCB to a TV or power supply see Hooking a Sega Outrun arcade PCB up to an AT(X) power supply and SCART TV.