RTC

From OSDev.wiki
Revision as of 13:14, 13 February 2009 by osdev>Earlz
Jump to navigation Jump to search
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