Thread View: net.micro.atari16
1 messages
1 total messages
Started by Ron Janzen
Thu, 24 Apr 1986 01:14
How do you get the cursor position?
Author: Ron Janzen
Date: Thu, 24 Apr 1986 01:14
Date: Thu, 24 Apr 1986 01:14
19 lines
1471 bytes
1471 bytes
In the March '86 Question and Answer Bulletin from Atari there was the
following question:
Are there any variables around so I can get the position of the cursor?
The answer stated that the cursor position was kept in a couple of words
at negative offsets from the line A variables base address. Specifically
it said that the cursor x position was at -14 words and the cursor y position
was at -13 words from the line A base address. Well I tried this and
those two words didn't change no matter how much I moved the mouse.
Has anybody else had any success using these two magic memory locations?
Or could somebody tell me the correct procedure to go thru to get the
current mouse position (without using VDI). I know I could intercept the
mouse packets from the keyboard but I would rather not do that if I don't
have to.
--
Ron Janzen
Ontario Science Centre, Toronto
...!{allegra,ihnp4,decvax,pyramid}!utzoo!oscvax!ron
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads