Claims
- 1. A method for setting an initial time in a clock for an operating system in a personal computer system, comprising the steps of:turning on power and checking a read only memory-basic input/output system of said personal computer system; booting said operating system; reading a current time from a complementary metal oxide semiconductor clock of said personal computer system after booting said operating system; setting the time read from said complementary metal oxide semiconductor clock as an initial time in said clock for said operating system; reading again a current time from said complementary metal oxide semiconductor clock; and comparing the read again current time from said complementary metal oxide semiconductor clock with a current time of said clock for said operating system to determine whether the read again current time from said complementary metal oxide semiconductor clock and the current time of said clock for said operating system match to set a time in said clock for said operating system for time managed by said operating system for real-time management for an application program for said personal computer system.
- 2. The method as claimed in claim 1, further comprising a repeating step when the read again current time from said complementary metal oxide semiconductor clock and the current time of said clock for said operating system do not match, said repeating step including repeating said steps of reading a current time from said complementary metal oxide semiconductor clock of said personal computer system, setting the time read from said complementary metal oxide semiconductor clock as an initial time in said clock for said operating system, reading again a current time from said complementary metal oxide semiconductor clock, and comparing the read again current time from said complementary metal oxide semiconductor clock with a current time of said clock for said operating system to determine whether the read again current time from said complementary metal oxide semiconductor clock and the current time of said clock for said operating system match.
- 3. The method as claimed in claim 2, further comprised of said repeating step being terminated when said repeating step is repeated for a predetermined duration of a predetermined time.
- 4. The method as claimed in claim 2, further comprised of said repeating step being terminated when said repeating step is repeated for a predetermined number of times.
- 5. The method as claimed in claim 2, further comprised of said operating system being booted from a disk drive of said personal computer system.
- 6. The method as claimed in claim 1, further comprised of said operating system being booted from a disk drive of said personal computer system.
- 7. A method for setting an initial time in a clock for an operating system in a personal computer system, comprising the steps of:reading a current time from a complementary metal oxide semiconductor clock of said personal computer system after booting said operating system; setting the time read from said complementary metal oxide semiconductor clock as an initial time in said clock for said operating system; reading again a current time from said complementary metal oxide semiconductor clock; and comparing the read again current time from said complementary metal oxide semiconductor clock with a current time of said clock for said operating system to determine whether the read again current time from said complementary metal oxide semiconductor clock and the current time of said clock for said operating system match to said clock for said operating system for time managed by said operating system for real-time management for an application program for said personal computer system.
- 8. The method as claimed in claim 7, further comprising a repeating step when the read again current time from said complementary metal oxide semiconductor clock and the current time of said clock for said operating system do not match, said repeating step including repeating said steps of reading a current time from said complementary metal oxide semiconductor clock of said personal computer system, setting the time read from said complementary metal oxide semiconductor clock as an initial time in said clock for said operating system, reading again a current time from said complementary metal oxide semiconductor clock, and comparing the read again current time from said complementary metal oxide semiconductor clock with a current time of said clock for said operating system to determine whether the read again current time from said complementary metal oxide semiconductor clock and the current time of said clock for said operating system match.
- 9. The method as claimed in claim 8, further comprised of said repeating step being terminated when said repeating step is repeated for a predetermined duration of a predetermined time.
- 10. The method as claimed in claim 8, further comprised of said repeating step being terminated when said repeating step is repeated for a predetermined number of times.
- 11. An apparatus for setting an initial time in a clock for an operating system in a personal computer system, comprising:a complementary metal oxide semiconductor clock for said personal computer system; an operating system clock; and an operating system of said personal computer system, said operating system including said operating system clock, said operating system for reading a current time from said complementary metal oxide semiconductor clock after booting said operating system, for setting the time read from said complementary metal oxide semiconductor clock as an initial time in said operating system clock for said operating system, for reading again a current time from said complementary metal oxide semiconductor clock, and for comparing the read again current time from said complementary metal oxide semiconductor clock with a current time of said operating system clock for said operating system to determine whether the read again current time from said complementary metal oxide semiconductor clock and the current time of said operating system clock for said operating system match to set a time in said operating system clock for said operating system for time managed by said operating system for real-time management for an application program for said personal computer system.
- 12. The apparatus as claimed in claim 11, further comprising a read only memory-basic input/output system of said personal computer system.
- 13. The apparatus as claimed in claim 12, further comprising a disk drive of said personal computer system for booting said operating system of said personal computer system.
- 14. The apparatus as claimed in claim 11, further comprising a disk drive of said personal computer system for booting said operating system of said personal computer system.
- 15. The apparatus as claimed in claim 11, further comprised of when the read again current time from said complementary metal oxide semiconductor clock and the current time of said operating system clock for said operating system do not match, said operating system performs a repetition of reading a current time from said complementary metal oxide semiconductor clock, setting the time read from said complementary metal oxide semiconductor clock as an initial time in said operating system clock for said operating system, reading again a current time from said complementary metal oxide semiconductor clock, and comparing the read again current time from said complementary metal oxide semiconductor clock with a current time of said operating system clock for said operating system to determine whether the read again current time from said complementary metal oxide semiconductor clock and the current time of said operating system clock for said operating system match.
- 16. The apparatus as claimed in claim 15, further comprised of said operating system terminates said repetition when said repetition is performed for a predetermined duration of a predetermined time.
- 17. The apparatus as claimed in claim 15, further comprised of said operating system terminates said repetition when said repetition is performed for a predetermined number of times.
- 18. The apparatus as claimed in claim 15, further comprising a read only memory-basic input/output system of said personal computer system.
- 19. The apparatus as claimed in claim 18, further comprising a disk drive of said personal computer system for booting said operating system of said personal computer system.
- 20. The apparatus as claimed in claim 15, further comprising a disk drive of said personal computer system for booting said operating system of said personal computer system.
Priority Claims (1)
Number |
Date |
Country |
Kind |
97-49092 |
Sep 1997 |
KR |
|
CLAIM OF PRIORITY
This application makes reference to, incorporates the same herein, and claims all benefits accruing under 35 U.S.C. §119 from an application for METHOD FOR SETTING INITIAL TIME OF OPERATING SYSTEM CLOCK earlier filed in the Korean Industrial Property Office on Sep. 26, 1997 and there duly assigned Ser. No. 49092/1997.
US Referenced Citations (9)