Skip to navigation


Version analysis of HFX

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

Code variations between these versions are shown below.

.HFX

Code variation 1 of 2A variation in the comments only

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

SKIP 1 \ A flag that toggles the hyperspace colour effect \ \ * 0 = no colour effect \ \ * Non-zero = hyperspace colour effect enabled \
SKIP 1 \ This flag is unused in this version of Elite. In the \ other versions, setting HFX to a non-zero value makes \ the hyperspace rings multi-coloured, but the Electron \ version is monochrome, so this has no effect

Code variation 2 of 2A variation in the comments only

This variation is blank in the Electron version.

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

\ When HFX is set to 1, the mode 4 screen that makes \ up the top part of the display is temporarily switched \ to mode 5 (the same screen mode as the dashboard), \ which has the effect of blurring and colouring the \ hyperspace rings in the top part of the screen. The \ code to do this is in the LINSCN routine, which is \ called as part of the screen mode routine at IRQ1. \ It's in LINSCN that HFX is checked, and if it is \ non-zero, the top part of the screen is not switched \ to mode 4, thus leaving the top part of the screen in \ the more colourful mode 5
\ When HFX is set to 1, the mode 1 screen that makes \ up the top part of the display is temporarily switched \ to mode 2 (the same screen mode as the dashboard), \ which has the effect of blurring and colouring the \ hyperspace rings in the top part of the screen. The \ code to do this is in the LINSCN routine, which is \ called as part of the screen mode routine at IRQ1. \ It's in LINSCN that HFX is checked, and if it is \ non-zero, the top part of the screen is not switched \ to mode 1, thus leaving the top part of the screen in \ the more colourful mode 2