Skip to navigation

Elite on the BBC Micro and NES

Version analysis of MT9

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

Code variations between these versions are shown below.

Name: MT9 Type: Subroutine Category: Text Summary: Clear the screen and set the current view type to 1 Deep dive: Extended text tokens
This routine sets the following: * XC = 1 (tab to column 1) before calling TT66 to clear the screen and set the view type to 1.
.MT9

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.

LDA #1 \ Move the text cursor to column 1 STA XC
LDA #1 \ Call DOXC to move the text cursor to column 1 JSR DOXC
 JMP TT66               \ Jump to TT66 to clear the screen and set the current
                        \ view type to 1, returning from the subroutine using a
                        \ tail call