Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

modern timers in DOS (32bit) (Developers)

posted by bretjohn Homepage E-mail, Rio Rancho, NM, 05.05.2022, 19:05

> Hi @ all,
>
> I would like to use a modern timer in DOS (to be able to get a 5-10kHz
> timer interrupt), I know that I have to dig into ACPI ,... and I´m not
> sure if it is possible anyway,...
>
> Before I try it, has anybody used a modern timer or does know a library
> which a could try/study ?!?!
>
> I´m using open watcom c/c++ ,...
>
> THX´s LowLevel

You'll need to explain what you mean by "modern timer", and a little more detail in exactly what you mean by "timer". If you're wanting the computer to generate an interrupt at some specific frequency, there are ways to do it that don't involve ACPI. Keep in mind that the frequency of interrupts on a PC is not precise since they involve a mixture of hardware and software.

If you're just wanting to "monitor" the frequency and don't require hardware notifications (interrupts) at each tick of the clock, that can use a different approach.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 178 users online (0 registered, 178 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum