[ros-bugs] [Bug 2786] Boot countdown goes 10,8,6,4,2...

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Sat Sep 20 20:42:26 CEST 2008


http://www.reactos.org/bugzilla/show_bug.cgi?id=2786





--- Comment #10 from grschneider <grschneider at gmail.com>  2008-09-20 20:42:24 CET ---
Created an attachment (id=3101)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=3101)
example patch

The call for INT 1Ah functions 04h/02h in
\boot\freeldr\freeldr\arch\i386\pcrtc.c may indeed fail, but failure is not
expected in the code.
Comments say that an unsuccessful call would set CF.
Easy approach to solve this: loop the interrupt call until it succeeds (CF==0).
Timing might be critical and I suspect that there may be BIOSes which don't set
CF on error. Behaviour on QEMU after patching: countdown works better, but not
perfect: no more skipped seconds, but refresh does not happen exactly after one
second.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Ros-bugs mailing list