Skip to navigation

Elite on the BBC Micro and NES

Drawing the screen: TT66

[BBC Micro disc version, Flight]

Name: TT66 [Show more] Type: Subroutine Category: Drawing the screen 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 * LOOK1 calls TT66 * MJP calls TT66 * STATUS calls TT66 * TT167 calls TT66 * TT18 calls TT66 * TT213 calls TT66 * TT22 calls TT66 * TT23 calls TT66 * TT25 calls TT66 * TT26 calls TT66

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)
.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