Prev: 21664 Up: Map Next: 21920
21746: Prepare addresses 23808 to 24575
Used by the routine at 33204. Copies 256 bytes from eight 32-byte segments. The routine is called three times with the values in DE and HL shown below. The 24 32-byte segments are used later on as character buffers.
Input
DE 23808, 24064 or 24320
H 191, 199 or 207
L 0
21746 LD A,8 There are 8 chunks of 32 bytes to copy
21748 LD BC,32 Copy 32 bytes
21751 LDIR
21753 INC H Point HL at the next chunk of 32 bytes to copy
21754 LD L,B
21755 DEC A Next chunk
21756 JR NZ,21748 Jump back until all 8 chunks have been copied
21758 RET
Prev: 21664 Up: Map Next: 21920