Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!uunet!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!oat!qut.edu.au!zseelunnon From: zseelunnon@qut.edu.au Newsgroups: comp.sys.atari.st.tech Subject: Re: How does one relocate the Mouse ptr from pt A to B? Message-ID: <1990Dec24.131906.22082@qut.edu.au> Date: 24 Dec 90 18:19:06 GMT References: <9577@ncar.ucar.edu> <1990Dec20.100134.21871@qut.edu.au> Organization: Queensland University of Technology Lines: 55 In article , domen@wiener.crin.fr (Eric Domenjoud) writes: > In article <1990Dec20.100134.21871@qut.edu.au> zseelunnon@qut.edu.au writes: > > : > : > : > There are probably some other gotchas but I can't recall them right > now, but use of the mouse exchange vector (boy will I get flamed now) > is probably ok if the above rules are followed and the handler is only > installed while the mouse is in your space ie over your window ( > a watchbox will be needed) unless of course (in apollo terms :-) you > "borrow" the screen for a bit ( Really love that term :-) > > Well that is my (confused) contribution to this thread > > > > > > J.Moses > > BOB > R_Lunnon@qut.edu.au > ZSEELUNNON@qut.edu.au > lunnon@design.fen.qut.edu.au > > Using the vex_motv function is actually not really ok. If the mouse > moves while this function is changing the vector, then the ST crashes > (at least with TOS 1.0). One should prevent the mouse to move by > setting the system variable which says wether the keyboard interrupts > must be handled or not. Unfortunately, I can't remember the location > of this variable. Hmm! didn't know that one (I have TOS1.4) and have not seen this behaviour, what exception does it cause ?. I have a pile of interrupt routines running and occasionally get a spurious-interrupt exception generated (lotsa bombs ). I would have thought that this change would have been atomic. Can you say B.U.G. ????? BTW - From memory the mouse vector is stored in a documented place in the LINE-A variable set so I spose you could be more atomic about it and do it yourself there ( At the risk of being TT incompatible I guess ) > > Eric Domenjoud > e-mail: domen@loria.crin.fr BOB R.Lunnon@qut.edu.au ZSEELUNNON@qut.edu.au lunnon@design.fen.qut.edu.au (any or all of these paths might work for you) (My last signature was wrong - oops :-)