RTC Programming

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
adeelmahmood1

RTC Programming

Post 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
gtsphere

Re:RTC Programming

Post 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
adeelmahmood1

Re:RTC Programming

Post 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
FlashBurn

Re:RTC Programming

Post 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.
Post Reply