paas
asked on
Microsecond timing routine for DOS
Please help me to find an algoritm to provide software delays accurate to plus or minus 10 microseconsds and able to generate delays fo the order of 1.2 to 2.5 milliseconds.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I really do need microsecond timing to get accurate delays of 1.2 and 2.5 milliseconds. I am presently using a softrware delay loop written in assembler and trying to calibrate it automatically by calling it multiple times (say 1.2 mS * 5000 = 6 seconds) and adjusting its loop counter until I get the right answer.
BTW there is a website called 'snippets' which has such software but I have not been able to assemble their timer. Also Borland offer a millisecond timer (delay (unsigned milliseconds)] as a part of their runtime library.
Pls excuse the return advice flow!!!
Many thanks,
Andy