EasyManua.ls Logo

Texas Instruments TI-99/4A - Page 96

Texas Instruments TI-99/4A
204 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...
CHAR subprogram
(Character definition)
CALL
CHAR(char-code, "pattern'identifier'')
The
CHAR
subprogram allows you to define your own special
graphics characters,
You
can redefine the
standard
set
of
characters
(ASCII codes 32-127) and establish additional
characters
with
codes
UM-lSY,
The
char'
code
specifies the code of the
character
you wish to define
and must be a numeric expression with a value between 32
and
159, inclusive,
If
the
character
you
are
defining is in the range 128-
159 and there
is
insufficient free memory to define the character.
the program will terminate with a "MEMORY
FULL"
error.
The
pattern'identifier
is
a 16-character
string
expression which
specifies
the
pattern
of
the
character
you
want
to
use
in
your
program.
This
string
expression is a coded representation of the 64
dots which
make
up a
character
position on the screen.
These
64
dots comprise
an
by'8
grid as
ShOWli
1Jeluw.
gl
eatly enlarged.
LEFT
RIGHT
BLOCKS BLOCKS
ROW 1
ROW
2
ROW 3
ROW
4
ROW 5
ROW
6
ROW
7
ROW
8
Each
row is partitioned iuto two
1Jlul;k~
uf
fuur
L1uLs
each:
ANY ROW
Examples:
>NEW
>100
CALL
CLEAR
>110
CALL
CHAR<33,"rrrrrFFFFF
FFFFFF")
>120
CALL
COLOR(1,9,6)
>130
CALL
VCHAR(12,16,33)
>140
GOlD
140
>
RUN
--screen
clears
(Press
CLEAR
to
stop
the program)
II-76
LEFT
BLOCK
RIGHT
BLOCK
User's Reference Guide

Other manuals for Texas Instruments TI-99/4A

Related product manuals