Skip to navigation

Elite on the BBC Micro

Text: crlf (6502SP version)

Name: crlf [View in context] Type: Subroutine [Compare versions] Category: Text Summary: Tab to column 21 and print a colon
Print control code 9 (tab to column 21 and print a colon). The subroutine name is pretty misleading, as it doesn't have anything to do with carriage returns or line feeds.
.crlf LDA #21 \ Set the X-column in XC to 21 JSR DOXC JMP TT73 \ Jump to TT73, which prints a colon (this BNE is \ effectively a JMP as A will never be zero)