![]() |
Routines |
| Prev: 21664 | Up: Map | Next: 21920 |
|
Used by the startup 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.
|
||||||||
| 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 |