1985 · Ocean Software

About this page

This minisite was contributed by air, 64kramsystem. It’s agent-generated and needs a human editor. Clone https://github.com/gamesexplained/gamesexplained and follow kit/START.md to curate games/c64/neverending-story with me to Gold.

Footprint

Every byte of the C64's 64 KB, one pixel each, 512 to a row. Lit pixels are what this game is: its code, graphics, level data, sound, text, tables and variables, exactly where they sit in memory. Dim areas are screen and working memory; dark is unused.

This game is in 4 parts. The map is of Engine, which stays in memory; the band marked as varying holds whichever of the 3 parts loaded over it is there. The Source tab has the listing of each part that has one.

Status

Tiersilver
Coverage100 % of the bytes the game uses have a description
Comments checkedAudited & high error rate. Every comment was audited once, but the last sample of 60 comments had 4 wrong, more than one in 30, so between 3 and 16 % of the listing’s comments are likely wrong. How listings are checked
Build analysedMrL and Dr Bakterius crack of Ocean's release (.d64, MD5 1938dd66ac2dcf1f9067532f41c0b3e8); the engine at the opening, each part at its first prompt
Copyagent-draft
Toolshost: Linux 6.18 x86_64, Ubuntu 24.04 cloud container with no display, emulator: VICE, release v3.13.2, v3.13.2-linux-x86_64-gui.zip (vice-mcp), run under Xvfb and driven through kit/c64/vice.py; check-emulator 54 of 54, disassembler: regenerator2000 0.9.20, publication: Python 3; symbols_export.py and listing.py, simulator: kit/cpu/cpu6502.js, for the decoders' checks and the page tests, subagents: checker agents on the Agent tool's opus alias for 60-verify, one at a time; all other work by one agent
Modelclaude-opus-5-5[1m]
Kit version0.0.194

How the listing was checked

Every step that measured the Source tab’s comments or made them more accurate, in the order it happened, with the models that did it. Accuracy of the Source explains each step and what the row above makes of them.

StepByWhat it foundOf the listing
Researchgpt-6.1-sol, claude-opus-5-5[1m]Looked the game up online (its manual, reviews or wiki pages) before reading its code.
Ocean's cassette instructions and the Classic Adventures Solution Archive, read again for the Silver run
Annotationgpt-6.1-solWrote the listing’s comments.
started from an imported Ghidra analysis by 64kramsystem, its model unknown
Annotationclaude-opus-5-5[1m]Wrote the listing’s comments. 100 % of the program is described, in 1,333 comments.
the engine annotated again from the MrL copy, the three parts from decoders of their texts, scripts and pictures
Sample 1air, with claude-opus-5-5[1m]4 of 60 comments wrong, so between 3 and 16 % of the listing is likely wrong. All 4 were then corrected.
40 hand-written and 20 templated comments; 174 more that said the same things corrected with them
Port checkclaude-opus-5-5[1m]Checked a page’s port or widget against the game; how many comments it corrected was not recorded.
the pages' seven ports (the printer, blitter, parser, script reader, chance test, exits and tune) run against the game's routines over the listings. Building the Maps page found two room texts the part listings had left out, now labelled with the leftover filler the listings also missed
Audit 1air, with claude-opus-5-5[1m]Checked all 2,019 comments and corrected 211.
and every claim in facts.md and the parts' notes: five checkers in turn, one address range each, then one for the 153 claims in the notes (13 corrected) and the pages' text (8 corrected)
Sample 2air, with claude-opus-5-5[1m]4 of 60 comments wrong, so between 3 and 16 % of the listing is likely wrong. All 4 were then corrected.
after the audit: 40 hand-written and 20 templated comments, none from the first sample; five more tune segments with the same omission corrected with them

likely wrong the sample’s range corrected right, or likely right not yet measured

Contributors

Other places to love this game

What the game does, and where we found it

Read this before annotating code. What the game is documented to do, with verification status against the binary. Statuses: open (documented, not found yet), traced (in the code, could not be exercised; say what was tried), confirmed (in the code, consistent with the emulator), live (observed directly), differs (the code does something else). "Absent" is not a status.

Sources:

Features

