1987 · Konami

Gradius

This minisite was curated by unorig, air.

The eight stages, each stage's scenery drawn whole from its map, with the checkpoint where a lost life starts again.

01 · The stages

Seven maps for eight stages

Every stage is in memory from the start. Stage 4 reads stage 1's map upside down, and stage 6 has no scenery at all.

From the listing: each stage's map start (map_starts), character set (stage_charset_lo), row colours (stage_colours_lo) and checkpoint (checkpoint_pos). The columns are the stretch between the event that turns the scenery on and the event that stops the scroll. The attack comes once the scroll stops (stage_attack, $73F5), and the boss after it (boss_phase, $7768). Pictures from an NTSC C64.

A stage is a list of events and a map. The events (run_events, $7307) fire as the screen scrolls past their positions, one position per column: enemy waves, the music's two starts, and the two that matter for the scenery. Event 16 (start_tune2, $7431) points the map at its start and turns the scenery on. Event 12 (event_attack, $73DD) stops the scroll, hands the background to a star field and starts the stage's attack, which ends in the boss.

The map is a stream of bytes, read one column of 19 rows at a time (map_column, $4EA9): a byte of $7F or more is a character, and a smaller byte is a run of that many empty rows. The How it works page steps through it column by column.

02 · Stage 1

The volcanoes

Ground along the top and bottom of the screen, trees and two volcanoes that throw rocks.

Stage 1 in play

Every column of the stage's scenery, with its checkpoint.4

Wave enemies, groups of three homing enemies, formations of six fliers, walkers, hoppers and rushers come at the ship, with ring firers in the scenery and enemy hatches on the floor and ceiling. Once the scroll stops, the volcanoes throw rocks for 848 frames, and then the Big Core comes.

03 · Stage 2

The pink blocks

Towers and walls of pink blocks, drawn with a handful of characters.

Stage 2 in play

Every column of the stage's scenery, with its checkpoint.4

Wave and homing enemies, formations of fliers and ring firers again, and aimed balls that come in from the right. Once the scroll stops, aimed balls are launched from random points on the screen, and then the Big Core comes.

04 · Stage 3

The Moai

Floating islands with stone heads that open their mouths and fire rings.

Stage 3 in play

Every column of the stage's scenery, with its checkpoint.4

Swooping fliers, aimed balls, ring firers and homing enemies, while the Moai fire rings from their mouths. Once the scroll stops, big carriers come from the right edge at random heights, and then the Big Core comes.

05 · Stage 4

The volcanoes, upside down

Stage 1's map read from the bottom up, through a character set drawn upside down.

Stage 4 in play

Every column of the stage's scenery, with its checkpoint.4 Drawn with map_column_up's order: the first byte of each column goes to row 21 and the rest fill upwards.

Stage 4 runs the same list of events as stage 1, so the same enemies come at the same places, against the upside-down scenery. Once the scroll stops, six darts patrol the screen, and then the Big Core comes.

06 · Stage 5

The bones

Rib cages and skulls; heads rise out of the floor and come down from the ceiling.

Stage 5 in play

Every column of the stage's scenery, with its checkpoint.4

Heads rise from the floor and come down from the ceiling, among wave enemies and aimed balls. Once the scroll stops, blocks appear at random and burst, throwing fragments, and then the Big Core comes.

07 · Stage 6

Spheres and tentacles

Open space: pink spheres and tentacles of linked segments, then the Big Core.

Stage 6: the Vic Viper among pink spheres and a tentacle of grey segmentsThe Big Core at the end of stage 6

Stage 6. Its event list has no event 16, so the scenery never comes on, although map_starts points it at stage 2's map at $AD00. Its event 12 comes at position 312, earlier than on any other stage.

Pink spheres and tentacles, aimed balls and ring firers. The stage has no attack of its own: its attack routine ends the attack at once, so the Big Core comes as soon as the scroll stops.

08 · Stage 7

The blue cells

Blue tubes and cell walls, some of which the shots can break.

Stage 7 in play

Every column of the stage's scenery, with its checkpoint.4 Stage 7's character set starts at $FADC and runs over code and tables, so some of its glyphs are those bytes; the map uses only characters it draws.

Twenty-three crawlers along the walls, with aimed balls and ring firers. Once the scroll stops, a block fires at the ship and takes 40 hits to break, and then the Big Core comes.

09 · Stage 8

The fortress

The fortress: walls and machinery over a grid that the stage draws into the space character.

Stage 8 in play

Every column of the stage's scenery, with its checkpoint.4 The space character is drawn here as the game leaves it in memory, empty; during the stage irq_stage8 rewrites it into a grid, as the picture above shows.

Ring firers, 25 of them, aimed balls and a gun block. Once the scroll stops, the attack is the last boss, drawn in dot by dot. Its defeat ends the stage, and the ending sends play back to stage 1.