Skip to navigation

Elite on the BBC Micro and NES

Text: MT8

[BBC Micro disc version, Docked]

Name: MT8 [Show more] Type: Subroutine Category: Text Summary: Tab to column 6 and start a new word when printing extended tokens Deep dive: Extended text tokens
Context: See this subroutine in context in the source code Variations: See code variations for this subroutine in the different versions References: This subroutine is called as follows: * JMTB calls MT8

This routine sets the following: * XC = 6 (tab to column 6) * DTW2 = %11111111 (we are not currently printing a word)
.MT8 LDA #6 \ Move the text cursor to column 6 STA XC LDA #%11111111 \ Set all the bits in DTW2 STA DTW2 RTS \ Return from the subroutine