Prev: 54942 Up: Map Next: 54973
54957: Draw Tile Vertical
Used by the routine at DrawTilePixels.
Draws a tile reflected vertically, which is the lines from the last to the first.
Input
DE The address of the tile
HL The screen address
DrawTileVertical 54957 LD B,8 Set the number of lines.
54959 INC DE Move to the last line.
54960 INC DE
54961 INC DE
54962 INC DE
54963 INC DE
54964 INC DE
54965 INC DE
DrawTileVertical_Line 54966 LD A,(DE) Draw a line and move to the previous one.
54967 DEC DE
54968 LD (HL),A
54969 INC H
54970 DJNZ DrawTileVertical_Line Go back for the next line.
54972 RET Return.
Prev: 54942 Up: Map Next: 54973