FeatureStatusWhere
Three parts, played in order, each loaded when the one before is finishedliveACTION_NEXT_PART $0FF1, SWITCH_TO_NEXT_PART $0415; played through both hand-overs (facts.md, "Live tests")
Objects carried at the end of a part are kept for the nextlivethe object locations at $28BF are the engine's and no load touches them; live, Part 2's route starts by dropping the horn and the stone brought from Part 1
Up to five objects carriedtracedTAKE refuses a sixth when counter 0 is 5 ($0F22, sentence $0B "You've got a full load already!"); not tried live
Every object has an icon, shown at the top right while carriedliveRENDER_ROOM_GRAPHICS $0570, icon records at $2943, icons at $A560; seen with Part 2's first room. Not every object: the crucifix (object 40) has no slot in the map of icon slots to objects at $22A4, and Falkor's and Artax's icons are shown by the scripts' action $17, which names a slot
A companion, Falkor or Artax, shown at the bottom of the iconslivethe sixth icon record, set by the scripts (SCRIPT_SET_OBJECT_GRAPHIC $113D, icons 23 and 24)
Pictures for locations and events at the top leftlive57 picture records at $0BF9; rooms take theirs from $0D4F, events through action $10; every route screenshot
Commands need a verb; some take a nounconfirmedRESOLVE_VERB_NOUN $1396: ids below $32 are verbs; a line with none prints sentence $01, "There is no verb in that sentence."
An unknown word is named back to the playerconfirmed$12F6 prints "I don't understand the word" and the word in quotes
Sentences joined with ANDtracedthe stem "and" is id $FF, which runs the command so far and scans on ($13DC, $13F9)
Only the first three letters of a word countconfirmedVOCAB_LOOKUP $12C4 compares three letters; NORTHEAST and the like are told apart by letters 4-6 ($1335)
GO before a direction makes no differenceconfirmedthe stem "go" is id 0, which the parser skips ($13A8)
The 39 verbs the instructions listconfirmedevery one is a stem in the vocabulary at $1A2E, with QUIT, PUT, GIVE, KILL, PUNCH, STAB, KICK, SHOUT, WAIT and PAUSE besides
Time passes if the player waits too long, and what was typed is carried outliveIDLE_COUNTDOWN $60-$62, "You wait!" at $08C4; 1,591 frames from the prompt with no key
WAIT lets time passconfirmedverb $1F prints "You wait!" (rule 50, $2D41), and the turn scripts run as after any command
PAUSE stops timetracedverb $20 runs action $1A: "Paused - hit space to continue!" and a wait for Space ($117A), outside the line editor whose count is the game's only clock
SAVE and LOAD a game to tapediffersthe actions jump to one-byte returns ($1189, $118C), so neither does anything; the save and load code is still there, unreached ($0494, $0461), and names device 1, the cassette
Restore a saved game at the start (Y or N)differsASK_RESTORE_GAME $14D9 asks it, but INIT_GAME $14D6 jumps over it and nothing else calls it
QUIT ends the gameconfirmed"Are you sure?", and Y restarts ($0FCC); live in Part 2
Credits page with the theme tune; Space enters the gamediffersany key leaves it, not only Space (WAIT_FOR_KEY $0552, called at $15C4); the tune is Martin Galway's, MUSIC_INIT $96DA
A short introduction after Part 1 loadsliveeach part's start script prints its events and pictures and pauses for Space ($2968, $296E, $297E)
Gmork chases Atreyu: "don't dawdle"confirmedcounter 3 in Part 1 (parts/part-1/facts.md)
Falkor helps only the bearer of AurynconfirmedGET FALKOR ($2B6C) needs Auryn carried, else sentence $42, "Falkor will only help the bearer of Auryn !"
Morla in the Swamps of Sadness; Engywook and Urgl in the Southern Lands; Rockbiter, Teenyweeny and Nighthob on their way to the Ivory TowerlivePart 1's rooms and scripts (parts/part-1/facts.md); Rockbiter is in the first room
The Empress at the top of the Ivory TowerlivePart 3's last room, $7C (parts/part-3/facts.md)

Beyond the documentation

Open questions

Each part of the game has its own symbol map and listing: Engine, symbols.json and listing.json; Part 1, symbols.json and listing.json; Part 2, symbols.json and listing.json; Part 3, symbols.json and listing.json. Write-ups, facts and symbol maps are CC BY-SA 4.0. The game itself is not hosted here.