1988 · Electric Dreams (Activision)

R-Type

This minisite was curated by unorig.

A two-player game nobody can start, credits nobody sees, a stage drawn half upside down, and the leftovers of stage 7 inside stage 8.

Two players

A two-player game that the title never offers

The game keeps everything a second player would need: a 2UP label on the panel, a PLAYER TWO message, and code that hands the game to the other player when a ship is lost (stage_end, $0978) (two_players, $2820). The C64-Wiki notes the two-player code is there but unused.1

The reason is a single wrong instruction. After GAME OVER the prompt is printed from a table of lines, and two more lines wait in the table, an “OR” and a two-player choice. The loop that should store them on the screen loads them instead, an LDA where an STA belongs, so they never appear (game_over, $5E47, the loop at $5EAA). The key test that follows accepts F1 alone, and the game sets two_players to the key’s code less 4, which for F1 is always 0.

Hidden credits

Four credits in the code that no screen shows

Manfred Trenz and Andreas Escher are credited four times inside the program, in plain text that nothing prints. Three start with a word that sounds like an answer to someone: “EVEN:”, “ALWAYS:” and “AND AGAIN:”, each followed by “CODING AND GAMEDESIGN BY MANFRED TRENZ GRAFIX BY ANDREAS ESCHER AND MANFRED TRENZ”. The fourth has twelve spaces in front.

WhereStarts with
credits_1, $36ABEVEN:
credits_2, $3CFEALWAYS:
credits_3, $429EAND AGAIN:
credits_4, $5A86twelve spaces

The credits that the player does see come at the ending.

Stage 1

The station’s floor is its ceiling turned over

Stage 1 loads a second character set in its third file, at $E000. Its first 175 characters are the stage’s own set with every character stored upside down (stage1_chars_flipped, $E000). The interrupt that starts the lowest band of sprites switches the screen to that set, so the same map bytes draw a ceiling in the upper half and a floor in the lower half, and the stage needs only half as many shapes for its girders.

A stretch of stage 1: a machine hangs from the ceiling, and the same machine stands upside down on the floor below it
A stretch of stage 1 from the Maps tab. The floor is the same characters as the ceiling, drawn from the upside-down set.

Stage 8

Stage 8 still carries pieces of stage 7

The files of stage 8 are longer than stage 8 needs. Bytes $832F to $867D of its first file are exactly the end of stage 7’s attack script, and the tail of its second file, $9086 to $961B, is the end of stage 7’s second file: the last of stage 7’s map blocks, its block list, its frame routine and the four frames of its animated characters (stage7_leftover_script, stage7_leftover_file2).

Both copies were compared byte for byte with stage 7’s files. Stage 8 reads none of it: its script ends earlier, and its frame hook is the game’s plain RTS at $17FA.

Weapons

Five crystal colours would reset the machine

When a crystal is collected, collect looks the weapon up by the crystal’s colour and writes its address into the JSR at $3B98, which every press of fire then calls. The table is split into two halves of eight, low bytes and high bytes (weapon_lo, $1BFC; weapon_hi, $1C04).

Only red, blue and yellow have weapons. The other five entries point at $FCE2, the KERNAL’s reset, so a crystal of any other colour would restart the computer at the next shot. The game only gives crystals those three colours (pickup_colours, $1B49).

The ending

Two ending tunes that never play

The ending file carries its own copy of the music driver and a music block with three tunes. It starts tune 0 ($8025) and nothing ever asks for the other two, which repeat every 1,760 and 6,528 frames. The Music tab plays all three.

The ending

The last key press wipes the machine

A press of space at the end copies a short routine to the stack page and runs it there. It banks out every ROM, fills memory from $0200 to $FFFF with zeros, and jumps into the KERNAL’s reset (ending_reset, $80BE). Nothing of the game survives.

Stage 6

The stage some lists say was dropped

MobyGames says that the transport system, the arcade game’s sixth stage, was left out of the Commodore 64 version, and that the game has no ending.4 The disk has both. Stage 6 is files P, Q and R, with its own map, enemies, music and frame routine (stage6_frame, $9286), and the route through the game reached it and the ending after stage 8.

What stage 6 does lack is a boss. Like stage 7, it ends when the waves run out (Gameplay).

The crack

What the crackers changed, and the tape code left behind

This copy is a disk crack by Oneway. In place of the tape loader the crackers put a short disk loader at $6200 that loads each stage’s three files by letter, A to X, and the ending as Y (crack_loader, $6200; crack_letters, $6300). They added the left-arrow key that wins a stage, and replaced the test for the cassette’s PLAY button after GAME OVER with two NOPs, so the “PRESS PLAY ON TAPE” prompt goes straight on to the load.

The tape version’s own set-up is still in the program. A routine copies 4 KB into the memory under the I/O chips, where the shapes that are always in memory live, and lays out the status panel after the load (tape_setup, $1794), and the only call to it, at $0815, is never reached in the crack. GAME OVER still asks the player to “PLEASE REWIND TAPE”.