Thursday, February 3, 2011

Get the time information from CMOS

Get the layout of CMOS on current motherboard.
E.g. First byte indicates the seconds of current time

outb(0, 0x70);
unsigned char sec = inb(0x71);

CMOS read write please see previous post

No comments: