Prev: CAE5 Up: Map Next: CB09
CAFD: Print a piece several times along a row
Used by the routines at DRAW_PLAY_FRAME and PRINT_BORDER.
Each two characters to the right of the one before, with the same four codes.
Input
HL the screen address of the first
DE its four codes
B how many
A' the colour
Output
HL two characters past the last
PRINT_BLOCK_ROW CAFD PUSH BC a piece; two characters right; the same codes again
CAFE PUSH DE
CAFF CALL PRINT_BLOCK
CB02 INC L
CB03 INC L
CB04 POP DE
CB05 POP BC
CB06 DJNZ PRINT_BLOCK_ROW
CB08 RET
Prev: CAE5 Up: Map Next: CB09