Page 1 of 1

RTC Programming

Posted: Sat Mar 29, 2003 10:10 pm
by adeelmahmood1
hi
i have been searching google for RTC programming and have found some useful links but they are not good enough to implement. so may be someone could be able to help me in accomplishing this ... i just need to get the local time from CMOS at startup and then i will update it from my timer interrupt
thanx for ur help

Re:RTC Programming

Posted: Sat Mar 29, 2003 10:44 pm
by gtsphere
http://www.clipx.net/ng/bios/ng2d2f4.php


this website is extremely good, it helped me a lot.

I hope this helps
-GT

Re:RTC Programming

Posted: Sat Mar 29, 2003 11:26 pm
by adeelmahmood1
well thanx
this site has really good info
but the thing is that i m in pmode and cant use these bios interrupts
i m talking about reading the time from the CMOS registers
BTW thanx for ur help

Re:RTC Programming

Posted: Sun Mar 30, 2003 12:08 am
by FlashBurn
If you only need the code then you could look at this thread http://www.mega-tokyo.com/forum/index.php?board=1;action=display;threadid=3369 and download the anos.zip. Then you have to look at the kernel\cmos dir. There you will find some code.