![]() |
Routines |
| Prev: 8986 | Up: Map | Next: 89A7 |
|
Used by the routines at start_at_edge and place_at_ship.
Fallen into from swap_to_shot, and called by start_at_edge and place_at_ship: copies the screen column and pixel (+1, +2) and the screen row and line (+4, +5) of the record at IY into the record at IX, leaving the fractions.
|
||||||||||
| copy_position | 898E | LD A,(IY+$01) | X and Y, without the fractions | |||||||
| 8991 | LD (IX+$01),A | |||||||||
| 8994 | LD A,(IY+$02) | |||||||||
| 8997 | LD (IX+$02),A | |||||||||
| 899A | LD A,(IY+$04) | |||||||||
| 899D | LD (IX+$04),A | |||||||||
| 89A0 | LD A,(IY+$05) | |||||||||
| 89A3 | LD (IX+$05),A | |||||||||
| 89A6 | RET | |||||||||
| Prev: 8986 | Up: Map | Next: 89A7 |