Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Mega-Pi

github.com

  • Free plan
  • Linux
6.9 Club score Visit github.com

What Mega-Pi is

Mega-Pi is a free, bare-metal Sega Mega Drive/Genesis emulator for Raspberry Pi 3 and 4. It runs without an operating system such as Linux, a design the project associates with near-instant boot and very low input latency. The emulator uses the Picodrive core and Circle bare-metal C++ framework, assigning orchestration, video, audio, and input work across four Raspberry Pi ARM cores. It scans Genesis and Mega Drive ROMs in .bin, .md, and .gen formats, plus Sega CD/Mega CD games in .cue with .bin tracks or compressed .chd files. Sega CD support covers the Sub-CPU, PCM audio, CD audio, and rotation/scaling graphics hardware. Video uses 2× integer nearest-neighbor scaling to 640×480, with 44.1 kHz stereo audio from the Pi PWM sound engine. USB gamepads and keyboards are supported. Save states are stored on the SD card, and favorites can be recorded in SD:/roms/favorites.txt. Running it requires a FAT32 SD card, boot files, a kernel image, games, and USB input devices; Sega CD also needs regional BIOS files in a bios folder. Compilation requires the GNU Arm Embedded Toolchain and a configured Circle framework.

Who it suits

Mega-Pi suits Raspberry Pi owners who want a direct-boot emulator for Mega Drive, Genesis, or Sega CD software. It is aimed at users comfortable preparing SD cards, ROMs, input devices, and BIOS files.

Good to know, and what to watch

  • Bare-metal Raspberry Pi emulation
  • Supports Genesis and Sega CD formats
  • USB gamepad and keyboard support
  • SD-card save states
  • 44.1 kHz stereo audio
  • Requires Raspberry Pi 3 or 4
  • Sega CD games require regional BIOS files
  • Needs FAT32 SD card setup
  • Compilation requires GNU Arm toolchain

The verdict

Mega-Pi focuses on direct Raspberry Pi hardware execution, broad Mega Drive and Sega CD format support, and documented controls and saves.

What the maker publishes

BIOS setup
Sega CD support requires regional BIOS files named `bios_CD_U.bin`, `bios_CD_E.bin`, or `bios_CD_J.bin` in a `bios` folder on the SD card. source
Boot and latency
The project says bypassing an operating system such as Linux enables near-instant boot times and ultra-low input latency. source
Build requirement
Compiling the project requires the GNU Arm Embedded Toolchain, and the Circle framework must be configured and built first. source
Build requirement
The project’s compile instructions require the GNU Arm Embedded Toolchain (`arm-none-eabi-gcc`). source
Controls
It supports USB gamepads and USB keyboards, with menu and gameplay shortcuts documented for each. source
Controls
The emulator supports USB gamepads and USB keyboards out of the box. source
Credits
The project credits R. Stange for Circle and notaz and community contributors for Picodrive. source
Display and audio
The video core performs 2× integer nearest-neighbor upscaling to 640×480, and audio is output as 44.1 kHz stereo through the Pi PWM sound engine. source
Distribution
The repository page lists a mega-pi-release-v1.1.zip file and documents packaging a release archive. source
Emulation core
Mega-Pi uses the Picodrive emulation core and the Circle bare-metal C++ framework. source
Emulation core
It uses the Picodrive emulation core and the Circle bare-metal C++ framework. source
Favorites
Users can persist game favorites in SD:/roms/favorites.txt. source
Favorites
Game favorites are stored persistently in `SD:/roms/favorites.txt`. source
Installation
Running it requires a FAT32 SD card containing the boot files, the compiled kernel image, a `roms` folder, and—when using Sega CD games—a `bios` folder. source
Maker
The GitHub profile identifies the repository owner as Alexsander Loula and lists Sao Paulo, Brazil. source
Multicore design
The README assigns orchestration, video, audio, and input work to four Raspberry Pi ARM cores. source
Multicore design
The emulator distributes orchestration, video, audio, and input work across the Raspberry Pi’s four ARM cores. source
Purpose
Mega-Pi is a bare-metal Sega Mega Drive/Genesis emulator designed to run on Raspberry Pi. source
Purpose
Mega-Pi is a bare-metal Sega Mega Drive/Genesis emulator designed to run on Raspberry Pi. source
ROM formats
The emulator scans .bin, .md, and .gen Genesis/Mega Drive files, plus .cue and .chd Sega CD/Mega CD files. source
ROM formats
It scans Genesis/Mega Drive `.bin`, `.md`, and `.gen` files, as well as Sega CD `.cue` and `.chd` files. source
Save states
Save states are stored on the SD card, and the project says save operations check card status and verify sector programming before returning. source
Save states
Save states are stored on the SD card, and the README says save operations check SD-card status and confirm sector programming before returning. source
Sega CD support
It supports Sega CD/Mega CD games in .cue with .bin tracks and compressed .chd formats, and describes emulation of the Sub-CPU, PCM audio, CD audio, and rotation/scaling graphics hardware. source

Checked against the maker's pages on 3 Oct 2026.