gilius turns your trusty old Raspberry Pi 1 or Zero into an NTSC SEGA Mega Drive ~ Genesis, with HDMI or composite video output and responsive controls that closely match the original hardware, thanks to its beam racing implementation. It runs in a bare-metal environment and includes a few modern conveniences, such as save states (one per game, to keep it challenging), turbo buttons, a choice between the Model 1 and Model 2 sound chips, and an option to raise the sprite limit.
Boards
Pi 1 (Model A, A+, B or B+), Pi Zero (or Zero W)
Core
PicoDrive (68000 and Z80 in ARM assembly)
CPU
1000 MHz (Pi 1: safe overclock)
Video
composite, NTSC 240p (or HDMI 1080p)
Sound
jack, 48 kHz (or HDMI)
Pads
USB, 3 or 6 buttons, 2 players
Game listReal photo of the game list on a CRTIn-game menuOptions
Real photo of gameplay on a CRT, via the Pi 1 composite
02 Setup
Copy everything from the zip to a FAT32 SD card.
Put your ROMs in the gilius folder: .md.bin.gen.smd or .zip.
Connect the TV to the composite jack, one or two USB pads, and power on.
Pi Zero / Zero W: HDMI only. For HDMI on the Pi 1, swap the two include lines in config.txt. Only NTSC games are supported.
03 Controls
The first time you connect a new controller, you'll be asked to map buttons A, B, C, X, Y and Z, followed by SELECT and START. Directional controls are configured automatically.
Select
MODE (short press) · menu (hold 1 s)
Select + A
screenshot
Select + B
lazy finger (turbo buttons)
Select + C
status line
Select + X
credits
04 Menu
State
save and load, one per game
Sound
MODEL 1 (YM2612, low-pass filter) or MODEL 2 (cleaner YM3438)
Pad
3 or 6 buttons
Scanlines
on or off (HDMI only)
Sprite limit
on (as the console) or off (fewer missing sprites)
Battery saves and states are kept in gilius/saves.