![]() |
Routines |
| Prev: 42308 | Up: Map | Next: 42385 |
|
Used by the routine at ScrollMessage.
Copies a column of seven pixel lines, one byte wide, from the address 192 bytes after the destination address to the destination address.
|
||||||||
| CopyColumn | 42369 | LD E,L | Copy the low byte of the destination address into E. | |||||
| 42370 | LD D,H | Copy the high byte into D. | ||||||
| 42371 | LD A,192 | Set the offset to 192. | ||||||
| 42373 | CALL AddToAddress | Add the offset to the source address. | ||||||
|
This entry point is used by the routine at ShowTitleMenu.
|
||||||||
| CopyColumn_Copy | 42376 | LD B,7 | Set the number of lines to 7. | |||||
| CopyColumn_Loop | 42378 | LD A,(HL) | Fetch a byte of the source. | |||||
| 42379 | LD (DE),A | Store it at the destination. | ||||||
| 42380 | INC H | Move down a pixel line in the source. | ||||||
| 42381 | INC D | Move down a pixel line in the destination. | ||||||
| 42382 | DJNZ CopyColumn_Loop | Jump back until all of the lines have been copied. | ||||||
| 42384 | RET | Return. | ||||||
| Prev: 42308 | Up: Map | Next: 42385 |