Prev: AA0C Up: Map Next: AA37
AA23: Return the attribute buffer for a co-ordinate on screen
Used by the routine at A8EC.
Input
D The co-ordinate to look up
HL On exit, holds the attribute address
AA23 PUSH DE
AA24 PUSH BC
AA25 EX DE,HL
AA26 LD HL,$5B00
AA29 LD BC,$0020
AA2C INC D
AA2D AND A
AA2E SBC HL,BC
AA30 DEC D
AA31 JR NZ,$AA2D
AA33 ADD HL,DE
AA34 POP BC
AA35 POP DE
AA36 RET
Prev: AA0C Up: Map Next: AA37