Skip to navigation

Elite on the BBC Micro and NES

Version analysis of plf2

This code appears in the following versions (click to see it in the source code):

Code variations between these versions are shown below.

Name: plf2 Type: Subroutine Category: Text Summary: Print text followed by a newline and indent of 6 characters
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

Code variation 1 of 1Related to Elite's use of the Tube

Tap on a block to expand it, and tap it again to revert.

LDX #6 \ Move the text cursor to column 6 STX XC RTS \ Return from the subroutine
LDA #6 \ Move the text cursor to column 6 STA XC RTS \ Return from the subroutine
LDA #6 \ Move the text cursor to column 6 and return from the JMP DOXC \ subroutine using a tail call