🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #5148

what to do with changed vectors on changing resolution

#5148
From: Michael Elbel
Date: Fri, 20 Oct 1989 16:58
23 lines
1468 bytes
I have the following problem:

An accessory I wrote changes the mouse input vector for a mouse speeder.
It saves the old vector, takes the mouse movement, mangles the data
and passes them on.

So far so good, you even can uninstall it.

But if I change resolutions in color mode (e.g. low rez -> medium rez),
the acc gets loaded again and has no way to detect, that it had already
been started (at least not if I don't check for the system dependent 
value of the old vec). 
So the machine hangs when it tries to install itself again with the 
already changed vector - it points to a piece of code that got removed 
on changing the rez. (or am I wrong in that ?)

If I remove the acc before switching the resolutions, everything is ok,
but there should be a way to do it more elegant.

So my question is: What do other accessories, that change system vectors
		   in that case ?
--
Christian Siebert - me@dude.PCS.COM for the World, me@dude.PCS.DE for Europe
Technical Details
Message-ID: <ME.89Oct20165850@dude.pcs.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!eru!luth!sunic!mcsun!unido!pcsbst!me

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!eru!luth!sunic!mcsun!unido!pcsbst!me
From: me@dude.pcs.com (Michael Elbel)
Newsgroups: comp.sys.atari.st
Subject: what to do with changed vectors on changing resolution
Message-ID: <ME.89Oct20165850@dude.pcs.com>
Date: 20 Oct 89 16:58:50 GMT
Sender: news@pcsbst.UUCP
Distribution: comp
Organization: PCS GmbH, Pfaelzer-Wald-Str. 36, 8000 Muenchen 90; West-Germany
Lines: 23