Yuku free message boards
Username or E-mail:
Password:
Forgot
Password?
Sign Up
Grab the Yuku app
Search:
MenuetOS
menuetos
>
32bit - MenuetOS
>
Bug in kernel.asm
0 Points
Search this Topic:
Add Reply
New Topic
New Poll
Forum Jump
64bit - MenuetOS
64bit - Projects
64bit - Hardware
32bit - MenuetOS
32bit - Kernel
32bit - Applications
Help
Heap
<< Previous Topic
Next Topic >>
Re: Bug in kernel.asm
Author
Comment
Wildwest
#1
[-]
Advanced Member
Posts
: 121
Oct 22 04 4:47 PM
Reply
Quote
More
My Recent Posts
I'm improve my fix again for getting real CPU frequency.
For getting more correct CPU frequency you must replace '' imul ecx,66 '' in label "delay_ms" by this:
; Fix for CPU clock detection by Sergey Kuzmin aka Wildwest <kuzmin_serg [at] list.ru>
;10/22/2004
imul ecx, 33941
shr ecx, 9
;10/22/2004
;Fix for CPU clock detection by Sergey Kuzmin aka Wildwest <kuzmin_serg [at] list.ru>
This is my FINAL FIX because CPU clock in Windows varies from reboot to reboot with value equals +/- 0.01 MHz.
Now precision = 100% +/- 0,0005%
Please, test my program with this fix!
<< Previous Topic
Next Topic >>
Add Reply
Forum Jump
64bit - MenuetOS
64bit - Projects
64bit - Hardware
32bit - MenuetOS
32bit - Kernel
32bit - Applications
Help
Heap
Share This
Email to Friend
del.icio.us
Digg it
Facebook
Blogger
Yahoo MyWeb
menuetos
>
32bit - MenuetOS
>
Bug in kernel.asm
Click to subscribe by RSS
Click to receive E-mail notifications of replies