Loading…
TS-C64-001 // COMMODORE 64 · 128

El Cid

A Spanish-language text adventure for the Commodore 64 and for the C128 in native mode. Thirty-two rooms painted in PETSCII walk the entire Cantar de Mio Cid, from exile in Vivar to the taking of Valencia. You type what you want to do. The machine understands you with 44 verbs.

YEAR 1081 · 32 ROOMS · THE WHOLE CANTAR
1.0 · FREE · .D64 IMAGEC64 · C128 NATIVE

Rodrigo Díaz de Vivar, exiled. Thirty-two rooms, thirty objects, eighty-two rules and a Spanish parser that understands COGE ESPADA, MONTA BABIECA, RETA INFANTES and DOMA LEON. Seven optional deeds of honor decide whether your victory stays a victory or becomes a legend. And six ways to die on the way there, every one announced first.

32ROOMS
44VERBS
82RULES
7DEEDS
.D64 IMAGE (C64).D64 DISK (C128)ELCID-128.PRGFULL PRESS KIT
// Preview stationCOMMODORE 1902A · COMPOSITE · 40 COLUMNS
commodore1902A
COVER ARTKoala multicolor bitmap · 160×200 · 10,003 bytes · C128 only
CHANGE CHANNEL · TURN THE MONITOR OFF IF YOU DARE

Key facts: El Cid

El Cid is a Spanish-language text adventure for the Commodore 64 and Commodore 128 that walks the whole Cantar de Mio Cid across 32 PETSCII rooms, with a 44-verb parser. Version 1.0 is free and downloads as a .d64 disk image.

What it is
Text adventure, in Spanish
Platform
Commodore 64 · Commodore 128 (native mode)
Requirements
Stock C64, no expansions · a disk drive or a flashcart that mounts .d64 images · or the VICE emulator
Status
1.0 · AVAILABLE
Latest release
v1.0.0
Released
2026-08-30
Price
Free
01 // WHAT IT IS

The Cantar, written for a machine from 1982

C64 · C128 NATIVE

El Cid is not a remake and not emulation with nostalgia bolted on. It is a new text adventure, in Spanish, for the Commodore 64 — and for the C128 in native mode, with a bitmap cover and bitmap ending cards. Thirty-two rooms cover the whole Cantar de Mio Cid: the exile, Burgos, the crossing of the Duero, Alcocer, Colada won at Tévar, the siege of Valencia, Tizona won from Búcar, the outrage at Corpes and the court at Toledo.

You play it by typing. A Castilian parser with 44 verbs understands what you ask; eighty-two rules decide what happens next. No health bars, no reflexes: an eight-hundred-year-old story and an honor counter that rises when you do what Rodrigo would have done. Seven optional deeds, three endings and six ways to die, every one of them announced first by the room itself.

The unusual part is underneath. The entire world specification lives in a single 289-line Python file, from which both BASIC builds are generated. A reference model proves the game is winnable; an independent reimplementation of the interpreter is compared against it and reports zero divergences; a linter guarantees the C64 build uses no keyword the C64 does not have; further checks budget the memory and hunt for unreachable content and games that can no longer be won. And the game actually runs: the C64 disk has been played end to end in VICE with real ROMs, and the C128 disk boots in native mode to its cover.

Zero divergences between the model and the game. On a machine from 1982.
02 // REAL HARDWARE

A stock C64. No expansions.

6 PIECES
/01

A SPANISH PARSER

44 verbs, recognized through 130 words, and 126 nouns in the vocabulary that ships on the disk. You type in Castilian; AYUDA lists the verbs you actually need. There are no menus and no icons between you and the story.

/02

THE WHOLE CANTAR

32 rooms, Vivar to Valencia: Alcocer, Colada won at Tévar, the siege of Valencia, Corpes, the lion in the alcázar. 22 characters and scenery features you can address — the crow, Jimena, the well, the lion — on top of the 30 objects.

/03

HONOR, NOT POINTS

Seven optional deeds and an “honra n/7” counter always in view on the room’s title bar. Each deed lands with a rising arpeggio and a gold flash of the border, and once earned it cannot be lost. Three endings — Victory, Legend, Defeat; the legendary one demands six of the seven.

/04

PROVEN WINNABLE

A Python reference model walks the 107 commands of the critical path and finishes on the legendary ending. And the C64 disk has been played end to end on an emulated C64 with real ROMs: 107 of 107 commands, honra 7/7, the legendary ending.

