![]() |
Routines |
| Prev: A544 | Up: Map | Next: A591 |
|
Used by the routine at ScrollMessage.
Copies a column of seven pixel lines, one byte wide, from the address C0 bytes after the destination address to the destination address.
|
||||||||
| CopyColumn | A581 | LD E,L | Copy the low byte of the destination address into E. | |||||
| A582 | LD D,H | Copy the high byte into D. | ||||||
| A583 | LD A,$C0 | Set the offset to C0. | ||||||
| A585 | CALL AddToAddress | Add the offset to the source address. | ||||||
|
This entry point is used by the routine at ShowTitleMenu.
|
||||||||
| CopyColumn_Copy | A588 | LD B,$07 | Set the number of lines to 07. | |||||
| CopyColumn_Loop | A58A | LD A,(HL) | Fetch a byte of the source. | |||||
| A58B | LD (DE),A | Store it at the destination. | ||||||
| A58C | INC H | Move down a pixel line in the source. | ||||||
| A58D | INC D | Move down a pixel line in the destination. | ||||||
| A58E | DJNZ CopyColumn_Loop | Jump back until all of the lines have been copied. | ||||||
| A590 | RET | Return. | ||||||
| Prev: A544 | Up: Map | Next: A591 |