Special Character Functions - Commodore MPP-1361 User Manual

Commodore cbm bi-directional printer
Hide thumbs Also See for MPP-1361:
Table of Contents

Advertisement

Results
in:
SETTING
QlJfiSI
-LETTER QUALITY MODE
SETTING QUASI -LETTER QUALITY MODE
RESETTING
QUASI
-LETTER QUALITY MODE
RESETTING
QUASI
-LETTER QUALITY MODE
Storing
Bit
Image
Data:
sa
=
17
A
secondary address
of
17 allows
you
to store
bit
image
data
into buffer.
In
normal
mode, 8*816
binary
bit
data
can be
written
and 8*1020
in
condence mode.
This data
can be
printed
by sending
a secondary
address
of
18
(sa
=
18).
But the
printing starts
automatically
when
the
buffer
overflows,
and
then the
line
feed
will
be made.
Suppose
you wanted
to
program
the
Commodore
logo
similar to
the
one
in
the
example
of
sa
=
5.
Lay
out
8*816
matrix
(or8*1020
matrix).
To
the
left
of
the
matrix, write
the binary
bit
value
of
each
row.
Use
dots,
one
per
square
to create
your
image
pattern.
Then add up
the binary
bits
indicated
by your
dots
in
each column. These
totals
are
used
in
the
DATA
statement
in
your program.
128
64
32
16
8
4
2
1
Total
^
direction of
print
head
56
68
130 130 108
68
The
DATA
statement
in
your
program
will
read:
DATA
56, 68, 130, 130, 108,
68
The
following
is
the
example program
to store
the data
in
the
buffer.
i-3
DATA
56,68,130.,
139.,
108,68
23
OPEN
17,
4,1?
30
FORI=1T06
40
READA
:
A*=A*+CHR*
::
A
.">
58
NEXT
68
PRINT#1?,A$;
79
CLOSE
17
-33-

Advertisement

Table of Contents
loading

Table of Contents