This code appears in the following versions (click to see it in the source code):
Code variations between these versions are shown below.
.SIGHT LDY VIEW \ Fetch the laser power for our new view LDA LASER,YName: SIGHT Type: Subroutine Category: Flight Summary: Draw the laser crosshairs
In the Master version, the laser crosshairs are different colours for the different laser types.
This variation is blank in the Cassette, Disc (flight), Disc (docked) and Electron versions.
Tap on a block to expand it, and tap it again to revert.
LDA #128 \ Set QQ19 to the x-coordinate of the centre of the STA QQ19 \ screen LDA #Y-24 \ Set QQ19+1 to the y-coordinate of the centre of the STA QQ19+1 \ screen, minus 24 (because TT15 will add 24 to the \ coordinate when it draws the crosshairs) LDA #20 \ Set QQ19+2 to size 20 for the crosshairs size STA QQ19+2
LDA #10 \ Set QQ19+2 to size 10 for the crosshairs size STA QQ19+2