Skip to navigation

Elite on the BBC Micro

Version analysis of MT8

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

Code variations between these versions are shown below.

Name: MT8 Type: Subroutine Category: Text Summary: Tab to column 6 and start a new word when printing extended tokens Deep dive: Extended text tokens
This routine sets the following: * XC = 6 (tab to column 6) * DTW2 = %11111111 (we are not currently printing a word)
.MT8

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

Tap on a version to expand it, and tap it again to show to all variations.

Docked

6502SP, Master

LDA #6 \ Move the text cursor to column 6 STA XC
LDA #6 \ Move the text cursor to column 6 JSR DOXC
 LDA #%11111111         \ Set all the bits in DTW2
 STA DTW2

 RTS                    \ Return from the subroutine

RSS Feed