Prev: CAFD Up: Map Next: CB19
CB09: 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 CB09 PUSH BC Stash the count and the characters on the stack.
CB0A PUSH DE
CB0B CALL PrintCharacterBlock Call PrintCharacterBlock.
CB0E CALL MoveDownRow Move down two rows.
CB11 CALL MoveDownRow
CB14 POP DE Restore the count and the characters from the stack.
CB15 POP BC
CB16 DJNZ DrawVerticalEdge Jump to DrawVerticalEdge until all of the blocks have been drawn.
CB18 RET Return.
Prev: CAFD Up: Map Next: CB19