id: BL-012
title: Game 5, 1 player: Select, then Reset starts it
shows: Game Select pressed 8 times from power-on to choose game 5 for 1 player, then Game Reset; nobody plays.
inputs: BL-012.inputs
frames: 1400
rom_sha1: 0940fea7f04cdb6d4b90c5ad1a7e344e68f6dbb1
trace_sha256: fd120eb9ac546146363d7bedb9250cf0a7a2d3ecf36601294d8c76c032d76907
trace_bytes: 420496
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 8 Select presses (frame 719) the selection is game 5, 1 player (byte $CC = game number, byte $E6 bit 6 = two players).
  - Frame 720: the lives counter (byte $98) reads 3: the game starts on frame 720, the same frame the press began.
  - Frames 720-847: the pause flag (byte $D2, bit 6) is set while the start tune plays (128 frames, 2.1 seconds). Frame 848: it clears and the game runs.
  - At frame 848 (the first running frame) the two-player bit (byte $E6 bit 6) is clear: 1 player.
  - Frame 780 (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 1141: the pause flag is set again: Pac-Man is caught and the death begins (293 frames after play began, 4.9 seconds).
  - Frame 1266: the lives counter changes from 3 to 2, 125 frames after the death began.
  - $99 and $C2 (60 frames after the press) equal the value measured in Stage C6 for game 5 (08).
  - How to check it against the real game: switch on, press Game Select 8 times (the status bar shows the game number), press Game Reset and do not touch the joystick.
