[comp.sys.mac.programmer] Mouse Coordinates

sean@eleazar.dartmouth.edu (Sean P. Nolan) (07/17/90)

Hi ho...

I'm working on a project in which I need to get the global mouse coordinates
from within a VBL task. Unfortuately, GetMouse() is one of those evil routines
that "may move or purge memory," so I can't use it.

I realize that it's an official no-no to poke around in undocumented globals,
but I can't think of another way to solve this problem. I don't want to change
anything, just look at it.

So, if anyone knows the addresses where the mouse coords are kept, please
let me know. Alternatively, if there's another solution, I'd like to hear that
too. Thanks!

--- Sean

+----------------------------------------------------------------------------+
| Sean P. Nolan     |   Net: Sean_Nolan@Dartmouth.EDU   | "That's not a      |
| Dartmouth College |                                   |  baby, that's a    |
| Hinman Box 2658   |            SCALP 'EM!             |  Mr. Potatohead!"  |
| Hanover, NH 03755 |                                   |     --- A.W.O.T.M. |
+----------------------------------------------------------------------------+