![]() |
Routines |
| Prev: BE8F | Up: Map | Next: BF7F |
|
Used by the routines at fire_from, start_at_edge, place_at_ship, test_landscape_at, move_bouncing, move_or_explode, update_rocket_part, draw_rocket, toggle_carried_part, update_shot, draw_shot, fire, ship_pass and fly_in_step.
Used for every moving thing: the ship, the shots, the objects. The world is a ring $60 pages round, 224 pixels to a page, and a stack of pages 160 lines high (see move_across and move_down).
|
||||||||
| move_object | BF66 | CALL move_across | across: page, x and fraction into +1 +2 +3 | |||||
| BF69 | LD (IX+$01),H | |||||||
| BF6C | LD (IX+$02),L | |||||||
| BF6F | LD (IX+$03),E | |||||||
| BF72 | CALL move_down | down: page, line and fraction into +4 +5 +6 | ||||||
| BF75 | LD (IX+$04),H | |||||||
| BF78 | LD (IX+$05),L | |||||||
| BF7B | LD (IX+$06),E | |||||||
| BF7E | RET | |||||||
| Prev: BE8F | Up: Map | Next: BF7F |