EmulatorJS self-test: SNES

Controls

A tiny SNES program, written from scratch for the EmulatorJS module, that checks the emulator the way an arcade board checks itself at power-on: the CPU's native mode, work RAM, its own ROM checksum, video, palette and sprite memory, the hardware multiplier and divider, DMA 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, controller 1 lights up as you press buttons.

Public domain (CC0).