![]() |
Routines |
| Prev: AE59 | Up: Map | Next: AE7F |
|
Used by the routines at AABD, StepDisplayState, ProcessCharacterData, FollowLinkWhenFlagged and InitialiseWhenFlagged.
Starts a character search, asks for 1E bytes, and stores the new record as the previous character on the list.
|
||||||||||||
| InitialiseCharacterDataStructure | AE6A | CALL InitialiseCharacterSearch | Call InitialiseCharacterSearch to start the character search, then ask for 1E bytes and call AllocateMemory to allocate them. | |||||||||
| AE6D | LD A,$1E | |||||||||||
| AE6F | CALL AllocateMemory | |||||||||||
| AE72 | PUSH IX | Store the low byte of the pointer in the previous character record. | ||||||||||
| AE74 | POP HL | |||||||||||
| AE75 | LD (IY-$02),L | |||||||||||
| AE78 | LD (IY-$01),H | Store the high byte of the pointer in the previous character record. | ||||||||||
| AE7B | PUSH HL | Point IY at the new character record. | ||||||||||
| AE7C | POP IY | |||||||||||
| AE7E | RET | Return. | ||||||||||
| Prev: AE59 | Up: Map | Next: AE7F |