Routines |
Prev: 46442 | Up: Map | Next: 46481 |
Functionally equivalent to CALL instruction. Read current WORD (address) from graphic layout data, load graphic layout data at that address into primary display buffer and return to previous position. Upon returning (via routine at 46418 when a 255 is encountered), the position of the cursor (i.e. the value in HL) is reset to the base coordinates as stored at 34281 - see instruction at 46422.
Used by the routine at 46218.
|
||||||||||||
46460 | LD C,(IX+0) | Load BC with destination graphic layout data address | ||||||||||
46463 | LD B,(IX+1) | |||||||||||
46466 | PUSH IX | Store IX (current position in graphic layout data) | ||||||||||
46468 | PUSH BC | Load IX with destination graphic layout data address | ||||||||||
46469 | POP IX | |||||||||||
46471 | CALL 46003 | Load graphic layout data from this new location into primary display buffer (recursive call) | ||||||||||
46474 | POP IX | Restore IX (previously stored position in graphic layout data) | ||||||||||
46476 | LD B,0 | Prepare to recalculate display buffer address | ||||||||||
46478 | JP 45999 | Advance graphic layout data pointer by two bytes and read / process next data |
Prev: 46442 | Up: Map | Next: 46481 |