🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7363

Re: AT PIC, interrupts different?

#7363
From: John Stovin (RNZ ra)
Date: Wed, 26 Jun 1991 10:47
29 lines
1975 bytes
In article <4cNX5sO00VpOQ4c0M1@andrew.cmu.edu> mh2o+@andrew.cmu.edu (Michael Lorenz Holling) writes:
>I'm having a problem after moving hardware from an XT to an AT.  The hardware
>in question is a MIDI card which is supposed to generate interrupts for a
>variety of reasons.  It worked fine on the XT, however on the AT only one
>interrupt occurs.  I'm guessing it's a problem manipulating the PIC.  On the
>XT I would write 0x20 to port 0x20 to reset the interrupt.  Is there something
>different I need to do on the AT?  I'm using IRQ 2, is there any hardware which
>might be using this line?
>
>Thanks,
>- Mike

Your problem is that the AT has 2 PICs, with the second chained from the
IRQ2 input of the first. You have to reset the interrupts on the chained
PIC as well (I can't remember the port address, but any good reference
should tell you.)




--
==================================================================
 John Stovin, DSP Group, Rm 2.19, Department of Computer Science,
 University of Manchester, Oxford Road, Manchester, M13 9PL, U.K.
 Internet: jdstovin%cs.man.ac.uk@nfsnet-relay.ac.uk  
 Janet: jdstovin@uk.ac.man.cs             |Tel: (+44) 61-275 6210
 UUCP: ...!uunet!mcsun!ukc!man.cs!jdstovin|Fax: (+44) 61-275 6236
==================================================================
"Diane, I am holding in my hand a box of chocolate bunnies."
Technical Details
Message-ID: <2796@m1.cs.man.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!mucs!jdstovin
References: <4cNX5sO00VpOQ4c0M1@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!mucs!jdstovin
From: jdstovin@cs.man.ac.uk (John Stovin (RNZ ra))
Newsgroups: comp.os.msdos.programmer
Subject: Re: AT PIC, interrupts different?
Message-ID: <2796@m1.cs.man.ac.uk>
Date: 26 Jun 91 10:47:33 GMT
Article-I.D.: m1.2796
References: <4cNX5sO00VpOQ4c0M1@andrew.cmu.edu>
Sender: news@cs.man.ac.uk
Reply-To: jdstovin@cs.man.ac.uk (John Stovin (RNZ ra))
Organization: Department of Computer Science, University of Manchester UK
Lines: 29