1985 · Epyx

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/summer-games-ii with me to Gold.

What the code holds that the manual does not say: a second title, clocks set for American televisions, a river with no current, and the leftovers of the other events and of the first game.

01 · Secret

Secret: BUMMER GAMES II

As the title starts, title_start reads the keyboard's first column. If F3, DEL, and cursor down are held, and nothing else in that column, it copies a second picture over the first (copy_bummer). The two bitmaps differ in only 71 bytes, the first letter of SUMMER, and only the top part of the second picture's colours is copied over.

Normal. The bitmap at $4000.

Three keys held. $8000 copied over it, as the code does.

02 · Bug

Bug: three clocks run slow on a European machine, and one runs fast everywhere

A European Commodore 64 draws 50 frames a second, an American one 60. Cycling's clock (irq_clock) and the swimming events' (clock_tick) add a tenth of a second every six frames, which is right at 60 frames a second. Kayaking times its run with CIA 2's time-of-day clock in its 60 Hz setting (clock_unlatch), and a European machine feeds that clock 50 Hz. Rowing's clock, by contrast, adds a tenth every five frames, real time at 50.

EventMeasured in the emulator, on a PAL machineWhat the clock showed
Cycling600 frames, 12.0 seconds10.0 seconds
Swimming600 frames, 12.0 seconds10.0 seconds
Kayaking989 frames, 19.8 seconds16.9 seconds
Rowinga tenth every 5 frames in the code: right

So on the US Gold disk studied here, a European player's cycling, kayaking, and swimming times are about a sixth better than the time they really took, and a world record set in those three events beats what the athlete did. Rowing's records are honest. On a 60 Hz machine the error turns round, and Rowing's tenth of five frames would run fast.

Show jumping's clock is different again, and runs fast on any machine: it adds 3 hundredths a frame (clock_step). The 50 seconds a round may take before time faults begin are 33 real seconds on a European machine and 28 on an American one.

03 · Secret

Secret: a river with no current

Every third frame Kayaking reads a map of the water's flow, 40 cells to a row from $E000, and pushes the kayak by it. This release's map is all zeros, so the river has no current: a kayak left alone in the water stays where it is. The rocks and banks still stop it.

04 · Secret

Secret: the first game's swimming events on the second disk

Set the menu's sixth option, the first Summer Games' events, and the Freestyle Relay and the 100 metres Freestyle join the event list. They need no first-game disk: they load from Summer Games II's own second side as file Z. The loader's table of twenty files ($0C47) names six more for that option on a third disk, the first Summer Games, and those do need it. The swimming part saves the players' records it would overwrite and puts them back when it ends. Its rules are on the Gameplay tab.

06 · Secret

Secret: leftovers of the first game and of the other events

The opening ceremony is Summer Games' own. Its code still holds SUMMER GAMES and COPYRIGHT (C) 1983 EPYX (sg1_text), text that nothing shows, and an older copy of its tune. The events were built from one another: Javelin's sound table was copied from another event: its sounds 4 to 10 point into Javelin's own code, and nothing plays them; Rowing holds a routine from another music driver, one that sets the sound chip's registers, and nothing calls it; Cycling carries a scrolling ticker for the top line that never runs, and an empty text for it. Fencing keeps a player name that nothing shows, IDIOT (YOU) (text_idiot), beside HUMAN (ANY) and DROID (EPX).

07 · Secret

Secret: debugging aids left in

Kayaking keeps two debugging aids that nothing calls. One draws the kayak's position along the river into the clock (debug_position), the other colours each quarter of the hull that touches the bank (debug_bumps). The swimming events still record the highest raster line their column drawing has reached at $BFFF, a timing check left in.

08 · Secret

Secret: a cyclist never stops

Once a rider has been riding for five seconds, the routine pedal holds the speed between 1 and 2 of the 16, however little the player pedals: the bike creeps on to the line. Cycling also still holds an older pedalling rule that nothing reaches, which gave speed only for a stick moved to a new quarter.

09 · Secret

Secret: the swimmer the camera waits for

The pool scrolls with the leading swimmer. A swimmer who falls out of view swims at a fixed speed of 8 until back on the screen, or is put back at its edge (keep_up). Strokes keep a swimmer between speeds 0 and 7, so 8 is faster than any stroke can make: a swimmer left behind is carried back into the race.

10 · Secret

Secret: twenty columns of the pool show twice

The pool is stored as a picture 100 columns wide, and the length on screen is 120. A column number of 60 or more reads the stored column 20 lower, so the stretch of pool in columns 40 to 59 is drawn a second time as columns 60 to 79.

11 · Secret

Secret: sudden death, then both lose

A fencing bout level on hits when time runs out goes to sudden death (to_sudden_death): both fencers are set one hit short of the win, with a minute on the clock. If that runs out too, the board says BOTH FENCERS ASSESSED A LOSS. A second rule applies only in practice: the droid's skill is drawn again at random after every hit (add_hit), whatever level was chosen.

12 · Secret

Secret: three rules of the high jump

A run past the take-off zone is a fault, but it sends the jumper back to the start of the same attempt and is not counted as a failure. A failure is carried over a passed height, so a jumper who failed once and then passed starts the next height on their second attempt. And from 2.45 m the game stops offering a pass: the stick goes straight to the run. The players jump from the last to the first, attempt by attempt, and Javelin's players throw in the same order.

13 · Secret

Secret: two keys that do nothing

During a race Rowing reads F5 and F3, which set and clear a flag at $A017 that nothing reads. Cycling reads the same two keys.

14 · Secret

Secret: the ceremony checks for a European machine

The closing ceremony, like Rowing, reads the KERNAL's flag for a PAL machine, $02A6, so that a sprite moving off the left of the screen comes back in on the right without a jump. A PAL line has 504 sprite positions, not 512, and a sprite that wrapped by the American count would land 8 pixels out of place. Rowing makes the same check for its sprites at the left edge.