Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site idec.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!gatech!seismo!mcvax!ukc!stc!idec!phi From: phi@idec.UUCP (A. J. Philpotts) Newsgroups: net.micro.pc Subject: Servicing interrupts in C Message-ID: <558@idec.idec.UUCP> Date: Fri, 20-Dec-85 06:27:54 EST Article-I.D.: idec.558 Posted: Fri Dec 20 06:27:54 1985 Date-Received: Sun, 22-Dec-85 00:50:10 EST Reply-To: phi@idec.UUCP (A. J. Philpotts) Organization: STC IDEC, Stevenage, UK Lines: 13 Xpath: stc stc-a I am looking for help with creating interrupt service routines written in C ( Microsoft Version 3) and used under PC-DOS. Presumably I need an assembler routine to ssve the environment when an interrupt occurs, set up registers for the C service routine and jump to it. Also required would be some postlude code to restore the saved environment and return to the interrupted code. I guess someone has solved this problem before, hence my plea for help. Is there any public domain stuff around for this, if so where, otherwise have you written anything you would be prepared to share.