1981 · Nintendo

Parachute

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

A 4-bit chip with 65 cells of memory runs the clock, the alarm and both games. The paratroopers fall down three lanes that take turns to move, and a miss is not counted until the next step, so a late press can still save one.

01 · The game

Row the boat under the paratroopers

Paratroopers jump from a helicopter at the top right and drift down three lanes toward the sea. The player rows a boat along the bottom to catch them.

Left: Game A, 30 seconds in. Right: the clock, where the game plays itself once a second. Both are drawn from the segments the chip lit on the kit's model of it, on MAME's drawing of the LCD.

Left and right move the boat one place, under the left, middle or right lane. The left lane has seven places, the middle six and the right five. A paratrooper who reaches the bottom of his lane with the boat under him is caught, a point. One who falls into the water swims for it while a shark circles, and when the shark takes him it is a miss. The third miss ends the game.

The screen is 71 fixed shapes printed on the LCD, and each one is either on or off. Every place in every lane is a shape of its own. To move a paratrooper, the game turns one shape off and the next one on.

02 · A replay

One lane moves at a time

Step through a minute of Game A, played by a computer player. Each frame is one change on the screen.

Next to moveThe boatIn the air, of those allowedWaitScore

Recorded on the kit's Sharp SM5A (kit/gnw/sm5a.js, held to MAME 0.289 instruction for instruction). A frame is kept each time the drawing routine ($0640) finishes a picture that differs from the last. A game starts allowing none in the air, so the first paratrooper falls alone (section 04). The wait is counted in passes of the game's wait loop; 11 passes make a step of about 0.2 seconds.

The game advances in steps, and each step moves one lane by one place: the left lane, then the middle, then the right, always in that order ($01C0). Each lane therefore moves once every three steps. The helicopter's rotor turns at every step, which is why the picture changes more often than the paratroopers move.

03 · Memory and the screen

Every segment is one bit

Click a bit to light its segment, or a segment to find its bit. The picture is drawn from these cells alone.

The cells are the chip's memory as it finished a picture just after the replay above ends. The page turns them into segments with a port of $0640, the game's drawing routine.

The LCD has nine 4-bit latches for each of its two sets of segments. To draw, the game shifts a cell into the latches nine times, copies them, and shifts nine more for the second set ($0640). Twelve cells hold four segments each, and three hold the digits.

So the game never stores where a paratrooper is as a number. Each place in a lane is one bit, and moving the lane means moving every set bit one place on. The chip has no instruction for that, so the game swaps the carry flag with each bit of the lane in turn, and every set bit ends up one place further down ($043B to $043E). The boat, the misses and the shark's fin move the same way.

04 · Jumps

The helicopter reads the clock and a counter

At each step the game decides whether a new paratrooper jumps into the lane that moves ($0112).

WhenGame AGame B
the sky emptyone always jumps
as many in the air as the score allowsthe helicopter waits
the clock's seconds end in 8 or 9the helicopter waits
one or two in the airone always jumps5 chances in 16
three or more in the air5 chances in 16

The chance is the chip's divider, a counter of the crystal that steps sixteen times a second, read when the step comes: a jump when it reads 0 to 4 ($012C). A paratrooper jumps only into an empty first place. In the clock's demo the jumps come from the time alone, the seconds' tens and a count of seconds, never from the divider ($011D).

"In the air" is a count the game keeps ($09): one more for each jump, one fewer for each catch and each miss; a paratrooper hanging in the tree still counts. A new game allows none in the air, so the first paratrooper jumps only because the sky is empty and falls alone; the first catch sets the limit from the score ($05E8). Before every drawing the game also looks at every place of every lane and the tree, and when all are empty it sets the count back to 0 ($0688), so a count that has drifted from the sky can never keep the helicopter waiting over an empty sea.

05 · Catches and misses

A miss waits for the next step

A paratrooper reaching the bottom of his lane is caught if the boat is under him. If it is not, the game only notes the miss, one bit for his lane ($29), and starts it at the next step.

A miss in the right lane, recorded on the model: the splash, the swimmer working his way round the water, a fin circling with him, and the shark's leap. Each frame is one redraw.

A press of left or right that brings the boat under that lane before the next step finds the bit, clears it and counts a catch after all ($030F). So the player has one step after the paratrooper lands, about 0.2 seconds at the start and 0.14 at the top speed, to get there. A caught paratrooper stays in the boat until his lane next moves, or until a step with no chance of a jump clears the bottom places ($0131).

Otherwise the miss's animation starts and the lanes stand still. The splash, the swimmer, the fin and the shark's leap are all one chain of twelve bits, and the game puts the swimmer in at the splash under his lane and the fin the same number of places along its circle, so the two go round together and the shark leaps just as the swimmer reaches the end of his path ($0340). Each move of the swimmer plays a tone. When the shark takes him the miss is counted: the misses fill in from MISS and one head to all three heads, and the third ends the game ($0373).

At 200 and 500 points, if a miss is showing, the misses blink for about five seconds, with a short beep at each blink, and go out; the game waits meanwhile ($0085, $071C). The beep is the same sound as the shark's bite. At 999 the score goes on to 000.

