![]() |
Routines |
| Prev: 44633 | Up: Map | Next: 44671 |
|
Used by the routines at 43709, StepDisplayState, ProcessCharacterData, FollowLinkWhenFlagged and InitialiseWhenFlagged.
Starts a character search, asks for 30 bytes, and stores the new record as the previous character on the list.
|
||||||||||||
| InitialiseCharacterDataStructure | 44650 | CALL InitialiseCharacterSearch | Call InitialiseCharacterSearch to start the character search, then ask for 30 bytes and call AllocateMemory to allocate them. | |||||||||
| 44653 | LD A,30 | |||||||||||
| 44655 | CALL AllocateMemory | |||||||||||
| 44658 | PUSH IX | Store the low byte of the pointer in the previous character record. | ||||||||||
| 44660 | POP HL | |||||||||||
| 44661 | LD (IY-2),L | |||||||||||
| 44664 | LD (IY-1),H | Store the high byte of the pointer in the previous character record. | ||||||||||
| 44667 | PUSH HL | Point IY at the new character record. | ||||||||||
| 44668 | POP IY | |||||||||||
| 44670 | RET | Return. | ||||||||||
| Prev: 44633 | Up: Map | Next: 44671 |