[comp.sys.ibm.pc] Interrupt problems

feldy@ucla-cs.UUCP (04/22/87)

Using DOS 2.1 on an AT I've written some interrupt routines that call C 
routines, then return. I'm encountering two "gremlin" errors. 
They do not always occur, and they do not always look the same.

	1) After installing a timer interrupt (1C) which decrements a counter,
	   calls a C routine and then restores the interrupt vector, I try to
	   copy files from C: (hard disk) to A: (floppy). DOS accesses C: types
           out the file name, accesses the A: drive and hangs. The light on the
           A: drive goes out, and I have to reboot the system.

	2) Using an interrupt to handle packet reception, sometime in the
           middle of the run, the system hangs, and must be rebooted by
           cycling power. This doesn't happen all the time.

I know this isn't very detailed information, but I was wondering if anyone else
had seen these problems and solved them.


Bob Felderman
3732L Boelter Hall	         feldy@ats.ucla.edu
University of California    ...!{trwspp,sdcrdcf,ihnp4,ucbvax}!ucla-cs!feldy
Los Angeles, CA 90024
(213) 825-2841

feldy@ucla-cs.UUCP (04/22/87)

In article <5641@shemp.UCLA.EDU> feldy@CS.UCLA.EDU (Bob Felderman) writes:
>
>	1) After installing a timer interrupt (1C) which decrements a counter,
>	   calls a C routine and then restores the interrupt vector, I try to
>	   copy files from C: (hard disk) to A: (floppy). DOS accesses C: types
>           out the file name, accesses the A: drive and hangs. The light on the
>           A: drive goes out, and I have to reboot the system.

NOTE: the above program terminates NORMALLY, once back to DOS I try the copy.

Bob Felderman
3732L Boelter Hall	         feldy@ats.ucla.edu
University of California    ...!{trwspp,sdcrdcf,ihnp4,ucbvax}!ucla-cs!feldy
Los Angeles, CA 90024
(213) 825-2841