Prev: 36900 Up: Map Next: 36919
36908: Draw an edge of frame of a window
Used by the routine at 37147.
Input
HL Width of window (characters) minus 1 - used as a loop counter to print segments of window border
36908 LD A,H Check whether remaining window's width is zero...
36909 OR L ...and if it is...
36910 RET Z ...then return
The operand of the instruction at 36911 represents the border style (character index) to print. This is modified by the instructions at 37028, 37176 and 37246.
36911 LD A,0 Load A with the border style (character index)...
36913 CALL 36475 ...print the character...
36916 DEC HL ...decrease the remaining width...
36917 JR 36908 ...and loop back to 36908
Prev: 36900 Up: Map Next: 36919