🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Mouse cursor control ?

#25084
From: John Purbrick
Date: Thu, 22 Jan 1987 06:15
20 lines
1300 bytes
In article <575@sask.UUCP>, brecht@sask.UUCP (Tim Brecht) writes:
> 
> 	Can anyone tell me a way of positioning the mouse cursor 
> 	at a desired screen location.
> 
> 	What I would like to do is - at different times position the
> 	mouse cursor at a specified location on the screen.
> Tim Brecht

Sure. Why this information isn't in all the data books is the real question.
The reason may be that these addresses aren't "safe", ie later releases of TOS
may not work with them, but it works on my 1040 now. These aren't supervisor-
only locations.

mouse X 0x26E0		All three words can be read or written. If you
mouse Y 0x26E2		write them, the mouse cursor will jump to the 
mouse buttons 0x26E6	desired position.

							John Purbrick
							jpexg@hermes.ai.mit.edu
Technical Details
Message-ID: <2787@mit-hermes.AI.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!mit-eddie!mit-hermes!jpexg
References: <575@sask.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!mit-eddie!mit-hermes!jpexg
From: jpexg@mit-hermes.AI.MIT.EDU (John Purbrick)
Newsgroups: comp.sys.atari.st
Subject: Re: Mouse cursor control ?
Message-ID: <2787@mit-hermes.AI.MIT.EDU>
Date: Thu, 22-Jan-87 01:15:22 EST
Article-I.D.: mit-herm.2787
Posted: Thu Jan 22 01:15:22 1987
Date-Received: Thu, 22-Jan-87 06:31:35 EST
References: <575@sask.UUCP>
Organization: MIT AI Lab, Cambridge, MA
Lines: 19