ARCADEPICK A CARTRIDGE
Keys: ←↑↓→ or WASD move, X/K = A, Z/J = B, Enter Start, Shift Select, hold Space to fast-forward. Gamepads work too. Game saves are kept in this browser.
THE CARTRIDGE SHELF
Free, open-source homebrew made by the Game Boy community. Pick one, or load a .gb file of your own.
WHAT'S UNDER THE HOOD
Every part of the handheld is emulated in plain JavaScript, written for this page. There's no emulator library and no boot ROM.
- The CPU runs all 500 Sharp SM83 opcodes. Each memory access costs one machine cycle, so timers and video see accesses at the right moment.
- The video chip draws scanlines with windows, 10 sprites per line and correct priority rules.
- Sound comes from four channels (two pulse, wave, noise) with sweep, envelopes and a 512 Hz sequencer.
- Cartridge chips: MBC1, MBC2, MBC3 with its real-time clock, and MBC5. Battery saves persist.
HOW I TESTED IT
The core passes the community's standard hardware test ROMs:
- Blargg's cpu_instrs: all 11 instruction groups
- Blargg's instr_timing and mem_timing
- dmg-acid2: the rendering test, pixel-identical to the reference
It runs about 20 times faster than a real Game Boy on a laptop, so phones keep up easily.
ABOUT THE GAMES
Every game on the shelf is homebrew released under an open licence (MIT, zlib, GPL-3.0 or public domain). The credits below link to each game's source code and licence.
No commercial games or Nintendo software are hosted here. Game Boy is a trademark of Nintendo; this is an independent fan project.