EasyManua.ls Logo

Radio Shack TRS-80 Model III - Page 37

Radio Shack TRS-80 Model III
274 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
Loading...
OPERATION
The
remaining
64 must first be
'
'
switched
in
'
'
and then
may be
displayed
via
PRINT
.
Codes
192
through 255
normally function
as
space
compression codes;
however, a
software
switch will
activate the
special
character set.
The
statement:
PRINT
CHR$(21)
switches back
and
forth
between
space
compression
and
special
characters.
Another
software
switch
selects an
alternate
set
of
special
characters
(Japanese
Kana
characters)
.
Each time you
execute
the
statement
PRINT
CHR$(22)
the
active/inactive
sets are
swapped.
The
following
program
will
switch in the
special
characters
and
display
both sets
of
them.
5
CLS
10 POKE
16526, 105
'
LSB OF
*IIMITIO ENTRY
ADDRESS
20 POKE
16527,
'MSB
30 X
=
USR<0>
'CALL
*IIMITIO
40
PRINT CHR*<21>
'SWITCH
IN
SPECIAL
CHARACTERS
50 INPUT
"PRESS
<EIMTER>
TO SEE
SPECIAL
CHARACTERS";
X
60
FOR I
=
192
TO 255
70
PRINT
CHR*( I )
?
80 NEXT I
90
PRINT
100 INPUT
"PRESS
<EIMTER> TO
SWITCH TO
ALTERNATE
SET"?
X
110 PRINT CHR*<22>5
'SWITCH
IN
ALTERNATE
SET
120
INPUT "PRESS
<EIMTER> TO
RETURN TO
NORMAL
AND END"?
X
130
PRINT
CHR*<22>5
CHR*<21)
27

Other manuals for Radio Shack TRS-80 Model III

Related product manuals