Prev: 58074 Up: Map Next: 58156
58140: Read View Key
Reads the key for turning the view (Z or SYMBOL SHIFT), and keeps the controls in Controls.
Input
C Controls
Read the key which turns the view.
ReadViewKey 58140 LD A,126 Read from the keyboard;
Port Number Bit
0 1 2 3 4
126 SHIFT / SPACE Z / SYM X / M C / N V / B
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