Skip to navigation

Elite on the BBC Micro

Drawing pixels: CTWOS [Electron version]

Name: CTWOS [Show more] Type: Variable Category: Drawing pixels Summary: Ready-made double-pixel character row bytes for the mode 4 dashboard
Context: See this variable in context in the source code Variations: See code variations for this variable in the different versions References: This variable is used as follows: * DIL2 calls CTWOS

Ready-made bytes for plotting two-pixel points in the mode 4 dashboard (the bottom part of the screen). The layout of the pixels is similar to the layout of four-colour mode 5 pixels, so the byte at position X contains a 2-pixel mode 4 dot at position 2 * X (we do this so the same code can be used to create both the monochrome Electron dashboard and the four-colour mode 5 dashboard in the other versions).
.CTWOS EQUB %11000000 EQUB %00110000 EQUB %00001100 EQUB %00000011