bare-metal Sega System 16/18 emulator for Raspberry Pi.

Download now
for RPi 3 & 4 · free · GPLv3 · ● tested on hardware

01 PCB

System 16A/B/C, 18

Main CPU
68000 · 10 MHz (FD1089/FD1094 decrypted)
Sound CPU
Z80 · 4–8 MHz
Sound
16A: YM2151 + µPD7751 · 16B: YM2151 + µPD7759 · 18: 2 × YM3438 + RF5C68
Video
two tile layers, text layer, 128 sprites · 18: plus the Mega Drive VDP (315-5313)
Picture
320 × 224 · 60.05 Hz (18: 57.23 Hz)

RPi

Core 0
68000 · Z80 · sound chips (+ pads and UI)
Core 1
tiles · sprites · VDP (beam racing)
Core 2
TV filters
Output
HDMI 1080p (4×) or 720p (3×), integer scaling · 48 kHz audio
Pads
USB, polled every 1 ms · up to 4 players
Saves
hiscores · battery RAM · save state

02 Attract mode

Game list
Game list
Golden Axe
Golden Axe (System 16)
Michael Jackson's Moonwalker: the graveyard spotlights
Michael Jackson's Moonwalker (System 18)
Shinobi: a ninja leaps at the screen in the bonus stage
Shinobi bonus stage (System 16)
Detail of Alien Storm's hot dog van through the composite filter: colour fringes and dot crawl on the edges
Optional composite filter (detail)
DIP switches over Altered Beast
DIP switches
New in 0.3.2

Laser Ghost is
now supported for shooting action!

Something evil walks the streets tonight… Lock and load, ghost hunter! Up to three players, a pad for each gun, and the laser sights adjust themselves.

Laser Ghost

03 Beam racing

s16-pi uses beam racing to send each scanline to the TV as soon as it is rendered, in sync with the display's refresh. An emulator with double buffering instead waits for the entire frame to be rendered before presenting it, adding up to one frame of latency.

beam racing
double buffering
button pressed the game reads the pads frame rendered frame sent to the TV, line by line

04 ROMs

YearGameSystemMAME sets
1990Alien Storm18astorm astorm3 astormu astormj
1986Alex Kidd: The Lost Stars16Aalexkidd alexkidd1
1987Alien Syndrome16A/Baliensyn aliensyn7 aliensyn3 aliensynj aliensyn5 aliensyn2 aliensynjo
1988Altered Beast16Baltbeast altbeastj altbeast6 altbeast5 altbeast4 altbeastj3 altbeast2 altbeastj1
1990Aurail16Baurail aurail1 aurailj
1989Bay Route16Bbayroute bayroutej bayroute1
1986Body Slam16Abodyslam
1989Bloxeed18bloxeed bloxeeda
1991Clutch Hitter18cltchitr cltchitrj
1991Cotton16Bcotton cottonu cottonj cottonja
1989Cyber Police ESWAT16Beswat eswatu eswatj eswatj1
1991D. D. Crew18ddcrew ddcrewu ddcrew2 ddcrew1 ddcrewj ddcrewj2
1988Dynamite Dux16Bddux dduxj ddux1
1986Fantasy Zone16Afantzone fantzone1 fantzonee fantzonepr
2008Fantasy Zone II – The Tears of Opa-Opa16Cfantzn2x fantzn2xp
1989Flash Point16Bfpoint fpoint1
1989Golden Axe16Bgoldnaxe goldnaxeu goldnaxej goldnaxe3 goldnaxe2 goldnaxe1
1990Laser Ghost18lghost lghostu lghostj
1990Michael Jackson’s Moonwalker18mwalk mwalku mwalkj
1989MVP16Bmvp mvpj
1986Quartet 216Aquartet2 quartet2a
1991Riot City16Briotcity
1990RyuKyu16Bryukyu ryukyua
1989Shadow Dancer18shdancer shdancerj shdancer1
1987Shinobi16A/Bshinobi shinobi1 shinobi6 shinobi5 shinobi4 shinobi3 shinobi2
1988Tetris16A/Btetris tetris3 tetris2 tetris1
1994Toryumon16Btoryumon
1989Tough Turf16Btturf tturfu
1996Waku Waku Ultraman Racing16Bultracin
1988Wonder Boy III – Monster Lair16A/Bwb3 wb34 wb33 wb32 wb31 wb35

Horizontal games only. ROMs are found by CRC, so sets from other MAME versions work too. A clone that shares ROMs with its parent also needs the parent's zip. Games are not included.

05 Insert coin

Set-up

  1. Format a micro SD card as FAT32 and copy everything from the zip to its root.
  2. Put your System 16 and 18 games in the s16pi folder as MAME zips. A clone also needs its parent's zip.
  3. Connect a USB pad and the TV, insert the card, switch on.

Controls

A B C
buttons 1–3
Select
coin · hold 1 s for the in-game menu
Select + A
screenshot
Select + B
lazy finger (auto fire)
Select + C
status line
Select + D
credits

06 Support

s16-pi is free. Enjoying it?

Buy me a coffee

Siblings: neo-pi · m92-pi · nes-pi