Prev: E2DA Up: Map Next: E32C
E31C: 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 E31C LD A,$7E Read from the keyboard;
Port Number Bit
0 1 2 3 4
7E SHIFT / SPACE Z / SYM X / M C / N V / B
E31E CALL ReadKeyboardPort
E321 BIT 1,A Set the control for turning the view if the key Z or SYMBOL SHIFT is pressed.
E323 JR Z,ReadViewKey_Store
E325 SET 5,C
ReadViewKey_Store E327 LD A,C Store the controls and return.
E328 LD ($BC01),A
E32B RET
Prev: E2DA Up: Map Next: E32C