[net.micro.pc] Servicing interrupts in C

phi@idec.UUCP (A. J. Philpotts) (12/20/85)

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.