Prev: 54219 Up: Map Next: 54250
54242: Reads In-Game Controls (Left + Right)
Used by the routine at Controls_Keyboard.
Controls_Input_O_P 54242 LD A,223 Read from the keyboard;
Port Number Bit
0 1 2 3 4
$DF P O I U Y
54244 IN A,(254)
54246 CPL Invert all the bits of A.
54247 AND 3 Keep only bits 0 and 1 (i.e. we only care about "P" and "O" for left and right).
54249 RET Return.
Prev: 54219 Up: Map Next: 54250