🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Programming interrupts on an AT

#7132
From: Peter Lawson
Date: Tue, 18 Jun 1991 23:55
21 lines
1654 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: <1991Jun18.235514.9294@metro.ucc.su.OZ.AU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!metro!suphys.physics.su.OZ.AU!lawson

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.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: Programming interrupts on an AT
Message-ID: <1991Jun18.235514.9294@metro.ucc.su.OZ.AU>
Date: 18 Jun 91 23:55:14 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