EmulatorJS self-test: Game Boy Advance

Controls

A tiny Game Boy Advance program, written from scratch for the EmulatorJS module, that checks the emulator the way an arcade board checks itself at power-on: the CPU, work RAM, its own ROM checksum, video RAM, DMA, a timer and vertical blank timing, each reported as OK! or FAIL. The SAV line saves to the cartridge's battery-backed SRAM 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 buttons light up as you press them. It needs no BIOS.
Public domain (CC0).