![]() |
Routines |
| Prev: F0D2 | Up: Map | Next: F0E6 |
|
The author's INPUT. A selects the half-rows the way the high byte of IN A,($FE)'s address does, a 0 bit for each one read; what comes back has a bit set for each key held.
|
||||||||||||||
| INPUT | F0DF | IN A,($FE) | Keys pull their bits low: turn them round | |||||||||||
| F0E1 | AND $1F | |||||||||||||
| F0E3 | XOR $1F | |||||||||||||
| F0E5 | RET | |||||||||||||
| Prev: F0D2 | Up: Map | Next: F0E6 |