Prev: 929C Up: Map Next: 93FE
93DD: Return the display file and attribute address of a sprite
Used by the routine at 929C.
Input
HL On input, Y and X co-ordinates. On output, attribute address
DE On output, display file address
93DD PUSH AF
93DE PUSH DE
93DF LD A,$BF
93E1 SUB H
93E2 LD H,$00
93E4 EX DE,HL
93E5 LD HL,$5800
93E8 SRL E
93EA SRL E
93EC SRL E
93EE ADD HL,DE
93EF AND $F8
93F1 SLA A
93F3 RL D
93F5 SLA A
93F7 RL D
93F9 LD E,A
93FA ADD HL,DE
93FB POP DE
93FC POP AF
93FD RET
Prev: 929C Up: Map Next: 93FE