![]() |
Routines |
| Prev: B77F | Up: Map | Next: B866 |
|
Used by the routines at UnlinkNextDisplayRecord, SelectJumpIfNotZero, ProcessDisplayEntry and ProcessDisplayEntryAlternate.
Restores the saved character record for the caller.
|
||||
| RestoreSavedCharacterRecord | B83C | POP IX | Restore IX from the stack. | |
| B83E | LD B,$03 | Count 03 words. | ||
| RestoreSavedCharacterRecord_ReadWords | B840 | LD E,(HL) | Read each counted word onto the stack, then take the last one as the pointer. | |
| B841 | INC HL | |||
| B842 | LD D,(HL) | |||
| B843 | INC HL | |||
| B844 | PUSH DE | |||
| B845 | DJNZ RestoreSavedCharacterRecord_ReadWords | |||
| B847 | POP HL | |||
| B848 | EX (SP),HL | Exchange HL with the return address and push HL. | ||
| B849 | PUSH HL | |||
| B84A | JP (IX) | Jump to the handler address in IX. | ||
| B84C | LD HL,($B18A) | Push the pointers at B18A and B188. | ||
| B84F | PUSH HL | |||
| B850 | LD HL,($B188) | |||
| B853 | PUSH HL | |||
| B854 | LD HL,($B186) | Push the pointers at B185+01 and B18C. | ||
| B857 | PUSH HL | |||
| B858 | LD HL,($B18C) | |||
| B85B | PUSH HL | |||
| B85C | LD HL,$686A | Take the message, then call PrintTextAndHandleControlCharacters to print the message. | ||
| B85F | CALL PrintTextAndHandleControlCharacters | |||
| B862 | RET | Return. | ||
| B863 | JP ProcessObjectDisplayLogic | Jump ahead to ProcessObjectDisplayLogic to draw this object. | ||
| Prev: B77F | Up: Map | Next: B866 |