Retro Boy: simple Game Boy emulator written in Rust, can be played on the web
Published on: 2025-06-06 04:54:17
Retro Boy is a simple Game Boy emulator written in Rust that can be played on the web. Try it here.
Introduction
Retro Boy is a cycle-accurate Game Boy emulator written in Rust. It uses wasm-pack to translate the Rust code into WebAssembly so it can be played on the web. The web frontend then uses Web Audio API and HTML Canvas for audio and graphics. It also leverages the browser's local storage to persist cartridge RAM data for battery-backed MBC cartridges.
Features
Accurate CPU that passes all JSON CPU tests
Accurate audio emulation
Graphics emulation built using a scanline-based renderer
MBC1, MBC3, MBC5, and HuC1 support
RTC support for MBC3 cartridges
Cartridge RAM that persists to browser local storage for battery-backed cartridges
Support for GameShark or GameGenie cheats
A web frontend that supports: Fullscreen mode Pausing/resuming Selectable monochrome or color modes Customizable key map for game controls Management and enabling/disabling of game cheat codes A m
... Read full article.