lawson@suphys.physics.su.OZ.AU (Peter Lawson) (06/19/91)
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.