<s>
The	O
ZX81	B-Language
character	I-Language
set	I-Language
is	O
the	O
character	B-General_Concept
encoding	I-General_Concept
used	O
by	O
the	O
Sinclair	O
Research	O
ZX81	O
family	O
of	O
microcomputers	B-Architecture
including	O
the	O
Timex	B-Device
Sinclair	I-Device
1000	I-Device
and	O
Timex	O
Sinclair	O
1500	O
.	O
</s>
<s>
The	O
encoding	O
uses	O
one	O
byte	B-Application
per	O
character	O
for	O
256	O
code	O
points	O
.	O
</s>
<s>
It	O
has	O
no	O
relationship	O
with	O
previously	O
established	O
ones	O
like	O
ASCII	B-Protocol
or	O
EBCDIC	B-Language
,	O
but	O
it	O
is	O
related	O
though	O
not	O
identical	O
to	O
the	O
character	B-Language
set	I-Language
of	I-Language
the	I-Language
predecessor	I-Language
ZX80	I-Language
.	O
</s>
<s>
The	O
character	B-General_Concept
set	I-General_Concept
has	O
64	O
unique	O
glyphs	O
present	O
at	O
code	O
points	O
0	O
–	O
63	O
.	O
</s>
<s>
With	O
the	O
most	O
significant	O
bit	O
set	O
the	O
character	O
is	O
generated	O
in	O
inverse	B-General_Concept
video	I-General_Concept
;	O
corresponding	O
to	O
code	O
points	O
128	O
–	O
191	O
.	O
</s>
<s>
The	O
remaining	O
code	O
points	O
(	O
64	O
–	O
127	O
and	O
192	O
–	O
255	O
)	O
are	O
used	O
as	O
control	O
characters	O
such	O
as	O
118	O
for	O
newline	O
or	O
,	O
uniquely	O
to	O
Sinclair	B-Language
BASIC	I-Language
,	O
for	O
keywords	O
,	O
while	O
some	O
are	O
unused	O
.	O
</s>
<s>
The	O
lack	O
of	O
an	O
apostrophe	B-Language
led	O
some	O
software	O
authors	O
to	O
use	O
a	O
comma	O
instead	O
.	O
</s>
<s>
The	O
first	O
8	O
of	O
these	O
together	O
with	O
their	O
8	O
inverse	B-General_Concept
video	I-General_Concept
versions	O
(	O
16	O
code	O
points	O
)	O
provide	O
every	O
combination	O
of	O
the	O
character	O
cell	O
divided	O
into	O
2×2	O
black-and-white	O
block	O
pixels	O
for	O
low-resolution	O
64×48	O
pixel	O
graphics	O
.	O
</s>
<s>
These	O
,	O
in	O
combination	O
with	O
their	O
inverse	B-General_Concept
video	I-General_Concept
versions	O
and	O
some	O
of	O
the	O
previous	O
2×2	O
blocks	O
provides	O
for	O
a	O
32×48	O
resolution	O
with	O
3	O
levels	O
(	O
white	O
,	O
dithered	O
gray	O
,	O
black	O
)	O
.	O
</s>
<s>
The	O
basic	O
11	O
characters	O
plus	O
their	O
inverse	B-General_Concept
video	I-General_Concept
versions	O
,	O
makes	O
for	O
22	O
block	O
graphics	O
characters	O
in	O
total	O
.	O
</s>
<s>
The	O
character	B-General_Concept
set	I-General_Concept
in	O
the	O
ZX81	O
was	O
derived	O
from	O
the	O
ZX80	B-Language
character	I-Language
set	I-Language
.	O
</s>
<s>
They	O
have	O
mostly	O
the	O
same	O
code	O
points	O
,	O
e.g.	O
</s>
<s>
for	O
A-Z	O
and	O
0-9	O
,	O
but	O
the	O
code	O
points	O
are	O
different	O
for	O
the	O
block	O
graphics	O
characters	O
,	O
the	O
symbols	O
"	O
,	O
-	O
,	O
+	O
,	O
*	B-Language
,	O
/	O
,	O
=	O
,	O
,	O
,	O
and	O
the	O
BASIC	O
keyword	O
tokens	O
(	O
with	O
many	O
new	O
added	O
)	O
.	O
</s>
<s>
The	O
ZX81	B-Language
8K	I-Language
BASIC	I-Language
ROM	B-Device
was	O
also	O
available	O
as	O
an	O
upgrade	O
for	O
the	O
ZX80	O
,	O
replacing	O
its	O
integer-only	O
4K	O
BASIC	O
ROM	B-Device
.	O
</s>
<s>
The	O
ZX80	O
's	O
ROM	B-Device
which	O
had	O
slightly	O
wider	O
7×6	O
pixel	O
glyphs	O
with	O
only	O
one	O
pixel	O
horizontal	O
space	O
between	O
them	O
.	O
</s>
<s>
Some	O
glyphs	O
also	O
received	O
a	O
different	O
design	O
in	O
the	O
ZX81	O
system	O
font	O
,	O
noticeable	O
on	O
the	O
*	B-Language
,	O
the	O
slashed	O
and	O
less	O
rounded	O
0	O
,	O
and	O
the	O
less	O
rounded	O
$	O
,	O
C	B-Language
,	O
G	B-Application
and	O
J	B-Language
.	O
</s>
<s>
In	O
the	O
later	O
ZX	B-Operating_System
Spectrum	I-Operating_System
the	O
entire	O
character	B-General_Concept
encoding	I-General_Concept
was	O
replaced	O
with	O
the	O
ZX	B-Operating_System
Spectrum	I-Operating_System
character	B-General_Concept
set	I-General_Concept
,	O
which	O
is	O
a	O
derivative	O
of	O
ASCII	B-Protocol
and	O
includes	O
lower	O
case	O
letters	O
and	O
more	O
.	O
</s>
<s>
The	O
following	O
table	O
shows	O
the	O
ZX81	B-Language
character	I-Language
set	I-Language
.	O
</s>
