Routines |
Prev: 37990 | Up: Map | Next: 38060 |
Used by the routine at 37876.
|
||||||||||||
38027 | LD C,254 | IN 61438 reads the half row O to 6... | ||||||||||
38029 | LD B,239 | ... | ||||||||||
38031 | IN A,(C) | ... | ||||||||||
38033 | BIT 4,A | If joystick moved left ("6" key pressed)... | ||||||||||
38035 | CALL Z,38060 | ...store a LEFT input from control device | ||||||||||
38038 | BIT 3,A | If joystick moved right ("7" key pressed)... | ||||||||||
38040 | CALL Z,38063 | ...store a RIGHT input from control device | ||||||||||
38043 | BIT 2,A | If joystick moved down ("8" key pressed)... | ||||||||||
38045 | CALL Z,38069 | ...store a DOWN input from control device | ||||||||||
38048 | BIT 1,A | If joystick moved down ("9" key pressed)... | ||||||||||
38050 | CALL Z,38066 | ...store an UP input from control device | ||||||||||
38053 | BIT 0,A | If fire button pressed ("0" key pressed)... | ||||||||||
38055 | CALL Z,38072 | ...store a FIRE input from control device | ||||||||||
38058 | LD A,(HL) | Return stored joystick movement in A | ||||||||||
38059 | RET | Return |
Prev: 37990 | Up: Map | Next: 38060 |