This code appears in the following versions (click to see it in the source code):
Code variations between these versions are shown below.
Name: B% Type: Variable Category: Drawing the screen
This block contains the bytes that get written by OSWRCH to set up the screen mode (this is equivalent to using the VDU statement in BASIC).
This variation is blank in the Cassette, Disc (flight), 6502 Second Processor and Electron versions.
* In the Master version of Elite, the screen mode is actually based on mode 129 rather than mode 1, so shadow RAM (known as LYNNE) is used to store the screen memory, though in all other respects the screen mode is the same as if it were based on mode 1
* The cursor is disabled
This variation is blank in the Electron version.
Tap on a block to expand it, and tap it again to revert.
.B%
This variation is blank in the Electron version.
Tap on a block to expand it, and tap it again to revert.
This variation is blank in the Electron version.
Tap on a block to expand it, and tap it again to revert.
This variation is blank in the Electron version.
Tap on a block to expand it, and tap it again to revert.
This variation is blank in the Cassette, Disc (flight), Master and Electron versions.
EQUB 23, 0, &87, 34 \ Set 6845 register R7 = 34 EQUB 0, 0, 0 \ EQUB 0, 0, 0 \ This is the "vertical sync position" register, which \ defines the row number where the vertical sync pulse \ is fired. This is already set to 34 for mode 1 and 2, \ so I'm not sure what this VDU sequence does, \ especially as the register number has bit 7 set (it's \ &87 rather than 7). More investigation needed!