![]() |
Routines |
| Prev: D2E1 | Up: Map | Next: D319 |
|
Used by the routine at DrawTerrain.
Moves on to the next five byte record of a segment in the tile record and stores it in BA09, then points IX back at the drawing record at ScrollWorld_Record with its screen address cleared.
|
||||||||
| NextRecord | D303 | LD DE,$0005 | DE=05. | |||||
| D306 | ADD IX,DE | IX gains DE. | ||||||
| D308 | LD ($BA09),IX | The next segment record. | ||||||
| D30C | LD IX,$DEDC | The segment record. | ||||||
| D310 | EXX | Switch to the alternate registers. | ||||||
| D311 | LD (IX+$01),$00 | Store 00 at offset 01 of IX. | ||||||
| D315 | LD (IX+$03),B | Write B to offset 03 of IX. | ||||||
| D318 | RET | Return. | ||||||
| Prev: D2E1 | Up: Map | Next: D319 |