![]() |
Routines |
| Prev: 8301 | Up: Map | Next: 83CA |
|
Used by the routine at MOVE_ARCS.
For MOVE_ARCS, +$09 is a step counter from 0 to 15, not a speed: doubled, it indexes STEP_VECTORS, and bit 2 of +$08 (tested on the way out) says whether to swap the two components.
|
||||
| ARC_STEP | 83BA | LD C,(IX+$09) | ||
| 83BD | SLA C | |||
| 83BF | LD B,$00 | |||
| 83C1 | LD HL,STEP_VECTORS | |||
| 83C4 | ADD HL,BC | |||
| 83C5 | BIT 2,(IX+$08) | |||
| 83C9 | RET | |||
| Prev: 8301 | Up: Map | Next: 83CA |