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 LowLevel, 06.05.2022, 08:08

Hi bretjohn,

fist of all I have to say I´m not an OS developer ,.. I´m coding just for fun and I want to expand my knowledge,...

> 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.

I´m thinking of a lapic timer or perhaps the hpet, and yes I would like to generate interrupts at a specific frequency. I fully understand that on a PC the timer interrupts are not that precise than on other "platforms".

> 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.

You are thinking of the time stamp counter or ?

Thank for very much for your explainations and inputs!

cheers LowLevel

 

Complete thread:

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