Re: dos_interrupt(#33,rl) --please read

new topic     » goto parent     » topic index » view thread      » older message » newer message

Since all the mouse co-ordinates are multiples of 8, i suggest what you do
is set the area that the mouse is confined to to 8 times the actual screen
size IE: 640x480, confine the mouse to 5120x3840. And then any co-ordinates
you get for the mouse should be divided by 8.

The only problem with this is the mouse will be slowed down, since it has to
move 8x as far as normal, so you can probably use that dos_interrupt to
speed up the mouse a bit.

-Mark.

On Sun, 30 May 1999 17:05:37 EDT, Mike Hurley <MHsSoft at AOL.COM> wrote:
>Bernie-
>I tried your [AX]=#000F with interrupt #33, and when I called it I set [cx]
>and [dx] to 1.  That didn't make it go by ones, but it did make the mouse
>move faster (which is not what I want).  If I'm giving wrong values to [cx]
>and [dx], please let me know, or if I'm using the wrong format.
>
>Wait, here's an idea--I looked in Pete Eberlein's MIGHTY.E library and to
get
>the x and y values, he sets [AX] to #B, I tried that and I get numbers like
>65536 and such.  Would that be a better way to do what I'm trying to do,
and
>just use [AX]=3 just to get button events?
>
>Thanks,
>Mike Hurley

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu