Skip to navigation

Elite on the BBC Micro and NES

Text: plf2

[BBC Master version]

Name: plf2 [Show more] Type: Subroutine Category: Text Summary: Print text followed by a newline and indent of 6 characters
Context: See this subroutine in context in the source code Variations: See code variations for this subroutine in the different versions References: This subroutine is called as follows: * STATUS calls plf2

Print a text token followed by a newline, and indent the next line to text column 6.
Arguments: A The text token to be printed
.plf2 JSR plf \ Print the text token in A followed by a newline LDA #6 \ Move the text cursor to column 6 STA XC RTS \ Return from the subroutine