Skip to navigation

Elite on the BBC Micro and NES

Drawing lines: NLIN3

[NES version, Bank 7]

Name: NLIN3 [Show more] Type: Subroutine Category: Drawing lines Summary: Print a title and draw a screen-wide horizontal line on tile row 2 to box it in
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * EQSHP calls NLIN3 * STATUS calls NLIN3 * TT167 calls NLIN3 * TT22 calls NLIN3 * TT23 calls NLIN3 * TT25 calls NLIN3
.NLIN3 PHA ; Move the text cursor to row 0 LDA #0 STA YC PLA JSR TT27_b2 ; Print the text token in A ; Fall through into NLIN4 to draw a horizontal line at ; pixel row 19