01 · Memory
Everything has to fit in 64K
The //c sees 64 kilobytes at once. Two hi-res pages take 16K of it, DOS takes 9K, the machine itself another 4K. The game code lives between the second picture page and DOS — and it is full: 13,180 bytes out of 14,720.
The trick: the 16K of RAM hidden behind the ROM — the language card. Graphics, place names and every message of the game live there. The code switches it on for a few instructions, reads, and switches the ROM back.
; read a place-name syllable from the hidden RAM
BIT LCRAM ; switch the language card in
LDA NM_START,X
STA STR
LDA NM_START+1,X
STA STR+1
BIT LCROM ; and the ROM back