EmulatorJS self-test: Game Boy

Pop out
Controls

A tiny Game Boy program, written from scratch for the EmulatorJS module, that checks the emulator the way an arcade board checks itself at power-on: CPU, work RAM, high RAM, its own header and ROM checksums, video memory, sprite memory, the timer, sound and vertical blank timing, each reported as OK! or FAIL. The SAV line saves to the cartridge's battery-backed RAM and reads it back: NEW on the first run, then LOADED (and how many runs saved, where there's room) when the save was kept, by the browser or, for users who keep their game saves on the site, by the site. Below the results, the joypad lights up as you press buttons.

The ROM runs on both the original Game Boy and the Game Boy Color, so it is offered on both systems: use the Monochrome and Color tabs above the player to switch. On the Game Boy Color the second line reads GAME BOY COLOR and the results are in color.

Public domain (CC0).