timer on pc



hi ,
Is it possible to read timer0 while timer2 is running parallely in
a x86 PC running under DOS using assembly language(tasm).When i read
the timer it gives some count within 65536 I do not know wheher it is
correct.After issueing the READ BACK command it shows that timer0 is
programmed for mode 3 operation.I reconfigured the mode of timer0 after

reading the 8254 datasheet.I did not work.
I have to measure the time interval in microseconds between two
external interrupts to a pc.
As i am already using timer2 i cant use it and as timer1 is
used for RAM refreshing I can't use timer1 also.As my Pc is not a
PENTIUM class PC it is difficult/impossible to measure the clock
cycles using RTDSC. Is there any other time 8254 IC in the PC which is
accesible for the programmer?Can anyone help , please.
Krishna.VJ
I have posted this question in borland tasm group but did not
get any answers.

.



Relevant Pages

  • Re: timer on pc
    ... ms interrupt and an interrupt handler to increment one counter that rolls ... includes stealing the interrupt, resetting the timer values, the interrupt ... correct.After issueing the READ BACK command it shows that timer0 is ... As i am already using timer2 i cant use it and as timer1 is ...
    (comp.arch.embedded)
  • Gibt es sowas wie SuspendTimer?
    ... In OnTimer fang ich die Timer ab. ... else if (nIDEvent == TIMER2) ... Nun möchte ich in meinem else-TIMER2-Block den TIMER1 in Wartestellung ...
    (microsoft.public.de.vc)
  • Re: Gibt es sowas wie SuspendTimer?
    ... if (nIDEvent == TIMER1) ... else if (nIDEvent == TIMER2) ... Anfangs laufen die Timer noch parallel. ...
    (microsoft.public.de.vc)
  • Re: why cpu Frequence is Different in windows ce and xp in same pc
    ... With the 845 comes an ACPI timer whose frequency is 3 times the ... now i know that standard CEPC implementation work with timer0 1,193,182 Hz ...
    (microsoft.public.windowsce.embedded)
  • [PATCH 24/29] amd64 time.c __iomem annotations
    ... * Timer0 and Timer1 is used by platform. ... hd.hd_nirqs = ntimer; ...
    (Linux-Kernel)