Skool Daze Routines
30132: Draw left and right edges of lines bubble in buffer
Used by routines at 30156 and 30208. Draws the left and right edges of the lines bubble against the lines of text just written into the graphic buffer.
DE Graphic buffer address
30132 LD HL,65473 Point HL at the top left corner of the text that was just written into the graphic buffer
30135 ADD HL,DE
30136 LD DE,7
30139 LD BC,30115 Point BC at the graphic data table at 30115
30142 LD A,(BC) Pick up a bubble left-edge graphic byte in A
30143 INC C
30144 INC A Have we finished drawing the edges?
30145 RET Z Return if so
30146 OR (HL) Superimpose the bubble edge graphic byte
30147 LD (HL),A
30148 ADD HL,DE Move over to the right edge
30149 LD A,(BC) Pick up a bubble right-edge graphic byte in A
30150 INC C
30151 OR (HL) Superimpose the bubble edge graphic byte
30152 LD (HL),A
30153 INC HL Move back to the left edge, one pixel row down
30154 JR 30142 Jump back to superimpose another edge graphic byte