Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

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]

Topic Posted by  Date 
Switching Mouse OFF (STe) Pete Jun,20.2012-04:31
  Re: Switching Mouse OFF (STe) Anonymous Jun,20.2012-06:09
    Re: Switching Mouse OFF (STe) defjam Jun,20.2012-15:36
      Re: Switching Mouse OFF (STe) Bod/STAX Jun,20.2012-20:21
        Re: Switching Mouse OFF (STe) Pete Jun,21.2012-01:17


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