Search site Dead Hackers Society
Other BBSes »
 
 

Sommarhack 2013

Sillyventure 2013
Demoscene   º   Coding   º   CT60   º   Buy/sell   º   Misc/crap   º   Alive magazine   º   SNDH/Tracking

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]

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:
Human verification (enter the text of the ASCII-art below):

       _       _ _             _   
 _____|_|___ _| | |_ ___ _____| |_ 
|     | |   | . | . | . |     | . |
|_|_|_|_|_|_|___|___|___|_|_|_|___|
Message:




© 1994-2013 Dead Hackers Society Contact: Anders Eriksson