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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.

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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Devlogs, patches and launches, straight to your inbox. Zero spam, zero analytics, no automated list: to unsubscribe, just hit reply.