Prev: 51965 Up: Map Next: 51993
51977: Draw Vertical Edge
Used by the routines at DrawPlayingAreaBorder and DrawFrame.
Draws a number of blocks of two by two characters down a column.
Input
A' Attribute
B Number of blocks
DE Address of the four characters in a block
HL Screen address of the first block
DrawVerticalEdge 51977 PUSH BC Stash the count and the characters on the stack.
51978 PUSH DE
51979 CALL PrintCharacterBlock Call PrintCharacterBlock.
51982 CALL MoveDownRow Move down two rows.
51985 CALL MoveDownRow
51988 POP DE Restore the count and the characters from the stack.
51989 POP BC
51990 DJNZ DrawVerticalEdge Jump to DrawVerticalEdge until all of the blocks have been drawn.
51992 RET Return.
Prev: 51965 Up: Map Next: 51993