EasyManua.ls 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 #36 background imageLoading...
Page #36 background image
Chapter 4
34
Half cell
In basic colours mode using single byte colour, the ink colour for the left and right
halves of each cell can be set independently to any of the basic 8 colours. The paper
colour is always black. The format of each attribute cell is as follows:
7
6
5
4
3
2
1
0
Right half ink, ordered as GRB
Left half ink, ordered as GRB
1=Bright
1=Flash
The bright bit applies to the full cell and allows a total of 16 different colour values to
be produced, although only 15 of these are unique since black and bright black
display the same. The flash bit applies to the full cell and when set causes the ink
colours to swap over with the paper colour at a fixed frequency of 1.565 Hz.
In basic colours mode using double byte colour, the first attribute cell byte defines the
ink colour for the two halves of the cell and the second attribute cell byte defines the
paper colour for the two halves of the cell. Both bytes are formatted as follows:
7
6
5
4
3
2
1
0
Right half colour, ordered as GRB
Left half colour, ordered as GRB
1=Bright
1=Flash
The format encodes the left ink, the right ink, the left paper and the right paper using 3
bits, yielding each a range of 8 colours. Both bytes include a bright bit, allowing a total
of 16 different colour values to be produced for the ink and 16 for the paper, although
in each instance only 15 of these are unique since black and bright black display the
same. The brightness of the left ink and right ink will always be the same, and likewise
the brightness of the left paper and right paper will always be the same.
With the flash bit in both attribute cell bytes set, all ink and paper colours in the cell
swap over at a fixed frequency of 1.565 Hz. However, if only the ink attribute byte’s
flash bit is set then just the ink coloured pixels in the cell swap between the ink colour
and the paper colour, and if only the paper attribute byte’s flash bit is set then just the
paper colour pixels in the cell swap between the paper colour and the ink colour.

Table of Contents

Other manuals for Sinclair ZX Spectrum

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)

Summary

Introduction to the SPECTRA Interface

SPECTRA Interface Features Overview

Details the core features including SCART, sound, display modes, joystick, RS232, ROM, reset, and expansion bus.

Setting Up the SPECTRA Interface

Connection Procedure

Step-by-step guide to connect the interface to the Spectrum and TV for initial use.

Connection Order

Explains how to connect multiple peripherals to avoid ROM conflicts and ensure proper operation.

SCART Connection Guide

Advanced Display Modes

Attribute Mode Overview

Introduces display formats, colour resolutions, and attribute modes for enhanced graphics.

Display Mode Register Control

Explains the 8-bit register used to select and control new display modes.

Joystick Socket Functionality

Kempston Joystick Compatibility

Explains the Kempston socket, its input port, and how to read joystick input.

RS232 Serial Port

RS232 Socket and Cable Wiring

Details the RS232 port, pinout, and custom cable requirements for serial communication.

ROM Support and Extensions

Reset Button and Expansion Bus

Appendix C: Troubleshooting Guide

Common Display and Connectivity Issues

Lists problems like no picture, signal indicator issues, and SCART connection problems.

Peripheral and Mode Conflicts

Addresses issues with display modes, other peripherals, and RS232/joystick conflicts.

Related product manuals