CMOS: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content added Content deleted
m (Time category)
m (Updated the year)
Line 248: Line 248:
=== Reading All RTC Time and Date Registers ===
=== Reading All RTC Time and Date Registers ===
<source lang="c">
<source lang="c">
#define CURRENT_YEAR 2011 // Change this each year!
#define CURRENT_YEAR 2012 // Change this each year!


int century_register = 0x00; // Set by ACPI table parsing code if possible
int century_register = 0x00; // Set by ACPI table parsing code if possible