Hunchback
Routines
Prev:
681A
Up:
Map
Next:
6831
6820: Get an attribute from screen
Used by the routines at
67BA
,
67CC
and
70CA
.
Input
A
On exit, holds the chosen attribute
B
Y co-ordinate
C
X co-ordinate
6820
LD HL,$57DF
6823
LD DE,$0020
6826
INC B
6827
ADD HL,DE
6828
DJNZ $6827
682A
LD B,C
682B
INC B
682C
INC HL
682D
DJNZ $682C
682F
LD A,(HL)
6830
RET
Prev:
681A
Up:
Map
Next:
6831