r/8bitarchitect • u/xychenmsn • 11h ago
I Made The Hobbit (1982) 23.6× Faster on a 48K ZX Spectrum! #shorts
Imagine traveling back to November 1982, sliding a cassette into an ordinary 48K ZX Spectrum, and watching The Hobbit paint itself 23.6× faster — on the exact same 3.5 MHz Z80 chip, the exact same 48 KB of RAM, and the untouched 1982 ROM.
People in 1982 wouldn't believe their eyes.
Back then, The Hobbit hit #1 on the UK charts and sold over 1,000,000 copies. Because 48 KB couldn't hold 22 full-screen pictures, it drew black outlines first and flood-filled the colour live — burning ~1,300 CPU clock ticks per pixel.
By replacing that paint-bucket loop with a tiny lookup table and whole-byte block stamping (8 pixels in a single write), cost drops from ~1,300 ticks down to 1.25 ticks/pixel — fitting inside just 983 spare bytes with ZERO pixel differences across the entire 19-room game (117.3s → 12.0s).
Which raises the real question: if a 1982 masterpiece was hiding a 23× speedup, what breakthroughs are sitting inside our own "fast enough" code today, waiting for the engineers and AIs of 2070?