Article View: comp.sys.atari.st
Article #36565mouse / keyboard processor
From: J Mark Burton
Date: Tue, 14 Feb 1989 17:17
Date: Tue, 14 Feb 1989 17:17
34 lines
2237 bytes
2237 bytes
I have been reading the articles on the problems with the mouse, I have a
simular problem, But one which is definitly a software problem. I have infact
put an article onto the net previously about it, but with no replies.
The basic problem is alligning the plotting of the mouse icon (onto the
screen) with the beam. If there is a standard way of doing this, could sombody
please PLEASE tell me about it.
Detailed problem:-
I have a mouse interupt routine, which uses the mouse in relative
mode. However, to stop the mouse cursor flashing when it's moved, I want to
make sure that the mouse icon is not plotted while the beam is scanning acros
it. To do this I tried waiting until the beam was at a known poition on the
screen (ie by reading the video address pointer memory registers). The routine
I use to do this works (I use it elsewear in the programe - I've set it up as
trap #3). However when I impliment this the mouse stops working.
it:- a) moves up and down ok if you go v.v.v. slowly
else it only moves up.
b) moves left,right if you go even slower
else it moves left.
In other words, unless you move increadibly small distances, the mouse
tends towards the origin.
Is this because the interupt routine takes to long, and the keyboard processo
sends new packets wich corrucpt the first
Is this because the keboard processor doesn't send any more packets, but
corructs it's own varibles because of overflows.
How else do I do it??????
P.S.
Mail at warwick is V. dubious and often doesn't get through, could people please reply on the net (I'm sorry If this clogs the net, but I shouldn't think many people will reply!)
Technical Details
Message-ID:
<1184@ubu.warwick.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!sunkisd!uunet!mcvax!ukc!warwick!jbuShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!sunkisd!uunet!mcvax!ukc!warwick!jbu From: jbu@warwick.UUCP (J Mark Burton) Newsgroups: comp.sys.atari.st Subject: mouse / keyboard processor Keywords: mouse, keyboard processor, interupts Message-ID: <1184@ubu.warwick.UUCP> Date: 14 Feb 89 17:17:52 GMT Sender: news@warwick.UUCP Reply-To: jbu@warwick.UUCP (Mark J M Burton) Organization: Computer Science, Warwick University, UK Lines: 34