id: BL-032
title: Joystick held diagonally: LEFT and UP together
shows: The joystick is held LEFT and UP together from the start place for about a second and a half.
inputs: BL-032.inputs
frames: 500
rom_sha1: 0940fea7f04cdb6d4b90c5ad1a7e344e68f6dbb1
trace_sha256: 4fad8d2ab50b1f4ab0a91b2eadb4f61537fafb41fb1b34e268263eb2299eb328
trace_bytes: 150016
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.
  - Game Reset on frame 240 starts a game (lives counter reads 3 from frame 240).
  - Play begins on frame 367 (pause flag clears); Pac-Man stands at (76,60), the start place.
  - Joystick on frames 367-369: nothing.
  - Joystick on frames 370-449: UP+LEFT.
  - Joystick on frames 450-499: nothing.
  - Pac-Man moves left from (76,60) to (64,60): 12 pixels, first step on frame 371, last on frame 391; frames between steps: 2,2,2,1,2,2,2,1,2,2,2 (2 x 1 frame, 9 x 2 frames); 0.571 pixels per frame
  - Pac-Man moves up from (64,60) to (64,50): 10 pixels, first step on frame 393, last on frame 409; frames between steps: 1,2,2,2,1,2,2,2,2 (2 x 1 frame, 7 x 2 frames); 0.588 pixels per frame
  - Pac-Man moves left from (64,50) to (36,50): 28 pixels, first step on frame 410, last on frame 458; frames between steps: 2,2,2,1,2,2,2,2,1,2,2,2,1,2,... (6 x 1 frame, 21 x 2 frames); 0.571 pixels per frame
  - Direction change left -> up at (64,60): last step of the first leg on frame 391, first step of the next on frame 393 (2 frames apart).
  - Direction change up -> left at (64,50): last step of the first leg on frame 409, first step of the next on frame 410 (1 frame apart).
  - Pac-Man took 5 pixel steps on frames when no direction was held (first on frame 451): it keeps going in its last direction.
  - How to check it against the real game: start a game and hold the stick diagonally (LEFT and UP) (switch on, press Game Reset, wait for the start tune to end; the frame numbers are counted from power-on at 60 per second; the joystick moves are listed above).
