High Speed IRQ Timer/Clock in C
I found this excellent High Speed Timer (in Pascal). I compiled it (using Turbo Pascal 7 and it runs fine):
and same High Speed Timer here too:
I converted it to C (using p2c), compiled it using Borland C++ 4.5 and it runs. But it crashes when it gets to setvect(...) in TimerOn.
Does anyone know how IRQ programming works in C? If you know IRQ timer/clock please contact me. I need urgent help in understanding why it's not working.