Xref: utzoo comp.lang.c:6481 comp.sys.ibm.pc:10609 Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!princeton!phoenix!asjoshi From: asjoshi@phoenix.Princeton.EDU (Amit S. Joshi) Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Timer driven functions Message-ID: <1450@phoenix.Princeton.EDU> Date: 12 Jan 88 03:06:36 GMT Organization: Princeton University, NJ Lines: 17 Keywords: Timer Cock TurboC tick Hi, I have a problem: I want to have a piece of code (written in TurboC) to be installed as an interrupt such that after a certain number of clock ticks the code is executed. This way I can be sure that certain polling actions are done with regularity without my having to check the rest of the code. I am sure somebody has to have done this before. I wonder if somebody could give me a hint on how this could be done -preferably using only TurboC (i.e. the getvetc(), setvect(), routines and a function of the type void interrupt). Thanks, -- Amit Joshi BITNET | Q3696@PUCC.BITNET USENET | {seismo, rutgers}\!princeton\!phoenix\!asjoshi "There's a pleasure in being mad... which none but madmen know!" - St.Dryden