← All SNES demos

Sparse Switch Ladder

Algorithms & Data

The left-hand ladder shows the gaps in the key space. On the right, two colors trace the same virtual-machine state.

Self-running — no controller input required.

Verify fidelity checks the recorded result against 0xA131.

Source jtsparse.cjtsparse.h in wbniv/llvm-mos-65816

What you see

The left-hand ladder shows the gaps in the key space. On the right, two colors trace the same virtual-machine state.

What is checked

Sparse switch cases should lower to a comparison tree rather than a jump table. The build checks that distinction, and the runtime test compares both dispatchers' results.

Compiler stress-test #153. The downloadable ROM and browser player use the same verified artifact.