Out Run Arcade Software Development Kit

Updated July 30, 2020: New 2020.1 SDK released!

Version 2020.1 has been released!
It has numerous fixes, new convenience functionality and a new communication sample for use with the OutRun-USB interface.
Check out the full list below.


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.

You can now develop on Windows, Linux and MacOS platforms, and can run the result either via MAME, dedicated ROMs on original hardware, or upload to RAM via bootloader and USB or legacy LPT interfaces.


In addition, it has some samples to get you going. Here are pretentious screenshots.


Firstly, you can download the SDK package here. This no longer comes with prebuilt GCC binaries, a build script is included.

Previous 'preview 2' version (2016): outrun_sdk_preview_2.zip

Then please closely follow install.txt!

For now I recommend just putting everything in c:\outrun. Either download prebuilt 'outrun-gcc' binaries, or build them using the included buildgcc-8.2.0.sh script (see header for further platform-specific requirements).

Run 'setupenv.bat' to add gcc to your path (not stored permanently, just for the open console).
Non-windows users: use 'source setupenv.sh'.

The SDK has already been prebuilt, but you can run build_sdk.bat/.sh from the /sdk/ directory to re-create the libraries.

You can run 'make.bat' (.sh) or 'make.bat clean' from any of the sample subdirectories (except /common/) to build or clean a sample. It'll generate both ROM images and binaries for the bootloader.

Windows only: 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.


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.

New in version 2020.1

Additional links

For compiling GCC yourself see Building the 68000 cross compiler, or have a script do it for you.
For transferring your programs to the PCB via USB interface, check out the Out Run to USB Development/PS2 Controller Interface.
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.