Routines |
Prev: 54219 | Up: Map | Next: 54250 |
Used by the routine at Controls_Keyboard.
|
||||||||||||||||||||
Controls_Input_O_P | 54242 | LD A,223 | Read from the keyboard;
|
|||||||||||||||||
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 |