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

Atari coding BBS
 
Re: key repeat
Posted by: gwEm Feb,09.2005-17:09 

i believe (but dont know for 100% sure) timer C handles the key repeat (along with the other system things). i dont touch the timer C MFP registers.

to flush the keyboard i do:

flushkeyboard: movem.l d0/a0,-(sp)
lea.l $FFFFFC00.w,a0
.flushkeyboard: move.b 2(a0),d0
btst #0,(a0)
bne.s .flushkeyboard

movem.l (sp)+,d0/a0
rts







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

Topic Posted by  Date 
key repeat gwem Feb,07.2005-23:12
  Re: key repeat pink-rg Feb,09.2005-03:56
    Re: key repeat gwEm Feb,09.2005-17:09
    Re: key repeat gwem Feb,09.2005-22:34
      Re: key repeat pink-rg Feb,11.2005-21:49
        Re: key repeat gwem Feb,11.2005-23:52
        Re: key repeat gwEm Feb,16.2005-12:55


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