Epson Printer Interface Cartridge for the Apple IIc Operation Manual page 110

Printer interface cartridge for the apple iic
Table of Contents

Advertisement

A data dump printout of a program shows exactly what the printer
is receiving, regardless of what the computer is sending. The following
program run in the data dump mode can show how the Apple IIc and
ProDOS BASIC handle certain codes.
5
PRINT CHR$(4);"PR#1"
10 FOR X=125 TO 200
20 PRINT CHR$(X);
30
NEXT X
300
PRINT CHR$(4);"PR#0"
After you type this program, put the printer in data dump mode
and run the program. Remember to press the ON LINE button to
make the LX-90 print the final line.
D a t a D u m p M o d e
0 0 0 0 7D 7E 7F 0 0 01 0 2 0 3 OD OA 0 7 5 3 5 9 4E 5 4 41 5 8
0 0 0 1 2 0 4 5 5 2 5 2 4F 5 2 OD OA OD OA 42 5 2 45 41 4B 0 7
0 0 0 2 2 0 4 9 4E 2 0 3 2 3 0 OD OA 5D
Now compare the printer with the list of hex codes on pages A-2
and A-3. The first three codes in line 0000 (7D, 7E, and 7F) are equiva-
lent to decimal codes
normally. The next four codes (00, 01, 02, and 03), however, show
that the eighth bit has been made equal to zero.
The code after 03 should be 04, but since the IIc has a special pur-
pose for that code, it is not sent to the printer; instead it causes a
syntax error, as you can see by reading the guide section. (Because of
the syntax error you must press
output to the screen.)
The data dumping capability can help you find problems and debug
programs quickly.
and 127, so those codes are transmitted
125, 126,
control
} ~ . . . . . . . . S Y N T A X
E R R O R . . . . B R E A K .
and
to return keyboard
reset
E-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lx-90

Table of Contents