![]() |
Routines |
| Prev: D3CB | Up: Map | Next: D3EA |
|
Used by the routine at Controls_Keyboard.
|
||||||||||||||||||||
| Controls_Input_O_P | D3E2 | LD A,$DF | Read from the keyboard;
|
|||||||||||||||||
| D3E4 | IN A,($FE) | |||||||||||||||||||
| D3E6 | CPL | Invert all the bits of A. | ||||||||||||||||||
| D3E7 | AND $03 | Keep only bits 0 and 1 (i.e. we only care about "P" and "O" for left and right). | ||||||||||||||||||
| D3E9 | RET | Return. | ||||||||||||||||||
| Prev: D3CB | Up: Map | Next: D3EA |