Skip to navigation


Text: MT9

[Commodore 64 version]

Name: MT9 [Show more] Type: Subroutine Category: Text Summary: Clear the screen and set the current view type to 1 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 1.
.MT9 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