Operation Manual

Step 3 Entering the total
If
the
total is less than 256, then
n1
is the total
and
n2 is
0.
For
our
one
character,
n1
is 15
and
n2 is
0.
Enter the
numbers
into the Load
Character Code,
ESC=
n1 n2
If
the total is
more
than 255, then the total is
divided
by 256
with
n1
being the
remainder
and
n2 being
the
integer
part
of
the result.
It
is easier to look
at
an
example.
Say
we
have decided to create
an
entire character set of94 characters.
We
would
have:
(94
X
13)
+ 2 = 1224
n2 = int (1224/256) = 4
n1
=
1224-
(n2 x 256) = 200
So the
command
would
look like this:
CHR$(27);" = ";CHR$(200);CHR$(4);
Step 4 The spacer code
Insert DC4(CHR$20) here to
separate
the
individual
character
data
you
are
going to load,
Here
is
how
the
command
looks now:
CHR$(27);" = ";CHR$(15);CHR$(0);CHR$(20);
Step 5 The start code
Insert the
start
code
in the command.
The
start
code
is the first
character
being
replaced
by
your
new
character. You can begin
your
custom
character
set
at
any
point
in
the
character table
but
remember that if
you
are
loading more than
one
character, characters
are replaced consecutively from the starting point.
If
you
are
loading three characters beginning
at
the letter A
(65
decimal),
you
will
end
up
replacing letters A,
Band
C.
Then
our
start
codes
would
be
like this:
4-2
IBM
Modes
Advanced
Features