Prev: 46758 Up: Map Next: 46780
46770: Move Down Row
Used by the routines at PrintCharacterBlock, PrintBigDigit and PrintBorderColumn.
Moves down by one character row in the display file.
Input
HL Screen address
Output
HL Screen address one character row down
MoveDownRow 46770 LD A,L Add 32 to the low byte of the address.
46771 ADD A,32
46773 LD L,A
46774 RET NC Return if that did not move into the next third of the display.
46775 LD A,H Otherwise move on to the next third.
46776 ADD A,8
46778 LD H,A
46779 RET Return.
View the equivalent code in;
Prev: 46758 Up: Map Next: 46780