Skip to navigation

Elite on the BBC Micro and NES

Version analysis of TT66

This code appears in the following versions (click to see it in the source code):

Code variations between these versions are shown below.

Name: TT66 Type: Subroutine Category: Drawing the screen Summary: Clear the screen and set the current view type
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)

Code variation 1 of 3A variation in the comments only

This variation is blank in the Disc (flight), Disc (docked), 6502 Second Processor and Master versions.

Other entry points: TT66-2 Call TT66 with A = 1

Code variation 2 of 3Minor and very low-impact

This variation is blank in the Disc (flight), Disc (docked), 6502 Second Processor and Master versions.

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

Code variation 3 of 3A variation in the labels only

Tap on a block to expand it, and tap it again to revert.

\ Fall through into TTX66 to clear the screen and draw a \ white border
\ Fall through into TTX66K to clear the screen and draw \ a white border