1988 · Data East

RoboCop: discoveries

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

What reading every byte of the three loads turned up: a bug that makes a whole street open fire, a disk that cannot draw one stage, and the jokes the programmers left in.

01 · The level skips

SUEDEHEAD and DISAPPOINTED

Typed on level one's title screen, SUEDEHEAD loads level two and starts it, as if stage three had just been finished. DISAPPOINTED, on level two's title, does the same for level three. The title code waits for each letter in turn ($F69E), and any other key starts the count again. The score is cleared, so the skip is no help with the high-score table.

Other cheats printed for RoboCop do not fit this disk. Holding F, G, H, and J with left or right to fly cannot work here, because the only keys the three loads read are space, RUN/STOP, and the letters of the two words. The POKEs for endless time and power point into the middle of other routines in this version: 44179 is $AC93, part way through the clock's set-up. They belong to another release.

02 · The high scores

ALIENATION, ANGST, MISERY

The high-score table the game ships with ($0E40) has eight entries, all of 4,000 points, named ALIENATION, ANGST, MISERY, FRUSTRATION, TORMENT, DESPAIR, a row of dots, and HAVE A NICE DAY.

03 · A bug

One enemy low on the screen, and everyone fires

In level three each enemy decides whether to fire by looking at its own height on the screen. The routine at $9522 means to test the enemy's own Y position, $2F,x, but the instruction tests $2F, the Y of the first enemy slot only. So whenever the first enemy is low enough, every enemy that has reloaded fires, wherever it stands; and while the first enemy is high, none of them does. Level two's copy of the routine tests $2F,x, as meant ($9BBF).

04 · Two disks

A second disk that cannot draw stage seven

Two disk images of the same Data East release were compared. They hold the same files, but LOAD1, B, C, E, and F differ in content, and D and E have their names swapped. On the second disk, stage seven draws a screen of rubbish.

Stage seven drawn correctly from the first disk

First disk. Stage seven, the lifts.

Stage seven from the second disk: a screen of broken shapes

Second disk. The same stage, started the same way.

The reason is in where stage seven's tiles live. Level two's files do not contain them. They come with level one, in LOAD1, and sit at $C400 all through level one, in memory no level loads over, until stage seven reads them. The second disk's LOAD1 has other bytes at $C400, but its level two still reads stage seven's tiles from there, so the stage is built from the wrong data.

The second disk's LOAD1 also lacks 18 bytes that the first has. On the first disk, the title screen points the NMI vector at a handler that only acknowledges CIA 2 ($85E7), which stops the RESTORE key from breaking into the game. The second disk leaves both out. Its level files have rewritten and extra routines as well.

05 · Left behind

Stair code with no stairs

Level three carries level two's code for climbing stairs, including the test for a stair character next to RoboCop's feet, but no instruction in level three reaches it ($9371). Stage eight has no stairs.

Other code and data were left in the files without being used:

06 · Numbers

A time bonus that triples, and a short second

Finish a stage with 30 seconds on the clock and level one pays 3,000 points; do the same in level two or three and it pays 9,000. The time bonus routine is the same in every level, with a 3 where level one has a 1 ($B7AD). Published guides give only level one's 100 a second.

The clock is shorter than it reads, too. A second on it is 48 frames, and the American machine this version was made for shows about 60 frames a second, so stage five's 3:31 runs out after about 2:49.

07 · Speech

"RoboCop", through the volume register

After fire is pressed on the title screen, a voice says "RoboCop". The sound chip has no way to play a recording, but its master volume can be changed thousands of times a second, and each change moves the output a little. The game stops the music and writes four-bit samples straight to the volume register, $D418, in a timed loop ($EC93). Level three uses the same method when RoboCop dies ($EB99).