Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!swrinde!mips!spool.mu.edu!uunet!ogicse!orstcs! From: woodc@jacobs.cs.orst.edu (Major Havok) Newsgroups: comp.sys.ibm.pc.programmer Subject: PIC (Programable Interrupt Controller) Message-ID: <1991May29.103824.5493@lynx.CS.ORST.EDU> Date: 29 May 91 10:38:24 GMT Sender: @lynx.CS.ORST.EDU Distribution: na Organization: Oregon State University, CS Dept. Lines: 18 Nntp-Posting-Host: jacobs.cs.orst.edu 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