EmulatorJS self-test: Game Gear

Controls

A tiny Sega Game Gear program, written from scratch for the EmulatorJS module, that checks the emulator the way an arcade board checks itself at power-on: the CPU, RAM, its own ROM checksum, video RAM 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 pad and the Start button light up as you press them. It needs no BIOS.
Public domain (CC0).