Go to the source code of this file.
◆ BCD_INT
#define BCD_INT |
( |
|
bcd | ) |
(((bcd & 0xf0) >> 4) * 10 + (bcd &0x0f)) |
◆ RTC_REG_A_UIP
#define RTC_REG_A_UIP 0x80 /* Update In Progress bit */ |
◆ RTC_REGISTER_A
◆ HalpQueryCMOS()
Definition at line 27 of file xboxrtc.c.
#define READ_PORT_UCHAR(p)
#define WRITE_PORT_UCHAR(p, d)
Referenced by XboxGetTime().
◆ XboxGetTime()
Definition at line 40 of file xboxrtc.c.
55 if (TimeInfo.
Year > 80)
56 TimeInfo.
Year += 1900;
58 TimeInfo.
Year += 2000;
static UCHAR HalpQueryCMOS(UCHAR Reg)
Referenced by MachInit().