Prev: 52197 Up: Map Next: 52216
52209: Fetch Position
Used by the routine at DrawFrame.
Reads a position (pixel column first) from a table.
Input
DE Address of the position
Output
DE Address after the position
HL Position (H is the pixel row and L is the pixel column)
FetchPosition 52209 LD A,(DE) Fetch the pixel column.
52210 INC DE Move on to the pixel row.
52211 LD L,A Keep the column.
52212 LD A,(DE) Fetch the pixel row.
52213 INC DE Move on past this position.
52214 LD H,A Keep the row.
52215 RET Return.
Prev: 52197 Up: Map Next: 52216