Dead Hackers Society
Other BBSes »
 
 

68k Inside

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
ACIA mouse question
Posted by: Thadoss Dec,03.2015-18:06 

Hi all,

I've got a little question about the ACIA mouse $118 vector.

I've read many things about it and read lot's of source code, but something is never explained :

When I get a mouse paquet : $f8, $f9, $fa or $fb, it gives me the buttons values and then, 2 bytes for the relative X and relative Y values.

All of is is OK and works well in my code except if I move very fast the mouse (in this case, i'm sure deltaX is > 127).


The Atari compendium says : [...] If the movement is greater than can be represented as signed bytes (-128 to 127), multiple packets are sent.

How does this multiple packets works ?
Best regards

Laurent








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
ACIA mouse question Thadoss Dec,03.2015-18:06
  Re: ACIA mouse question dml Dec,03.2015-21:15
    Re: ACIA mouse question Thadoss Dec,03.2015-21:28
      Re: ACIA mouse question ggn Dec,04.2015-10:08
        Re: ACIA mouse question Thadoss Dec,04.2015-11:21
        Re: ACIA mouse question Thadoss Dec,04.2015-11:33
          Re: ACIA mouse question ggn Dec,04.2015-12:09
  Re: ACIA mouse question defjam Dec,04.2015-22:21
    Re: ACIA mouse question Thadoss Dec,05.2015-00:06
      Re: ACIA mouse question Thadoss Dec,05.2015-12:19
        Re: ACIA mouse question dml Dec,05.2015-15:57
        Re: ACIA mouse question dml Dec,05.2015-16:03


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson