Skip to navigation

Elite on the BBC Micro and NES

Version analysis of TT67

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

Code variations between these versions are shown below.

Name: TT67 Type: Subroutine Category: Text Summary: Print a newline
.TT67

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

This variation is blank in the Cassette, Disc (flight), Disc (docked) and Electron versions.

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

\INC YC \ This instruction is commented out in the original \ source
INC YC \ Move the text cursor counter in YC down a line

Code variation 2 of 2Related to a standard feature

The cassette version uses control code 13 for printing newlines, while the other versions use control code 12.

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

LDA #13 \ Load a newline character into A
LDA #12 \ Load a newline character into A
 JMP TT27               \ Print the text token in A and return from the
                        \ subroutine using a tail call