06 · Speed

More paratroopers, then faster ones

Move the score. The number of paratroopers allowed in the air comes from the hundreds digit plus the tens digit, one more when the units are 4 to 7, and the wait before each step follows from it.

In the air at mostWaitA step, about

The limit, 1 to 10 up the chart, for every score from 0 to 999, from a port of $00C0, the same in Game A and Game B. The wait is 11 passes of the game's wait loop while the limit is 4 or less, then 15 minus the limit, down to 5 at the top; a step takes about 0.2 seconds at 11 passes and 0.14 at 5.

The game starts at a step about every 0.2 seconds, so each lane moves about every 0.6 seconds. The limit rises first: one paratrooper at a time to begin with, three by 20 points. Only from a limit of 5, first reached at 64 points, does the wait begin to shorten. Because the hundreds and the tens are added, the game eases off each time the hundreds turn over: five may be in the air at 99, two at 100. The top speed, ten in the air and a wait of 5, comes only from 894 to 897, 984 to 987 and 994 to 997.

07 · The tree

In Game B the tree catches paratroopers

A paratrooper caught in the tree in Game B, recorded on the model, marked in red; the figure swaps his two poses as he does at each move of the right lane.

In Game B, and in the clock's demo, a paratrooper leaving the right lane's third place is caught in the tree when the tree is empty and the number in the air is even ($01C3). He swings each time the right lane moves. He drops back into the right lane's fourth place only when three things hold at once ($01BA, $01E1): the clock's tens of seconds are even, so for ten seconds in every twenty he cannot fall at all; the right lane below him is clear; and he is in the pose that the helicopter's rotor picks: the left-hand pose while one blade of the rotor (8.3.0) is lit, the right-hand one while it is out. Game A has no tree. Otherwise the two games run at the same speed (section 06).

08 · Sound

All the sound comes from switching one pin on and off

Press a button to hear the game's own sound routine, recorded at the buzzer's pin.

Each sound is the list of moments the chip's R1 pin changed while its routine ran on the kit's model ($02AE, $02A7), played here as a square wave.

The piezo buzzer is wired straight to one output pin, so a tone is the program flipping that pin in a loop. A step clicks when the lane that moved had someone on it ($01B1), so while a lane with nobody on it moves the step is silent, and the clicks thin out as the sky empties. A catch, each move of the swimmer and the shark's bite are one routine with a length code ($02AE), the same bytes as in Octopus and Popeye. Out of a game the unit is silent except for the alarm.

09 · Controls

The keys are added up

Time, Game A, Game B and Alarm are read through one row of the chip's inputs ($0506), and a change counts when two readings in a row agree. The keys held are worth 1 (Time), 2 (Game B), 4 (Game A) and 8 (Alarm), and their sum gives the mode ($0553): 1 the clock, 2 or 3 Game B, 4 to 6 Game A, 7 or more the alarm's setting. So Time, Game A and Game B together open the alarm's setting. Holding a game's button shows its best score; the game starts when it is let go. Left and right have pins of their own, read on each pass and between the passes of the wait ($0380): a press is acted on at once, and the wait then goes on where it stopped. Holding both counts as pressing neither. Once the third miss is lit the boat still moves when left or right is pressed.

Test pads on the board are wired to the chip's R3 row. Holding any of them at power on turns the misses off until the power goes ($03D3), MAME's "Infinite Lives" pad. The fourth rings the alarm at once, and each time it is read it also flips the misses back on or off ($05A7).

10 · The clock and the alarm

The clock plays the game by itself

Out of a game the unit is a clock, and the game runs in it once a second.

Thirty seconds of the clock, recorded on the kit's model: each frame is one redraw, once a second.

The clock keeps time on the chip's 1 Hz flag, set by a 15-bit counter of the 32,768 Hz crystal ($0200). Each second all three lanes move, and the demo's boat rows toward a paratrooper by itself ($0325). The rotor stands still: the clock never runs the game's step. Every ten seconds a fin circles the water, in the clock and in a game alike ($0239).

After power on every segment is lit and the time is 12:00 AM; left adds an hour and right a minute, repeating four times a second when held, until a key chooses a mode ($02C0). Alarm opens the alarm's setting, and each press turns the alarm on or off; the bell beside the clock shows while it is on. Left then adds an hour and right a minute. When it rings, for a minute, the monkey appears and swings the bell; Time stops it. Holding Time in the clock shows the alarm's time.

11 · The unit

A Wide Screen game of 1981

Nintendo released Parachute on 19 June 1981 as model PR-21, in the Wide Screen series, a month before Octopus.

Nintendo's "Iwata Asks" interview about Game & Watch says Masao Yamamoto programmed Parachute while Takehiro Izushi programmed Octopus, at almost the same time. The two programs share the code for the hours and the sounds almost byte for byte, and the helpers on pages $11 to $13 are mostly Popeye's.

The game was called Sprung in die Hölle ("jump into hell") in German and I Paracadute in Italian, according to the Super Mario Wiki. It came back in Game & Watch Gallery, Gallery 2 and Gallery 4, and Mr. Game & Watch opens its parachute in Super Smash Bros.