Radio Shack TRS-80 Trsdos & Disk Basic Reference Manual page 181

Micro computer system
Hide thumbs Also See for TRS-80:
Table of Contents

Advertisement

Appendices
For
a
description
of
the graphics characters,
run
the following
program.
If
you
do
not have
a line
printer
connected, change
all
LPRINTs
to
PRINTs
and
use the shift-®
key
to
pause
the
display.
10 CLS: DEFINT
fl-Z
28 FOR
I
=128 TO 191
30 POKE
15360,
35 LPRINT CHR*<138>
40
LPRINT"GRRPHICS CODE
#
".;
I
45 LPRINT CHR$<138)
50
R1=P0
1
NT
<
0,
>
:
R2=P0
1
NT
(
i,
>
60 R3=P0
1
NT
(
0,
1
)
:
R4=P0
I
NT
<
1,
1
>
70 A5=PQ
I
NT
<
0,
2
)
:
R6=P0
I
NT
<
1,
2
>
80 LPR
I
NTTRB
<
8
)
CHR*
<
Hi*
(
-40
)
+48
i
CHR*
<
R2*
(
-40
)
+48
90 LPR
I
NTTRB
<
8
>
CHR*
<
A3*
<
-40
)
+48
)
;
CHR*
(
R4*
<
-40
)
+48
100
L
PR
1
NTTRB
(
8
)
CHR*
<
fl5*
<
-
40
)
+48
)
i
CHR*
<
A6+-
<
-40
>
+48
)
110 NEXT
The
space-compression codes provide
a
compact means
of
representing
strings
of blanks from
zero
to
63
blanks.
For
example,
CO
represents zero blanks;
CI,
1
blank; C2,
2 blanks;
FF, 63
blanks.
8-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents