EasyManuals Logo
Home>Sinclair>Desktop>ZX Spectrum 128

Sinclair ZX Spectrum 128 Service Manual

Sinclair ZX Spectrum 128
39 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 #7 background imageLoading...
Page #7 background image
Sinclair ZX Spectrum Service Manual
Spectrum For Everyone https://spectrumforeveryone.com/
7
1.4 MEMORY ORGANISATION
The Spectrum 128 has 160K bytes of addressable memory - a 32K byte ROM (IC5) and 128K bytes of
dynamic RAM (IC6-IC22). The latter is organised as eight 16K byte pages as indicated below.
Page 7
screen 2
Contended video RAM (ICs 6-13)
Page 6
Page 5
screen 1
Page 4
Page 3
Uncontended ‘upper’ RAM (ICs 15-22)
Page 2
Page 1
Page 0
Pages 0-3 are uncontended and are accessed solely by the Z80. Pages 4-7 are contended in that the Z80
and ULA IC1 both require access to pages 5 and 7 in order to generate the memory mapped displays.
(Editor’s note – this is inaccurate. Pages 1,3,5 and 7 are contended and pages 0,2,4 and 6 are uncontended. This is due to an
error in the PAL (IC29) equations. This was not corrected until the arrival of the +2A and +3 models.)
The address of any page of RAM depends on where it appears in the address space of the Z80 which is
structured as follows:
C000
H
page 0-7
Screen 1
8000
H
page 2
4000
H
page 5
0000
H
ROM 0 or 1
All memory accesses are controlled by the programmable logic array (PAL) IC29. It does this by decoding
the two most significant Z80 address bits Z15, Z14 with bits B2-B0 from the bank register to produce
three pairs of supplementary address lines. They are:
a) UA15, 14 specifying the page number in the uncontended RAM space
b) VA15, 14 specifying the page number in the contended RAM space
c) ULA15, 14 controlling bus arbitration and Z80 access to the ROM and contended RAM space.
The decodes are summarised below and described in the following paragraphs.
Z80 Operation
ZA15
B2
B1
B0
ULA15
ULA14
VA15
VA14
UA15
UA14
ROM access
0
X
X
X
0
0
X
X
X
X
4000
H
-7FFF
H
0
X
X
X
0
1
0
1
X
X
8000
H
-BFFF
H
1
X
X
X
1
0
X
X
1
0
Page 0 access
1
0
0
0
1
X
X
X
0
0
Page 1 access
1
0
0
1
1
X
X
X
0
1
Page 2 access
1
0
1
0
1
X
X
X
1
0
Page 3 access
1
0
1
1
1
X
X
X
1
1
Page 4 access
1
1
0
0
0
1
0
0
X
X
Page 5 access
1
1
0
1
0
1
0
1
X
X
Page 6 access
1
1
1
0
0
1
1
0
X
X
Page 7 access
1
1
1
1
0
1
1
1
X
X

Other manuals for Sinclair ZX Spectrum 128

Questions and Answers:

Question and Answer IconNeed help?

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

Sinclair ZX Spectrum 128 Specifications

General IconGeneral
BrandSinclair
ModelZX Spectrum 128
CategoryDesktop
LanguageEnglish

Related product manuals