[comp.sys.atari.st] Inteligent keyboard

jbu@warwick.UUCP (J Mark Burton) (01/24/89)

The problem seems simple :- I want to get the relitive mouse persition packets
sent by the keyboard, into my interupt routine, which then moves an Icon on
the screen. This process works fine, my icon moves about with the mouse,
and I'm happy. However, I decided to 'beam syncronise' the plotting of the
icon. This obviously randomly increases the execution time of the interupt
routine. I had naturally assumed that the interupt handler which calls my
interupt routine (which I set up correctly using the relivent rap call) would
insure that the keyboard processor would not give any futher interupt
during the interup routine, So even though the interupt routine may take a
while to run. But to my dismay what actually happens is that the screen icon
moves corectly IF and ONLY IF you move the mouse EXTREEMLY slowly, however
any 'normal' movement causes the mouse to move in a random direction
towards 0,0. When I say random I MEAD random - if the mouse is ONLY moved
in the x plane, the icon is labal to move in both the X and Y plans, the Y
will move towards 0, X may move either way, but is more likely to move towards
0 !!!!!
Can anybody give me any explanation/help on this problem.
For instance, does the keyboard processor, when it sends overfloww packets,
send a whole word instead of two signed bytes !!!.  I have both
Atari-internals (what a well edited book     ie what does move.l a0   ; do?)
and an other atari reference manual. Neither book, though both seam to detail
the actions of the keyboard processor, actually give usefull detail ?!?

        Please Help!!!
cheers    Mark.