home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,056 of 4,675   
   wolfgang kern to Jens Kallup   
   Re: programming on PS2 mouse controller   
   09 Nov 17 18:52:17   
   
   From: nowhere@never.at   
      
   Jens Kallup wrote:   
   > Hello,   
      
   > where can i detect keyboard press?   
   > the mouse handler works, bur how can   
   > i work on keyboard handler?   
      
   > the mouse handler stops, when i press a key   
      
   Yes because you still poll for the mouse, but   
   both mouse and keyboard share I/O-port 0x0060.   
      
   The trick is to use IRQ with two apart routines:   
   IRQ_01 is assigned for the keyboard and   
   IRQ_12 is used for the mouse.   
   See my post "about PS/2 programming" (oct.15.).   
   __   
   wolfgang   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca