home bbs files messages ]

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

   alt.os.development      Operating system development chatter      4,255 messages   

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

   Message 3,932 of 4,255   
   wolfgang kern to Robert Pengelly   
   Re: Does a PS/2 mouse get detected if pl   
   16 Nov 23 07:35:54   
   
   From: nowhere@never.at   
      
   On 15/11/2023 09:27, Robert Pengelly wrote:   
   ...   
   > Right, I rewrite all the IRQ12 related stuff and it seems to work as I get   
   an A printed in the handler when I capture the mouse with qemu, how do I tell   
   the controller that I've got the data?  I've tried:   
   >   
   > in al, 0x20   
   > out 0x20, al   
   >   
   > in al, 0x60   
   > out 0x60, al   
   >   
   > and   
   >   
   > in al 0x64   
   > out 0x64, al   
   >   
   > and nothing happens as I only get the A printed once   
      
   END of INTERRUPT(IRQ12):   
   MOV AL, 0xA0   
   OUT 0xA0,AL   ;release IRQ 12   
   OUT 0x20,AL   ;and the cascaded IRQ0..7   
      
   END OF INTERRUPT(IRQ4):   
   MOV AL,0x20   
   OUT 0x20,AL   
      
   but if the mouse is out of sync it may need a reset   
   __   
   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