![]() |
Routines |
| Prev: AA4D | Up: Map | Next: AA89 |
|
Reached through UPDATES. As the pad (REMOTE_PAD), but the order is 2 to 5, from which of the two graphics it is and whether it is mirrored: four buttons, a direction each (REMOTE_STEPS).
|
||||
| REMOTE_BUTTON | AA63 | CALL DRAW_AT_L16_D9 | draw 16 left and 9 down | |
| AA66 | LD A,(IX+$0B) | nothing on it | ||
| AA69 | AND A | |||
| AA6A | RET Z | |||
| AA6B | XOR A | it does not move | ||
| AA6C | LD (IX+$0B),A | |||
| AA6F | LD A,(IX+$07) | bit 6 of its flags, mirrored, to bit 7 | ||
| AA72 | RLCA | |||
| AA73 | AND $80 | |||
| AA75 | LD C,A | |||
| AA76 | LD A,(IX+$00) | order = 2 + 2 * (graphic AND 1) + mirrored | ||
| AA79 | AND $01 | |||
| AA7B | OR C | |||
| AA7C | RLCA | |||
| AA7D | ADD A,$02 | |||
| AA7F | LD C,A | |||
| AA80 | LD HL,REMOTE_ORDERS | into the orders, keeping bit 7 | ||
| AA83 | LD A,(HL) | |||
| AA84 | AND $80 | |||
| AA86 | OR C | |||
| AA87 | LD (HL),A | |||
| AA88 | RET | |||
| Prev: AA4D | Up: Map | Next: AA89 |