Prev: 51941 Up: Map Next: 51977
51965: Draw Horizontal Edge
Used by the routines at DrawPlayingAreaBorder and DrawFrame.
Draws a number of blocks of two by two characters along a row.
Input
A' Attribute
B Number of blocks
DE Address of the four characters in a block
HL Screen address of the first block
DrawHorizontalEdge 51965 PUSH BC Stash the count and the characters on the stack.
51966 PUSH DE
51967 CALL PrintCharacterBlock Call PrintCharacterBlock.
51970 INC L Move on two positions to the right.
51971 INC L
51972 POP DE Restore the count and the characters from the stack.
51973 POP BC
51974 DJNZ DrawHorizontalEdge Jump to DrawHorizontalEdge until all of the blocks have been drawn.
51976 RET Return.
Prev: 51941 Up: Map Next: 51977