Re: A86: Timings


[Prev][Next][Index][Thread]

Re: A86: Timings




At 21:33 1998-11-10 -0500, you wrote:
>
>How long does it take for each clock cycle?   I want
>to make a 1 second timer as accurate as possible.

It's T-states you should count, not clock cycles I believe...
it's a bit more accurate.

Instruction duration = 1/MHz*T-states.

Example:

 ADD HL,DE = 11 T states (3 cycles)

 Duration = 1/6000000*11 = 1.8333us (microseconds)

But I doubt the TI-86 running at _EXACTLY_ 6.00 MHz. It would
be interesting to calculate the exact MHz...

--
Real name:     Jimmy Mårdell         
Email:         mailto:yarin@acc.umu.se
Homepage:      http://www.acc.umu.se/~yarin/

Icarus Productions homepage: http://icarus.ganymed.org/


References: