![]() |
Routines |
| Prev: 58074 | Up: Map | Next: 58156 |
|
Used by the routines at ReadInterface2Joystick, ReadKempstonJoystick, ReadCursorJoystick and ReadKeyboard.
Reads the key for turning the view (Z or SYMBOL SHIFT), and keeps the controls in Controls.
|
||||||||||||||||||||
|
Read the key which turns the view.
|
||||||||||||||||||||
| ReadViewKey | 58140 | LD A,126 | Read from the keyboard;
|
|||||||||||||||||
| 58142 | CALL ReadKeyboardPort | |||||||||||||||||||
| 58145 | BIT 1,A | Set the control for turning the view if the key Z or SYMBOL SHIFT is pressed. | ||||||||||||||||||
| 58147 | JR Z,ReadViewKey_Store | |||||||||||||||||||
| 58149 | SET 5,C | |||||||||||||||||||
| ReadViewKey_Store | 58151 | LD A,C | Store the controls and return. | |||||||||||||||||
| 58152 | LD (48129),A | |||||||||||||||||||
| 58155 | RET | |||||||||||||||||||
| Prev: 58074 | Up: Map | Next: 58156 |