Re: 8253 Timer: Intel Celeron Processor/D865GBF Motherboard



Lathe_Biosas wrote:
> Jack Klein wrote:
>> What is it you are trying to do with an 8253? There is almost
>> certainly a better way to do using the Windows API, regardless of
>> whether you use assembly language or some other language.
>
> Hi Jack
>
> Thank you very much for your answer.
>
> I would like to count number of wheel revolutions, to measure the time
> of each revolution, and to measure the elapsed time of not complete
> revolutions at resolutions (838 ns) similar to the ones of the 8253.
> It is important to have an Input line and an Ouput line to interact
> with the external world.
>
> Should I use the Windows API to access a 8253, or the windows API
> provides a way to achive what I'm trying to do?
>
> Best Regards


Look at QueryPerformanceCounter and QueryPerformanceFrequency

--
Jim

.



Relevant Pages