1990 · Domark

The Spy Who Loved Me

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/the-spy-who-loved-me with me to Gold.

Every sprite shape in the game, its two character sets, the warship built out of characters, and the pictures shown while it loads.

01 · Sprites

192 shapes for everything that moves

The sprite shapes fill $4000-$6FFF, frames $00 to $BF, 64 bytes each. Every sprite is multicolour: its own colour, plus white and black shared by all of them (reset_sprites). Click a frame to find its bytes in the listing.

Click a frame.

Frames $00 to $1F share their memory with the code of the Q-truck shop, the messages and the high-score table. That code waits under the I/O chips and the two swap places, a page per frame, whenever the game needs it (swap_overlay). The sprites are hidden while the swap is made. These pages show the sprites as they are during play.

Frames the code names

FramesWhat they areWhere the code picks them

02 · Characters

Two character sets for the scenery

The scenery is built from multicolour characters. The road, the harbour and the open sea share one set at $7000, of which characters $DB to $EF are overwritten by the letters of the messages (copy_76d8) and $F0 to $FF by the shots. The sea bed has a set of its own at $F610, copied over the first when that stage starts (underwater_charset). Each character's colour comes from a table (char_colours); on the sea bed every character has the same colour.

Shots are not sprites. Each of the sixteen shots is a character of its own, $F0 to $FF: the game copies the character under the shot into that character, sets the shot's pixels in it, and writes the shot's character into the screen in place of the scenery (draw_shots, place_shots). Sixteen shots then cost no sprites at all.

03 · The warship

A boss drawn into the scenery

The large enemy ship on the sea bed is too big for sprites. Its handler draws it, eight rows of sixteen characters from $87C4, straight into the top of the scenery as the map scrolls, so it moves down the screen with the sea bed (h_big_ship). Sprites ride on top of it as its guns and parts (spawn_30).

The ship's characters as stored, in the sea bed's character set and colours.

04 · While it loads

The credits and the loading picture

The file S0 on the disk shows The Kremlin's credits and then the loading picture while the game itself loads. Neither is in memory once the game runs, so they are shown here as the emulator drew them.

The credits screen: The Kremlin's logo, code Neil Harding, graphics Tony West, the keys to pause and toggle the music, and Domark's logo
The credits, with the two keys the game reads.
The loading picture: the title, Bond in a dinner jacket with a pistol, and the white Lotus diving underwater
The loading picture.