Skip to navigation

Elite on the BBC Micro and NES

Version analysis of SPBT

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

Code variations between these versions are shown below.

Name: SPBT Type: Variable Category: Dashboard Summary: The bitmap definition for the space station indicator bulb
The bitmap definition for the space station indicator's "S" bulb that gets displayed on the dashboard.

Code variation 1 of 2A variation in the comments only

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

Each pixel is in mode 5 colour 2 (%10), which is yellow/white.
The bulb is four pixels wide, so it covers two mode 2 character blocks, one containing the left half of the "S", and the other the right half, which are displayed next to each other. Each pixel is in mode 2 colour 7 (%1111), which is white.
Each pixel is a white mode 4 pixel.
.SPBT

Code variation 2 of 2Related to an advanced feature

The "S" indicator bulb on the dashboard is four pixels wide in the advanced versions, while it is only three pixels wide in the cassette and disc versions. It is seven pixels wide in the Electron version, though the latter is in monochrome mode 4, so this is equivalent to 3.5 pixels in the colour versions.

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

EQUB %11100000 \ x x x . EQUB %11100000 \ x x x . EQUB %10000000 \ x . . . EQUB %11100000 \ x x x . EQUB %11100000 \ x x x . EQUB %00100000 \ . . x . EQUB %11100000 \ x x x . EQUB %11100000 \ x x x .
\ Left half of the "S" bulb \ EQUB %11111111 \ x x EQUB %11111111 \ x x EQUB %10101010 \ x . EQUB %11111111 \ x x EQUB %11111111 \ x x EQUB %00000000 \ . . EQUB %11111111 \ x x EQUB %11111111 \ x x \ Right half of the "S" bulb \ EQUB %11111111 \ x x EQUB %11111111 \ x x EQUB %00000000 \ . . EQUB %11111111 \ x x EQUB %11111111 \ x x EQUB %01010101 \ . x EQUB %11111111 \ x x EQUB %11111111 \ x x \ Combined "S" bulb \ \ x x x x \ x x x x \ x . . . \ x x x x \ x x x x \ . . . x \ x x x x \ x x x x
EQUB %11111110 \ x x x x x x x x . EQUB %11111110 \ x x x x x x x x . EQUB %11100000 \ x x x . . . . . . EQUB %11111110 \ x x x x x x x x . EQUB %11111110 \ x x x x x x x x . EQUB %00001110 \ . . . . . x x x . EQUB %11111110 \ x x x x x x x x . EQUB %11111110 \ x x x x x x x x .