[comp.lang.pascal] Timer

roybalm@tramp.colorado.edu (ROYBAL MICHAEL) (01/21/91)

	i am requesting and all postable information about the 8253 timer chip
found in the IBM line of computers.  Thank you all very much.  Please send e-mai
l.

Michael Roybal		Internet: roybalm@tramp.colorado.edu

fehr@ms.uky.edu (Jeff Davis) (05/03/91)

I have written a mail front end for that noble program uupc. It handles
most things fairly well, but many of our users are inexperienced and
fearful of the computer so when uupc hangs they are loath to axe
everything to shut the program down. 

What I need, and have no idea of how to write, is a kind of watchdog
timer program/routine that would limit the processing time allowed 
for this. Something like this: 

   settimer(20,@clean_up);   /* if not back in 20 minutes call clean-up */
   swapVectors; 	
   exec('uupc.exe','');
   swapVectors;

I'm sure that horrendous fiddling w/ interrupts are involved, but if your
pride and joy is understandable by a plumber-type programmer and  you're 
willing to share, I'd love to see it.
-- 
davis@keats.ca.uky.edu
The island sang to me: Believe! Believe!