RTC: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content added Content deleted
No edit summary
No edit summary
Line 6: Line 6:
====Programming it====
====Programming it====
The RTC is capable of multiple frequencies. However, the only one acceptable for keeping time is 1024hz. For this reason, it is strongly NOT recommended that you change the frequency of the RTC, or your computers clock will no longer be accurate
The RTC is capable of multiple frequencies. However, the only one acceptable for keeping time is 1024hz. For this reason, it is strongly NOT recommended that you change the frequency of the RTC, or your computers clock will no longer be accurate

====See Also====
[http://www.geocities.com/SiliconValley/Campus/1671/docs/rtc2.htm Periodic Interrupts with the Real Time Clock]
[http://www.ousob.com/ng/interrupts_and_ports/ng9116b.php CMOS Ram Data Register]
[http://www.nondot.org/sabre/os/files/MiscHW/CMOSTimer.html Using the 1024 HZ Timer Interrupt]

Revision as of 13:14, 13 February 2009

This page is a work in progress.
This page may thus be incomplete. Its content may be changed in the near future.

Introduction

Most OSs use the PIT for timing purposes. However, I believe the RTC works just as well. RTC stands for Real Time Clock. It is the chip that keeps your computers CMOS clock up-to-date.

Programming it

The RTC is capable of multiple frequencies. However, the only one acceptable for keeping time is 1024hz. For this reason, it is strongly NOT recommended that you change the frequency of the RTC, or your computers clock will no longer be accurate

See Also

Periodic Interrupts with the Real Time Clock CMOS Ram Data Register Using the 1024 HZ Timer Interrupt