id: BL-010
title: Game 4, 1 player: Select, then Reset starts it
shows: Game Select pressed 6 times from power-on to choose game 4 for 1 player, then Game Reset; nobody plays.
inputs: BL-010.inputs
frames: 1400
rom_sha1: 0940fea7f04cdb6d4b90c5ad1a7e344e68f6dbb1
trace_sha256: 34a3201c74d89162be473ce90b3716e2dc7563680b9ff705851f79da873b2965
trace_bytes: 420476
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 6 Select presses (frame 599) the selection is game 4, 1 player (byte $CC = game number, byte $E6 bit 6 = two players).
  - Frame 600: the lives counter (byte $98) reads 3: the game starts on frame 600, the same frame the press began.
  - Frames 600-727: the pause flag (byte $D2, bit 6) is set while the start tune plays (128 frames, 2.1 seconds). Frame 728: it clears and the game runs.
  - At frame 728 (the first running frame) the two-player bit (byte $E6 bit 6) is clear: 1 player.
  - Frame 660 (60 frames after the press): $81 = 00, $EC = 0c (they add up to 0c), $99 = 06, $C2 = 06. Byte $CC reads 00.
  - No joystick is touched. Frame 982: the pause flag is set again: Pac-Man is caught and the death begins (254 frames after play began, 4.2 seconds).
  - Frame 1108: the lives counter changes from 3 to 2, 126 frames after the death began.
  - $99 and $C2 (60 frames after the press) equal the value measured in Stage C6 for game 4 (06).
  - How to check it against the real game: switch on, press Game Select 6 times (the status bar shows the game number), press Game Reset and do not touch the joystick.
