Hello Eric,

> Somebody else already tuned the clock driver:
>         ticks = ((ticks / 59659u) << 16) + ((ticks % 59659u) << 16) / 59659u;
>   ... scaling factor 1193180/6553600 = 59659/327680 = 59659/65536/5 ...

done by Bart and me ~2002 (50% by me, and Bart gave it the final touch)

compared to the original ( ~2023 ) kernel, that saved 2* more code
then ALL 100+ combined microoptimizations by this young russian talent.

and THEN it's worth doing it - else it induces only bugs.

tom




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to