Routines |
Prev: 64091 | Up: Map | Next: 64159 |
Used by the routine at 64034.
|
||||||||
64122 | LD C,254 | IN 63486 reads the half row 1 to 5 | ||||||
64124 | LD B,247 | ... | ||||||
64126 | IN A,(C) | Read keyboard/joystick | ||||||
64128 | BIT 4,A | If joystick moved left ("5" key pressed)... | ||||||
64130 | CALL Z,64192 | ...store a LEFT input from control device | ||||||
64133 | LD B,239 | IN 61438 reads the half row O to 6 | ||||||
64135 | IN A,(C) | Read keyboard/joystick | ||||||
64137 | BIT 2,A | If joystick moved right ("8" key pressed)... | ||||||
64139 | CALL Z,64195 | ...store a RIGHT input from control device | ||||||
64142 | BIT 4,A | If joystick moved down ("6" key pressed)... | ||||||
64144 | CALL Z,64201 | ...store a DOWN input from control device | ||||||
64147 | BIT 3,A | If joystick moved up ("7" key pressed)... | ||||||
64149 | CALL Z,64198 | ...store an UP input from control device | ||||||
64152 | BIT 0,A | If fire button pressed ("0" key pressed)... | ||||||
64154 | CALL Z,64204 | ...store a FIRE input from control device | ||||||
64157 | LD A,(HL) | Return stored joystick movement in A | ||||||
64158 | RET | Return |
Prev: 64091 | Up: Map | Next: 64159 |