[comp.sys.ibm.pc] MSC 5.x interrupt handlers

ggreaves@gpu.utcs.toronto.edu (Greg Greaves) (05/10/88)

I'm trying to write an interrupt handler in C using the _dos_setvect() function
to trap critical dos errors.  I can get into the handler but on exit (yes there
is a 0, 1, or 2 in the AL) the machine hangs.  Can anybody out there steer
me in the right direction on using MSC to write interrupt handlers?

Thanks in advance,
-Greg

kworrell@urbsdc.Urbana.Gould.COM (05/12/88)

I would suggest you look at the Feb/March issues of COMPUTER LANGUAGE.

The Feb issue had TurboC interrupt handlers and the
March issue had MSC interrupt handlers.  Both articles are well
worth the time to read.


------------------------------------------------------------------------
Kurt J. Worrell	                 USEnet1:    ihnp4!uiucuxc!ccvaxa!kworrell
Gould CSD-Urbana                 ARPAnet:    kworrell@gswd-vms.arpa
1101 E. University               !ARPAnet1:  kworrell@Gould.COM
Urbana, IL 61801                 !ARPAnet2:  kworrell@gswd-vms.Gould.COM
**** Standard Disclaimer ***     BELLnet:    (217) 384-8500, x740