Dun Darach | Routines |
Prev: AE2C | Up: Map |
Used by the routines at Room_Initialise, Game_Main, Room_InitialiseInner, Hero_Arrest, Room_jvGambling, Thief_TryToSteal, Message_Display and Area_HideName.
|
|||||||
Ptr to data is stored directly after call (return address on stack).
|
|||||||
Block_ClearMem | AE36 | POP HL | Get address of data. | ||||
AE37 | LD E,(HL) | Get pointer to copy to. | |||||
AE38 | INC HL | ||||||
AE39 | LD D,(HL) | ||||||
AE3A | INC HL | ||||||
AE3B | LD C,(HL) | Number of bytes to copy. | |||||
AE3C | INC HL | ||||||
AE3D | PUSH HL | Store address after data as return address. | |||||
AE3E | LD B,$00 | ||||||
AE40 | LD HL,TempStore | Address to copy from. | |||||
AE43 | LDIR | ||||||
AE45 | RET |
Prev: AE2C | Up: Map |