tick_rate()
- Posted by Fernando Ariel Gont <Gstuff at SISCOR.BIBNAL.EDU.AR> Mar 02, 1998
- 786 views
hI! EU>Hmmm, if I change the value of tick_rate to say, tick_rate(100), how EU>would this affect other programs that may be running under a EU>multitasking system. Obviously, some multitasking relies upon clock EU>interrupts so... The fact is that W95 hangs when you try to program the 8253 timer chip :( EU>The reason I ask is that I am looking into a simple multitasking unit EU>(er, .e file <G>) for my programs. I can base it upon the clock EU>interrrupt of 18.2 ticks, which would give the ability of less tasks, or EU>some other for to base my task distribution. You should reprogram the timer, and them call the old handler according to the number of times your handler has already been executed, and the fre- cuency you programmed the timer to oscillate...} That menas, you must call the old handler at the "old" frequency.. Bye! :) Fernando Ariel Gont gstuff at siscor.bibnal.edu.ar