Chapter
3
3-1
Programming Overview
To write effective programs, you must understand the:
dual-port
layout
adapter status table
I/O image tables
You must also be familiar with the command interface and know how to
handle host interrupts.
The dual-port RAM of the KTx is used for communication between the
host and the 1784-KTx scanner. Briefly, the dual port is divided as follows.
DP offset
Memory area
:000h017h
Dualport common area
:018h07bh
Reserved
:07ch07fh
Misc scanner variables
:080h1ffh
Adapter status table
:200h2ffh
Command buffer
:300h3ffh
Confirmation buffer
:400h5ffh
Input image table
:600h7ffh
Output image table
A complete listing is found in appendix A.
For each of the 128 possible adapter addresses, there are 3 contiguous
bytes of data in the dual port:
adapter configuration byte
adapter fault byte
adapter retry count byte
Chapter 6 defines the contents of the status bytes and tells you how to
address status bytes.
Chapter Preview
Dualport Layout
Adapter Status Table