EasyManuals Logo
Home>Sinclair>Desktop>ZX Spectrum

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 #30 background imageLoading...
Page #30 background image
Chapter 4
28
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Display file:
0
1
0
A1
A0
L2
L1
L0
R2
R1
R0
C4
C3
C2
C1
C0
Attributes file:
0
1
0
1
1
0
A1
A0
R2
R1
R0
C4
C3
C2
C1
C0
The area number is specified by bits An, the row number within an area by bits Rn, the
pixel line number within a row by bits Ln and the column number by bits Cn. It can be
seen that the lower 8 bits are identical between the display file and the attributes file,
and this approach was used since it simplified the picture generation logic inside the
ULA. Note that the A0 and A1 bits never both hold a value of 1, and thus the display
file and the attributes file can never overlap.
The new attribute modes provided by the SPECTRA interface use an addressing
scheme for the display file that is identical to that used by the standard Spectrum
screen. However, the addressing schemes used for the various display mode attribute
files are different. A relationship between them and the display file can be seen by
examining address lines A8 to A12, which shift by one bit position to the left each time
the vertical colour resolution is doubled. It becomes clear that although the standard
attributes file (row mode) visually appears to be a logical progression, it can actually be
thought of as an extreme case of the ‘odd’ sequence seen in the display file. The
addressing schemes for the new attribute modes are shown below.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Display file:
0
1
0
A1
A0
L2
L1
L0
R2
R1
R0
C4
C3
C2
C1
C0
Row mode:
0
1
0
1
1
D
A1
A0
R2
R1
R0
C4
C3
C2
C1
C0
Quad line mode:
0
1
1
0
D
A1
A0
L2
R2
R1
R0
C4
C3
C2
C1
C0
Dual line mode:
0
1
1
D
A1
A0
L2
L1
R2
R1
R0
C4
C3
C2
C1
C0
Single line mode basic / extra colours using single byte colour:
0
1
1
A1
A0
L2
L1
L0
R2
R1
R0
C4
C3
C2
C1
C0
Single line mode basic / extra colours using double byte colour:
Single line area:
0
1
1
D
A0
L2
L1
L0
R2
R1
R0
C4
C3
C2
C1
C0
Dual line area:
0
1
0
1
1
D
L2
L1
R2
R1
R0
C4
C3
C2
C1
C0
The bit denoted by D applies to double byte colour and its action depends upon the
full / half cell bit of the display mode register. In full cell mode and in half cell mode

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
BrandSinclair
ModelZX Spectrum
CategoryDesktop
LanguageEnglish

Related product manuals