EasyManua.ls Logo

NCR Decision Mate V - Interrupts

NCR Decision Mate V
426 pages
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...
read. (The absolute position refers to movement from the
starting position.)
OA Set the minimum X and Y values the mouse can a tta in
Sequence o f parameters to be transmitted to the Mouse
Interface:
XMIN, low byte
XMIN, high byte
YMIN, low byte
YMIN, high byte
NOTE: Absolute and re la tiv e position are stored in the
same set of intern al registers. This means that a
program cannot read both the absolute and the
r e la t iv e mouse p o s itio n . I f th is f a c i l i t y is
required, you should consider storing a position
required for la ter reference in an area in your
program. You can then w rite this position back to
the Real-Time-Clock (Command 04) at an appropriate
point in your program.
The Mouse Interface can handle up to three switches on the
mouse. The leftmost switch is designated S1, the rightmost
S2, and the centre switch, i f present on the mouse, S3. The
switch status byte (command 00) uses b it 0 to record the
status of SI; b it 1 is used fo r S2, and b it 2 for S3. In
each case, the bit is set when the appropriate switch is in
the depressed condition, otherwise the bit is zero. The five
most significant bits of the switch status byte are unused.
INTERRUPTS
This section is intended for specialist applications of the
Mouse In terface, fo r which the use of interrupts is
required. Assuming that both interrupts are enabled, the
Mouse Interface issues an interrupt whenever the mouse is
moved, and whenever any one of the switches changes state
(ON to OFF, or OFF to ON).
MOU SE -10

Table of Contents

Related product manuals