Skip to navigation

Elite on the BBC Micro

Utility routines: TT66 [Cassette version]

Name: TT66 [Show more] Type: Subroutine Category: Utility routines Summary: Clear the screen and set the current view type
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: * DEATH calls TT66 * EQSHP calls TT66 * GTNME calls TT66 * LOOK1 calls TT66 * STATUS calls TT66 * TITLE calls TT66 * TT167 calls TT66 * TT18 calls TT66 * TT208 calls TT66 * TT213 calls TT66 * TT22 calls TT66 * TT23 calls TT66 * MJP calls entry point TT66-2 * TT219 calls entry point TT66-2 * TT25 calls entry point TT66-2

Clear the top part of the screen, draw a white border, and set the current view type in QQ11 to A. Arguments: A The type of the new current view (see QQ11 for a list of view types) Other entry points: TT66-2 Call TT66 with A = 1
LDA #1 \ Set the view type to 1 when this is called via the \ TT66-2 entry point .TT66 STA QQ11 \ Set the current view type in QQ11 to A \ Fall through into TTX66 to clear the screen and draw a \ white border