Galaxian on a certified Z80
The Z80 running on this page is z80-rust-fast, compiled to WebAssembly. Before it runs anything, it runs thirteen conformance manifests in your browser and compares every record with the reference traces committed by z80-python, the reference core the whole pipeline is proven against. The table below is that check, live, on your machine.
Loading the core…
Certification, in this browser
| Rung | Manifest | Records | Stopped | Result |
|---|
Speed: ZEXALL
ZEXALL is Frank Cringle's Z80 instruction exerciser: 5,764,169,474 instructions that check every
instruction's result, flags included, against CRCs taken from real hardware. This runs it to the end
on the same core, in a worker, and reports the five numbers z80-rust-fast's z80-bench
prints. Natively on the build machine (i9-13900K, one core) it takes 16.8 s; a wasm build is expected
to be slower.
Galaxian
The 1979 Namco board around the same core, transcribed from
galemu and proven against it: six recorded runs
(up to 30 s of attract mode and a 20 s scripted game) produce the same board trace, byte for byte.
This page holds no ROMs. Supply the MAME galaxian.zip parent set; every file is verified
by size, CRC32 and SHA-1 in your browser before it is used, and nothing is uploaded.
A URL is fetched by your browser, straight from that host; this site never sees or serves the file.
The host must allow cross-origin requests (on archive.org, use the /cors/ path). Opening this page with
?rom=<url> fetches it on load, which is the easy way onto a phone.
No gamepad detected. Press a button on one to connect it.
| Action | Keyboard | Controller | Touch |
|---|---|---|---|
| Insert coin | Shift, 5 or C | Select / Back | coin |
| Start (1 player) | Enter or 1 | Start | start |
| Start (2 players) | 2 | Start, held one second | |
| Move | ← → or A D | D-pad or left stick | the stick, left |
| Fire | space, Z or X | Any face button | FIRE, right |
| Pause | P or Pause | Right shoulder, or the right stick pressed (R3) | the pause button at the top |
| Rewind (hold) | R or Backspace | Left trigger (ZL, LT, L2) | the rewind button, held |
| Save state, load state | F5, F7 | ||
| Sound on, off | F9 | Mute, below the game |
Click or tap the screen so it has keyboard focus. One shot on screen at a time is the original hardware's rule, not a limitation here. Sound is the discrete board's four 555 timers, transcribed from galemu's circuit model and checked against it sample for sample.
What this page is, and how to use it
Getting the ROM set
Galaxian's program, graphics and colour PROM are copyrighted and are not on this page or in its
repository. It runs from your own copy of the MAME galaxian parent set, the file
usually named galaxian.zip, which you must obtain legitimately. The set is eight files:
galmidw.u, galmidw.v, galmidw.w, galmidw.y,
7l, 1h.bin, 1k.bin, 6l.bpr. Choose the zip
with the file picker above. It is read in your browser only: each file's size, CRC32 and SHA-1 are
checked against galemu's manifest before it is used, any other set is refused, and nothing is sent
anywhere.
What the certification table means
A Z80 core is only as good as the evidence that it behaves like the chip. This one comes from a pipeline that keeps that evidence at every step: z80-python is a readable reference core validated against real-hardware test suites (1.6 million single-step vectors, ZEXALL and ZEXDOC, raxoft's z80test, FUSE); z80-rust is a transcription of it proven equivalent at every instruction boundary; z80-rust-fast is that core made about seven times faster, one measured change per commit, each re-proven against the same ladder. This page compiles z80-rust-fast to WebAssembly and, before it does anything else, runs thirteen of the reference's conformance manifests here, in your browser, and compares every record with the reference traces. If a row ever read anything but "identical", the game and the exerciser would stay disabled. The Galaxian board is held to the same standard against galemu.
ZEXALL
Frank Cringle's exerciser runs every Z80 instruction form through thousands of operand combinations and compares CRCs of the results, flags included, with values taken from real silicon. Running it here takes about half a minute and ends with every test reporting OK and the same instruction and T-state totals the native runs record. It is a speed measurement and a consistency check, not a certification: the certification is the table at the top, and the six rungs in the core's repository.