Prev: 62774 Up: Map Next: 62794
62784: Attribute Right
Used by the routine at Drawing.
Moves the attribute address one byte right. A high byte of 90 means it passed the end of the attribute file.
AttributeRight 62784 PUSH AF Step to the next attribute.
62785 INC HL
62786 LD A,H Skip the correction unless the pointer has gone past the end of the attribute file (high byte 90).
62787 CP 90
62789 JR NZ,AttributeRight_Next
62791 DEC HL Undo the step that passed the right edge.
AttributeRight_Next 62792 POP AF Restore the colour from the stack.
62793 RET Return.
View the equivalent code in;
Prev: 62774 Up: Map Next: 62794