Skip to navigation


Text: crlf

[Commodore 64 version]

Name: crlf [Show more] Type: Subroutine Category: Text Summary: Tab to column 21 and print a colon
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * TT27 calls crlf

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)