![]() |
Routines |
| Prev: 45273 | Up: Map | Next: 45315 |
|
Used by the routine at HandlerControls.
Reads the keys "Q", "W", "E", "R" and "T" and uses them directly as the controls, so "Q" is left, "W" is right, "E" is up, "R" is down and "T" is fire.
|
||||||||||||||||||||
| ReadKeyboard | 45306 | LD A,251 | Read from the keyboard;
|
|||||||||||||||||
| 45308 | OUT (253),A | |||||||||||||||||||
| 45310 | IN A,(254) | |||||||||||||||||||
| 45312 | CPL | Flip the bits. | ||||||||||||||||||
| 45313 | LD C,A | Store the controls in C. | ||||||||||||||||||
| 45314 | RET | Return. | ||||||||||||||||||
|
View the equivalent code in;
|
||||||||||||||||||||
| Prev: 45273 | Up: Map | Next: 45315 |