Re: delay loop

new topic     » goto parent     » topic index » view thread      » older message » newer message

> this seems strange to me...
> 17950 AMD 1000 Athlon under Windows ME
> but then.. same machine booted into Linux Mandrake 8.3
> 4188!
Thank's everyone, but I'm still 'stupid'.
My first loop just checks the cpu speed, and the second was supposed to
compensate, so it was a *lot* closer to the same
on any machine. Guess I got it wrong in every way   :(

Perhaps changing:
> > >for i = 1 to 2 + abs(tick/2400) do
to:
for i = 1 to (1 + (power(tick,1.2)/22000)) do

... might get a little closer ???
486/90  =  2360
P166  =  3330

The real number's not critical, as long as it doesn't go over 80,000 on an AMD
10,000   blink
Wolf

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu