Skip to navigation

BBC Micro Elite

Drawing lines: NLIN4

Name: NLIN4 [View in context] Type: Subroutine Category: Drawing lines Summary: Draw a horizontal line at pixel row 19 to box in a title
This routine is used on the Inventory screen to draw a horizontal line at pixel row 19 to box in the title.
.NLIN4 { LDA #19 \ Jump to NLIN2 to draw a horizontal line at pixel row BNE NLIN2 \ 19, returning from the subroutine with using a tail \ call (this BNE is effectively a JMP as A will never \ be zero) }