This code appears in the following versions (click to see it in the source code):
Code variations between these versions are shown below.
Name: LL164 Type: Subroutine Category: Drawing circles Summary: Make the hyperspace sound and draw the hyperspace tunnel
See the IRQ1 routine for details on the multi-coloured effect that's used.
.LL164
The Master version has a unique hyperdrive sound.
Tap on a block to expand it, and tap it again to revert.
This variation is blank in the Master version.
Tap on a block to expand it, and tap it again to revert.
LDA #4 \ Set the step size for the hyperspace rings to 4, so \ there are more sections in the rings and they are \ quite round (compared to the step size of 8 used in \ the much more polygonal launch rings)
This variation is blank in the Cassette, Disc (flight), Disc (docked), 6502 Second Processor and Electron versions.
STA HFX \ Set HFX to 4, which switches the screen mode to a full \ mode 2 screen, therefore making the hyperspace rings \ multi-coloured and all zig-zaggy (see the IRQ1 routine \ for details)
JSR HFS2 \ Call HFS2 to draw the hyperspace tunnel rings