Prev: 26880 Up: Map Next: 26905
26896: Screen Address One Pixel Below
Used by the routines at AttributesPlayArea and DrawPlayArea.
Input
HL Current position
Output
HL Address for new position
Calculates the new address for writing a sprite pixel, in an downwards direction.
26896 LD A,L L=L + 32 (one line).
26897 ADD A,32
26899 LD L,A
26900 LD A,H H=H + 0 (but include the carry from above).
26901 ADC A,0
26903 LD H,A
26904 RET Return.
Prev: 26880 Up: Map Next: 26905