/05

TWO MACHINES, TWO BUILDS

A strict BASIC v2.0 build for the C64 — checked by a linter that rejects any C128-only keyword — and a native C128 build that loads with DLOAD, opens on a Koala cover and closes on multicolor bitmap ending cards.

/06

SAVES TO FLOPPY

GRABA and RECUPERA really write to drive 8, error channel open: if the disk is missing, the game tells you so in prose instead of crashing. Your exile survives the power switch.

· // THE WHOLE MAP

Thirty-two rooms, from Vivar to Valencia

RENDER · C64 PALETTE

All thirty-two scenes as the game keeps them: drawn from the same art blob the disk loads into memory, painted by the repository's palette simulator, which reproduces this montage byte for byte. They are renders, not emulator captures.

El Cid's final screen on an emulated Commodore 64: the legendary ending.
CAPTURE · EMULATED C64. This one is a capture: the legendary ending, read out of the screen RAM of an emulated 64 running elcid.d64, at the end of a 107-command playthrough.
03 // UNDER THE HOOD

A world written exactly once

One source of truth in Python, two BASIC engines generated from it, and fourteen checks that refuse to let a broken build through. This is what is inside the floppy.

ENGINEERING PANEL · LIVEC64 1 MHz · C128 2 MHz · 40 COLUMNS
ROOM $000JIFFIES / TURN 0%FRAME 000000
FOURTEEN CHECKS · ZERO DIVERGENCES
01
289LINES OF SPEC

ONE SOURCE OF TRUTH

The 32 rooms, 30 objects, 44 verbs and 82 rules live in a single Python file. Both BASIC builds — C64 and C128 — are generated from it with one command. Changing a rule is changing one line, not editing two interpreters.

02
0MISMATCHES

TWO ENGINES, ZERO DIVERGENCES

A Python reference model and an independent reimplementation of the BASIC interpreter, reading the game’s own DATA, are played side by side. Four automated players — an explorer, a spoiler, a monkey typing at random and a set of transcripts — compare room, flags, inventory and which rule fired after every command: zero divergences, and 951 detours off the solution without a single softlock.

03
7.5× FASTER

PROFILED ON THE MACHINE'S OWN CLOCK

Measured in real C128 jiffies, not estimated: a turn went from 889 jiffies (~15 s) to 119 (~2 s). Text caching, variable-table ordering, per-room rule indexing and FAST/SLOW where it counts. On the C64 disk build, from ~400 jiffies plus two seconds of loading to 134 with no disk access at all.

04
19.2KB OF SCENES

THREE HUNDRED BYTES OF 6502

The engine is BASIC and we do not hide it. The assembly comes to about 300 bytes per machine, poked in from DATA at boot: the blitter that dumps a whole room — 400 screen codes and 200 color bytes, 600 bytes per room, 19.2 KB for all thirty-two — an animator that flutters the pennants and marches the sparkle across the water, and on the C64 a KERNAL loader. On the C128 the scenes ride RLE-compressed, about 10 KB, inside the program itself.

MEMORY MAP · C64 · $0000–$FFFF≈ 1.2K BASIC FREE
$0801 → $8A0A≈32.5K

BASIC

ENGINE · RULES · TEXT

The tokenized program: 572 lines of BASIC v2.0 holding the parser, the 82 rules, the honor HUD, the sound and the save code, plus the machine-code bytes in DATA. On a native C128 the same engine starts at $1C01 and carries its compressed scenes from $A000.

Hover or focus each region
· // SPEC SHEET

Thirty-two rooms in 19.2 kilobytes

32ROOMSTHE COMPLETE CANTAR

Vivar to Valencia with nothing cut from the poem: 32 hand-authored PETSCII scenes, 600 bytes each, all resident in the RAM of a stock C64 with no expansion.

PLATFORMCommodore 64 · Commodore 128 (native mode, 40 columns)
MEDIAelcid.d64 (C64) · elcid128.d64 (C128) · self-contained ELCID-128.PRG
LOADINGC64: LOAD"ELCID",8 then RUN · C128: DLOAD"ELCID" then RUN
RAM64K · no expansion · ≈32.5 KB of tokenized BASIC and 19.2 KB of scenes
SOUNDSID · two-voice title tune, effects and fanfares
CONTROLKeyboard · Spanish text parser
LICENSEPolyForm Noncommercial 1.0.0 · source-available
PRICEFree · .d64 download
04 // DEV DIARY

Notes from the interpreter

