Skip to navigation


Version analysis of LAUN

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

Code variations between these versions are shown below.

Name: LAUN Type: Subroutine Category: Drawing circles Summary: Make the launch sound and draw the launch tunnel
This is shown when launching from or docking with the space station.
.LAUN

Code variation 1 of 1Specific to an individual platform

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

LDA #48 \ Call the NOISE routine with A = 48 to make the sound JSR NOISE \ of the ship launching from the station
LDY #solaun \ Call the NOISE routine with Y = 8 to make the sound JSR NOISE \ of the ship launching from the station
 LDA #8                 \ Set the step size for the launch tunnel rings to 8, so
                        \ there are fewer sections in the rings and they are
                        \ quite polygonal (compared to the step size of 4 used
                        \ in the much rounder hyperspace rings)

                        \ Fall through into HFS2 to draw the launch tunnel rings