Routines
| Prev: D1DC | Up: Map | Next: D21C |
D206: Step to the next 3-byte entry
|
Moves IX on 3 bytes (one exit) and tests for the $FF that ends a list. Also loads IY with the entry's bytes 1-2, which the exit walkers ignore.
|
||||||||||||||
| D206 | EXX | Swap BC, DE and HL with their shadow copies | ||||||||||||
| D207 | LD DE,$0003 | Load DE with $0003, the amount that is added next | ||||||||||||
| D20A | ADD IX,DE | Add DE to IX - Next entry | ||||||||||||
| D20C | LD D,(IX+$02) | Read byte +2 of the record at IX into D | ||||||||||||
| D20F | LD E,(IX+$01) | Read byte +1 of the record at IX into E | ||||||||||||
| D212 | PUSH DE | Save DE on the stack | ||||||||||||
| D213 | POP IY | Restore IY from the stack | ||||||||||||
| D215 | LD A,(IX+$00) | Read the first byte of the record at IX into A - End of the list? | ||||||||||||
| D218 | CP $FF | Compare A with $FF | ||||||||||||
| D21A | EXX | Swap BC, DE and HL with their shadow copies | ||||||||||||
| D21B | RET | Return to the caller | ||||||||||||
| Prev: D1DC | Up: Map | Next: D21C |