Skip to navigation

Elite on the BBC Micro

Drawing lines: NLIN (Disc version)

Name: NLIN [View in context] Type: Subroutine [Compare versions] Category: Drawing lines Summary: Draw a horizontal line at pixel row 23 to box in a title
Draw a horizontal line at pixel row 23 and move the text cursor down one line.
.NLIN LDA #23 \ Set A = 23 so NLIN2 below draws a horizontal line at \ pixel row 23 INC YC \ Move the text cursor down one line \ Fall through into NLIN2 to draw the horizontal line \ at row 23