[comp.sys.ibm.pc.programmer] PIC

woodc@jacobs.cs.orst.edu (Major Havok) (05/29/91)

  Can anyone out there give me specific information on programming the 
IBM's programmable interrupt controller (or PIC for short)? I know that
the port address starts at $20 and that 286es have two PICs. But say I 
wanted to set up a modem on COM port 1 (base port address $3F8) to
generate an interrupt request level 3 (IRQ3). In that case, what
values would I put in what addresses? And what kind of activity would
generate an IRQ3? Please explain if you can what the addresses 
coresponding to the PIC mean.
 
  My address is woodc@jacobs.cs.orst.edu. I would appreciate any 
information anyone could give me on this. If you have any sample
source code, please post it in either Pascal or Basic (preferably
in Pascal), since I know very little about C.

Thanks in advance,
Chris Wood