![]() |
Routines |
| Prev: D108 | Up: Map | Next: D125 |
|
Common to every method. Bit 5 is set if any key is down other than the number keys, Caps Shift and Space. It is the pick-up key for a joystick in directional mode, where bit 4 is a direction. The byte is stored at $5BB5.
|
||||
| finished_input | D111 | LD A,$7E | bottom two half-rows together, less Caps Shift and Space | |
| D113 | CALL read_port | |||
| D116 | AND $1E | |||
| D118 | PUSH BC | or'd with the A..G, Q..T, Y..P and H..Enter half-rows | ||
| D119 | LD B,A | |||
| D11A | LD A,$99 | |||
| D11C | CALL read_port | |||
| D11F | OR B | |||
| D120 | POP BC | |||
| D121 | JR Z,store_input | any of them: bit 5 | ||
| D123 | SET 5,C | |||
| Prev: D108 | Up: Map | Next: D125 |