![]() |
Routines |
| Prev: 54A0 | Up: Map |
|
Used by the routine at 81B4. 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.
|
||||||||||||||
| 54F2 | LD A,$08 | There are 8 chunks of 32 bytes to copy | ||||||||||||
| 54F4 | LD BC,$0020 | Copy 32 bytes | ||||||||||||
| 54F7 | LDIR | |||||||||||||
| 54F9 | INC H | Point HL at the next chunk of 32 bytes to copy | ||||||||||||
| 54FA | LD L,B | |||||||||||||
| 54FB | DEC A | Next chunk | ||||||||||||
| 54FC | JR NZ,$54F4 | Jump back until all 8 chunks have been copied | ||||||||||||
| 54FE | RET | |||||||||||||
| Prev: 54A0 | Up: Map |