|
Atari coding BBS
Re: ACIA mouse question |
Posted by: Thadoss
|
Dec,03.2015-21:28
|
Hi Doug,
> are you doing anything that specifically relies on this?
Yes, ;)
I'm writting an ACIA IKBD rout (helped by some code found on this forum) to manage my joystick/keyboard/mouse.
It works well except in this special case, because the "extra" bytes are taken into account as keyboard inputs and this generates some "wrong key input".
IKBD_Main: btst #0,$fffffc00.w
beq.s ikbd_endit
movem.l d0-d1/a0,-(sp)
move.b $fffffc02.w,d0
cmp.b #$ff,d0
beq.s ikbd_yes_joystick1
cmp.b #$fe,d0
beq.s ikbd_yes_joystick0
cmp.b #$f8,d0
bmi.s ikbd_no_mouse
cmp.b #$fc,d0
bpl.s ikbd_no_mouse
I'd like to know how to detect this extra byte to avoid the "false" keyboard inputs.
Regards
|
[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
|
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.
|