[comp.sys.ibm.pc] Timer driven functions

asjoshi@phoenix.Princeton.EDU (Amit S. Joshi) (01/12/88)

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