nortond@lonexb.radc.af.mil (Douglas A. Norton) (06/04/91)
Could someone double check what I'm doing... I have a board which can be set to interrupt on a IRQ#, I want to setup an interrupt procedure in Turbo pascal, heres what I do -Get to old vector -Set the new vector to @MyHandler(Flags,.... : word); --my procedure MyHandler is like this... procedure MyHandler(Flags,.... : word); interrupt; begin { do stuff } end; -When I'm done with the interrupt I set the vector back to the old one I am using IRQ3 which is what COM2: is but I don't use it because I don't have a COM2. I reset the vector to the old one anyway when I'm done. Now here's where I could be wrong, when I set the vector I uses IRQ#+8 so I'm setting vector number 11 in the case of IRQ3. Am I wrong??? I hope I'm wrong someplace and its not the board. Please respond to my internet address, I'll summerize responses to this forum... Thanks Doug Norton nortond@lonex.radc.af.mil