← All SNES demos

Run-Length Scanline Decoder

Rendering & Graphics

The image fills row by row, with a bar marking the number of runs in the current scanline.

Self-running — no controller input required.

Verify fidelity checks the recorded result against 0xD77B.

Source vlastack.cvlastack.h in wbniv/llvm-mos-65816

What you see

The image fills row by row, with a bar marking the number of runs in the current scanline.

What is checked

Each scanline uses a variable-length array whose size is known only at runtime. Decoding must preserve the software stack across each allocation and restore it before the next row.

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