id: BL-033
title: Joystick held diagonally: RIGHT and DOWN together
shows: The joystick is held RIGHT and DOWN together from the start place for about a second and a half.
inputs: BL-033.inputs
frames: 500
rom_sha1: 0940fea7f04cdb6d4b90c5ad1a7e344e68f6dbb1
trace_sha256: 003d0d18237599282c49e90c876be284ce5c0f81f2cfeffb5561abd9caaa8821
trace_bytes: 150096
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: DOWN+RIGHT.
  - Joystick on frames 450-499: nothing.
  - Pac-Man moves right from (76,60) to (88,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 down from (88,60) to (88,70): 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 right from (88,70) to (116,70): 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 right -> down at (88,60): last step of the first leg on frame 391, first step of the next on frame 393 (2 frames apart).
  - Direction change down -> right at (88,70): 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 (RIGHT and DOWN) (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).
