Article View: comp.os.msdos.programmer
Article #7131Interrupts 8-15 on an AT
From: Peter Lawson
Date: Wed, 19 Jun 1991 00:05
Date: Wed, 19 Jun 1991 00:05
21 lines
1682 bytes
1682 bytes
I have been writing code for DMA data acquisition based on an article which appeared in Jan. 1990's "Dr. Dobb's Journal". The MS C example that he gives shows how to program an interrupt service routine for a PC, which only has one 8259A Programmable Interrupt Controller and therefore only supports interrupts 0 through 7. I would like to know how to program interrupts on an AT, and I would be very grateful for good references. The AT has two 8259A chips, which are set up in a master-slave configuration; the slave chip appears as only one other interrupt line to the master chip (usually interrupt line 2). I would like to use interrupt level 11, but don't know how to approach it. The programming of the two chips is a bit more complicated. I have all the addresses for the chips, from my cryptic computer manual, but I'm not sure how the masks are to be set up. I assume that "Dr. Dobb's" has had articles on the subject, but this university doesn't subscribe to it. Any help would be greatly appreciated. Peter. Astronomy Department. Sydney University NSW 2006 Australia.
Technical Details
Message-ID:
<1991Jun19.000523.10152@metro.ucc.su.OZ.AU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!metro!suphys.physics.su.OZ.AU!lawsonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!metro!suphys.physics.su.OZ.AU!lawson From: lawson@suphys.physics.su.OZ.AU (Peter Lawson) Newsgroups: comp.os.msdos.programmer Subject: Interrupts 8-15 on an AT Message-ID: <1991Jun19.000523.10152@metro.ucc.su.OZ.AU> Date: 19 Jun 91 00:05:23 GMT Sender: news@metro.ucc.su.OZ.AU Reply-To: lawson@suphys.physics.su.OZ.AU (Peter Lawson) Organization: School of Physics, Uni of Sydney, Australia. Lines: 21 Nntp-Posting-Host: physics.su.oz.au