|
Atari coding BBS
Re: Switching Mouse OFF (STe) |
Posted by: Bod/STAX
|
Jun,20.2012-20:21
|
To turn the mouse off completely (as if disconnected):
moveq #$12,d0
bsr ikbd
ikbd: lea $fffffc00.w,a1
.l1 move.b (a1),d1
btst #1,d1
beq.s .l1
move.b d0,2(a1)
rts
To turn it back on do:
moveq #$8,d0
bsr ikbd
turning off the keyclick:
bclr #0,$484.w
turning on the keyclick:
bset #0,$484.w
|
[All messages in this thread] [Start new thread]
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.
|