Skip to navigation

Elite on the BBC Micro

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), Master and Electron versions.

6502SP

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 version to expand it, and tap it again to show to all variations.

Cassette, Electron

Flight, Docked, 6502SP, Master

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

RSS Feed