VERIFIABLE MILESTONES · NOT AN INVENTED TIMELINE
  1. C1282026.08.30LATEST

    The C128 disk boots on its own machine: a script starts an emulated C128 in native mode, types DLOAD"ELCID", runs it and checks that the Koala cover is really on screen — bitmap mode set in the VIC and real content at $2000 — because a dump of the text screen cannot tell a painted cover from a machine sitting at READY.

    x128DLOADKOALA
  2. VICE2026.08.30

    The C64 disk is played end to end on an emulated C64 with real ROMs: 107 of 107 commands, no ?OUT OF MEMORY, honra 7/7 read off the title bar as the game counted it, the legendary ending and the replay loop back at the title. The harness had to be fixed first: with no 1541 on the bus it was typing the solution at READY.

    x64sc107/107REAL ROMS
  3. HONRA2026.08.30

    Four automated players play the game. On its first run the monkey found that the Visigothic coin counted toward honor by sitting in your bag, so DEJA MONEDA handed back a deed already paid for. Now every deed is something you did, not something you hold, and honor never falls.

    PLAYTESTSEED 421
  4. 7.5×OPTIMIZATION

    A turn drops from 889 jiffies to 119 on the C128, measured with the machine's own clock. Text caching, variable-table reordering and per-room rule indexing.

    JIFFIESFAST/SLOW
  5. 1.02026.08.30

    Release 1.0.0, published on GitHub: playable end to end, with elcid.d64 for the C64, and elcid128.d64 plus the standalone ELCID-128.PRG for the C128. Free to download.

    TWO BUILDSFREE
05 // QUESTIONS

Questions from people with taste

6 QUESTIONS

It is written for a stock one with no expansions, in strict BASIC v2.0: a linter fails the build if a single C128-only keyword slips in. With elcid.d64, load it with LOAD"ELCID",8 and RUN, from a floppy or from any flashcart that mounts .d64 images. On a C128 in native mode, with elcid128.d64, DLOAD"ELCID" and RUN open the cover; DLOAD"ELCID128" goes straight to the game. What has been checked so far is emulation with real ROMs: the C64 disk played end to end, the C128 disk booted to its cover.

// PASS IT ON

Know someone who still has the machine?

PLAIN LINKS · NO TRACKERS
  1. 32

    PETSCII ROOMS

    Vivar to Valencia with nothing cut from the poem: 32 hand-authored PETSCII scenes, all resident in the RAM of a stock C64.
  2. 44

    SPANISH VERBS

    A Spanish parser with 44 verbs that understands COGE ESPADA, MONTA BABIECA, RETA INFANTES and DOMA LEON.
  3. 0

    DIVERGENCES

    Zero divergences between the model and the game. On a machine from 1982.

GET IT RUNNING

YOU GET elcid.d64 (C64) · elcid128.d64 (C128) · v1.0.0

  1. Download the disks from the v1.0.0 release.
  2. On a C64 or in VICE: LOAD"ELCID",8 then RUN — from a floppy or from any flashcart that mounts .d64 images.
  3. On a C128 in native mode: DLOAD"ELCID" then RUN opens the cover; DLOAD"ELCID128" goes straight to the game.
DOWNLOAD v1.0.0 (opens in a new tab)

README BADGE

Runs on Commodore 64 · El Cid
[![Runs on Commodore 64 · El Cid](https://tombasoft.com/badges/el-cid.svg)](https://tombasoft.com/en/games/el-cid/)

A static image on this server: no script, no counter, nothing that tracks. Or download it and host it yourself.

REAL HARDWARE

Running it on real hardware?

Send us a photo: the machine, the setup, the screen. We read all of it.

If it earned one, a star is how other people find a small repository.

// NEXT RETRO OPERATIONBLACK WIRE: The Cicero TapesSURVEILLANCE THRILLER · AMIGA 500 · TBA · AMIGA
TRANSMISSION · BY EMAIL// SUBSCRIBE

Get on the mailing list.

Devlogs, patches and launches, straight to your inbox. Zero spam, zero analytics, no automated list: to unsubscribe, just hit reply.

9DEVLOGS PUBLISHEDSINCE 2026
2LANGUAGESES · EN
0SPAM · TRACKINGEVER

NO TRACKING100%
PRIVACY100%
FREQUENCY2-3/MONTH
// NO AUTOMATED LIST// 0 ANALYTICS// REPLY TO LEAVE// HOSTED IN VIRGINIA