For Such a Small Program, ZX81 1K Chess Sure Packs a Lot In

Diablo

New member
1kchess-featured.jpg


The Sinclair ZX81 was hardly the most accomplished of 1980s 8-bit microcomputers, but its ultra-low-budget hardware was certainly pressed into service for some impressive work. Perhaps the most legendary piece of commercial software in this vein was 1K Chess, which packed an entire chess engine into the user-available bytes in the unexpanded 1K ZX’s memory map. [MarquisdeGeek] has taken this vintage piece of code in 2026 and subjected it to a thorough analysis, finding all the tricks along the way.

Though hackers have since found ways to trick the ’81 into displaying bitmap graphics, using it as intended is text-only with some limited block graphics. The chess board then is text-only, and its illusion of “thinking” about moves comes courtesy of the on-screen board doubling as the play area memory. In the GitHub repository you can find decompiled and annotated versions as well as the original ZX binary, with as a bonus a screen capture of the game as it appears as BASIC with the ZX’s odd means of storing Z80 code in REM statements.

If that wasn’t enough, in his note giving us the tip he reveals that much of the work was done in a ZX emulator running in a Dragon emulator, and gives us a fun glimpse of the game running in an emulator on a Cheap Yellow Display inside 1K Chess cassette box. We like it, a lot!

If you need a greater ZX81 fix, take a look at how this machine chased the beam to make TV graphics on the cheap.
 
Back
Top