|  | Routines | 
| Prev: 55030 | Up: Map | Next: 55100 | 
| 
Used by the routine at 54942.
 
 | ||||||||
| 55067 | LD C,254 | IN 61438 reads the half row O to 6 | ||||||
| 55069 | LD B,239 | ... | ||||||
| 55071 | IN A,(C) | ... | ||||||
| 55073 | BIT 4,A | If joystick moved left ("6" key pressed)... | ||||||
| 55075 | CALL Z,55100 | ...store a LEFT input from control device | ||||||
| 55078 | BIT 3,A | If joystick moved right ("7" key pressed)... | ||||||
| 55080 | CALL Z,55103 | ...store a RIGHT input from control device | ||||||
| 55083 | BIT 2,A | If joystick moved down ("8" key pressed)... | ||||||
| 55085 | CALL Z,55109 | ...store a DOWN input from control device | ||||||
| 55088 | BIT 1,A | If joystick moved down ("9" key pressed)... | ||||||
| 55090 | CALL Z,55106 | ...store an UP input from control device | ||||||
| 55093 | BIT 0,A | If fire button pressed ("0" key pressed)... | ||||||
| 55095 | CALL Z,55112 | ...store a FIRE input from control device | ||||||
| 55098 | LD A,(HL) | Return stored joystick movement in A | ||||||
| 55099 | RET | Return | ||||||
| Prev: 55030 | Up: Map | Next: 55100 |