id: BL-013
title: Game 5, 2 players: Select, then Reset starts it
shows: Game Select pressed 9 times from power-on to choose game 5 for 2 players, then Game Reset; nobody plays.
inputs: BL-013.inputs
frames: 1400
rom_sha1: 0940fea7f04cdb6d4b90c5ad1a7e344e68f6dbb1
trace_sha256: 3a43ab14043f0b6a0656e700c6359308947b0c925f7bebc9369f847e30fc8bba
trace_bytes: 420506
observations:
  Frames are counted from power-on (frame 0). Memory bytes are named by their address; the meanings are working labels
  (Stages C6 and C7, docs\CONTROLS.md and docs\CAPTURES.md), not yet confirmed (Phase F). Every number below was read from the trace.
  - After the 9 Select presses (frame 779) the selection is game 5, 2 players (byte $CC = game number, byte $E6 bit 6 = two players).
  - Frame 780: the lives counter (byte $98) reads 3: the game starts on frame 780, the same frame the press began.
  - Frames 780-907: the pause flag (byte $D2, bit 6) is set while the start tune plays (128 frames, 2.1 seconds). Frame 908: it clears and the game runs.
  - At frame 908 (the first running frame) the two-player bit (byte $E6 bit 6) is set: 2 players.
  - Frame 840 (60 frames after the press): $81 = 00, $EC = 0c (they add up to 0c), $99 = 08, $C2 = 08. Byte $CC reads 00.
  - No joystick is touched. Frame 1201: the pause flag is set again: Pac-Man is caught and the death begins (293 frames after play began, 4.9 seconds).
  - The lives counter does not change before the end of the entry.
  - How to check it against the real game: switch on, press Game Select 9 times (the status bar shows the game number), press Game Reset and do not touch the joystick.
