EasyManua.ls Logo

Commodore MPS 1200 - Page 38

Commodore MPS 1200
250 pages
Print Icon
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...
PETASCII
Codes
Tllne
arc
two
versions
of
ASCII codes available
on
the
MPS
1200,
standard
ASCII and
PET
ASCII. Since
standard
ASCII codes are
limited to letters,
numbers,
punctuation,
symbols
and certain
con-
trol codes, there are
extended
versions
of
ASCII systems that
feature additional characters and
control
codes.
The
extended
ver-
sion
that
you
may
make
use
of
with
this printer,
PETASCII
(the
Commodore
version
of
ASCII), differs
from
standard ASCII in a
few ways.
One
difference
is
in the characters available. Additional-
ly, the hex values are
sometimes
different between the versions.
This printer
(MPS
1200 European
Version)
has
eight national character
sets. These character sets
are
explained
in
Appendix
B.
The
hex values are slightly different for the same characters in
ASCII
and
PET
ASCII.
In
this manual,
where
we
list the
BASIC
language and hex value formats for escape sequences and
control
codes,
we
include the upper/lowercase
PET
ASCII hex values.
Both
ASCII
and
PETASCII
values are listed in Appendix
C.
DIP
switch
1-2 sets ASCII translation.
When
it is set in the
OFF
position, the
printer
uses
PET
ASCII code, the
ON
position sets
ASCII.
With
the
MPS
1200 set to
PET
ASCII,
both
upper/lower-
case and uppercase/graphic character sets are available;
with
ASCII,
only the
upper/lowercase
(text mode) set
is
used, although
many
Commodore
block graphic characters are available in the
upper/
lowercase character set.
When
switch 1-2
is
set to the
ON
position (for ASCII),
two
things
happen. First, the
MPS
1200 uses only the characters in the
upper/
lowercase character set, regardless
of
the secondary address used in
the
OPEN
statement
(see later in this chapter for secondary ad-
dresses). Second,
standard
ASCII codes for alphabetic characters (A
through
Z
and
a
through
z)
received
by
the
MPS
1200 are translated
to their corresponding
PET
ASCII values before printing.
In
other
words,
with
switch
1-2 set
On,
the
MPS
1200 expects the
computer
to
send ASCII rather than
PET
ASCII character codes.
This
is useful
when
using commercial
programs
like
word
proces-
sors,
which
have
standard
printer
setup
or
installation routines.
2-4

Related product manuals