EasyManuals Logo

Sinclair ZX Spectrum User Manual

Sinclair ZX Spectrum
82 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #33 background imageLoading...
Page #33 background image
Chapter 4
31
just one byte or separately in two. The interpretation of the attribute byte(s) also
depends upon the state of the full / half cell bit of the display mode register.
A shorthand notation can be used to specify each attribute mode and consists of the
attribute pixel size (width x height) followed by two letters that indicate the colour
mode. The attribute width indicates full cell (8 pixels) or half cell (4 pixels) mode, and
the attribute height indicates row (8 pixels), quad line (4 pixels), dual line (2 pixels) or
single line (1 pixel) mode. The colour mode letters indicate single (S) or double (D) byte
colour, and basic (B) or extra (E) colours. The range of attribute modes, along with the
interpretation of their attribute byte(s), are summarised below. Each mode is described
afterwards in further detail.
Attribute mode
Attribute cell byte 2
Attribute cell byte 1
8x8
SB
8x4
SB
8x2
SB
8x1
SB
F
B
P
g
P
r
P
b
I
g
I
r
I
b
8x8
DB
8x4
DB
8x2
DB
8x1
DB
F
P
B
P
P
g
P
r
P
b
F
I
B
I
I
g
I
r
I
b
8x8
SE
8x4
SE
8x2
SE
8x1
SE
F
P
I
g
I
g
I
r
I
r
I
b
I
b
8x8
DE
8x4
DE
8x2
DE
8x1
DE
F
P
P
g
P
g
P
r
P
r
P
b
P
b
F
I
I
g
I
g
I
r
I
r
I
b
I
b
4x8
SB
4x4
SB
4x2
SB
4x1
SB
F
B
I
Lg
I
Lr
I
Lb
I
Rg
I
Rr
I
Rb
4x8
DB
4x4
DB
4x2
DB
4x1
DB
F
P
B
P
P
Lg
P
Lr
P
Lb
P
Rg
P
Rr
P
Rb
F
I
B
I
I
Lg
I
Lr
I
Lb
I
Rg
I
Rr
I
Rb
4x8
SE
4x4
SE
4x2
SE
4x1
SE
F
I
L
I
Rg
I
Rg
I
Rr
I
Rr
I
Rb
I
Rb
4x8
DE
4x4
DE
4x2
DE
4x1
DE
F
P
P
L
*
I
Lg
I
Lg
I
Lr
I
Lr
I
Lb
I
Lb
F
I
P
R
*
I
Rg
I
Rg
I
Rr
I
Rr
I
Rb
I
Rb
The purpose of each bit in the attribute bytes is denoted by labels F, B, I or P to
indicate whether it defines flash, bright, ink or paper respectively. Subscripts of I and P
indicate that the bit applies only to the ink pixels or only to the paper pixels
respectively. Subscripts of L and R indicate that the bit applies only to the left half or
only to the right half of the attribute cell respectively. Subscripts of g, r and b indicate
the bit specifies the green, red and blue components of the colour respectively. Where
two bits appear within an attribute byte for a single colour component, the right most
bit defines the least significant bit of the colour. A ‘–’ indicates that the bit is available
for use by a program. An *’ indicates the intended purpose of the bit but due to a lack
of resources the SPECTRA interface is unable to support this functionality. In such
cases, the bit should always be set to 0 to ensure forwards compatibility with any
future version of the SPECTRA interface.

Table of Contents

Other manuals for Sinclair ZX Spectrum

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Sinclair ZX Spectrum and is the answer not in the manual?

Sinclair ZX Spectrum Specifications

General IconGeneral
ProcessorZilog Z80A
Clock Speed3.5 MHz
RAM16KB or 48KB
ROM16KB
Graphics256 x 192 resolution
Sound1-channel beeper
StorageCassette tape
InputKeyboard
Power9V DC
Release Year1982
DisplayTV via RF modulator
PortsExpansion, RF
Colors15 (8 colours with two levels of brightness each, plus black)

Related product manuals