Skip to navigation

Elite on the BBC Micro and NES

Text: MT9

[NES version, Bank 2]

Name: MT9 [Show more] Type: Subroutine Category: Text Summary: Clear the screen and set the view type for a text-based mission briefing Deep dive: Extended text tokens
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * JMTB calls MT9

This routine sets the following: * XC = 1 (tab to column 1) before calling TT66 to clear the screen and set the view type to $95.
.MT9 LDA #1 ; Move the text cursor to column 1 STA XC LDA #$95 ; Clear the screen and set the view type in QQ11 to $95 JMP TT66_b0 ; (Text-based mission briefing), returning from the ; subroutine using a tail call