Prev: B926 Up: Map Next: B939
B928: Convert a screen address into an attribute
Used by the routine at B798.
Input
HL Screen address
B928 PUSH DE
B929 PUSH AF
B92A LD A,H
B92B AND $18
B92D SRA A
B92F SRA A
B931 SRA A
B933 ADD A,$58
B935 LD H,A
B936 POP AF
B937 POP DE
B938 RET
Prev: B926 Up: Map Next: B939