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,028 of 4,675   
   wolfgang kern to Rod Pemberton   
   Re: programming on PS2 mouse controller   
   15 Oct 17 17:05:42   
   
   From: nowhere@never.at   
      
   Rod Pemberton wrote:   
      
   >> then I'd think you'd mostly only need ...   
      
   > I.e., since the AX=C2xxh interface is so simple, I would hope that the   
   > BIOS cleared the EOI, enabled IRQ12, set the PICs, etc.  I'm not that   
   > familiar with using BIOS, so I don't know if that stuff is still   
   > necessary or if it is taken care of by the BIOS.   
      
   BIOS INT15_C2 supported stuff works fine within 16bit RM16 as long as   
   you assign your handler (far call) to an INT_15_C2 pointer.   
   from my experience: It doesn't alter any PIC settings.   
      
   But this all wont work when you are within 32/64 bit code, so here you   
   need to create your own IRQ-routines which do what a RM-BIOS would do.   
      
   btw: all C,C+- attempts to talk to hardware end up in heavy bloat!   
   so if you ever want to talk to hardware: avoid any HLL like hell!   
   __   
   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