![]() |
Routines |
| Prev: D099 | Up: Map | Next: D0A9 |
|
Used by the routine at check_user_input.
The cursor keys on the number row: 5 left, 6 down, 7 up, 8 right, with 0 as fire.
|
||||
| cursor | D09C | LD C,$00 | half-row 1 to 5 | |
| D09E | LD A,$F7 | |||
| D0A0 | CALL read_port | |||
| D0A3 | BIT 4,A | 5 (left): bit 0 | ||
| D0A5 | JR Z,cursor_second_row | |||
| D0A7 | SET 0,C | |||
| Prev: D099 | Up: Map | Next: D0A9 |