Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cuae2!ihnp4!inuxc!pur-ee!j.cc.purdue.edu!h.cc.purdue.edu!pur-phy!dub From: dub@pur-phy.UUCP Newsgroups: comp.sys.ibm.pc Subject: Interrupt handlers on the AT, need help Message-ID: <2142@pur-phy.UUCP> Date: Wed, 18-Feb-87 16:10:22 EST Article-I.D.: pur-phy.2142 Posted: Wed Feb 18 16:10:22 1987 Date-Received: Fri, 20-Feb-87 05:41:00 EST Organization: Parakeets for Peace Lines: 22 *** I would like to be able to use a hardware interrupt (like IRQ5) to signal our IBM PC-AT to perform an interrupt handling routine (this would involve reading data from an external device, doing some manipulation and then storing it away.) The interrupt will be generated by a timing circuit. My problem is how to correctly write the interrupt handling routine in Micorsoft C (latest version). I have been able to redirect the interrupt call to my handler function and even get the handler to work. Alas, returning from the handler is deadly. Is there anyone out thar who has written some software to handle interrupts already that can help me out? Reply via e-mail please. Dwight Bartholomew UUCP:{ihnp4,decvax,seismo,inuxc,sequent,uiucdcs }!pur-ee!pur-phy!galileo!dub {decwrl,hplabs,icase,psuvax1,siemens,ucbvax}|purdue!pur-phy!galileo!dub ARPA: dub@newton.physics.purdue.edu