Real Time Clock

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
PlayOS

Real Time Clock

Post by PlayOS »

Hi,

Just wondering if anyone knows what the Real Time Clock (IRQ8) is used for. Also, how do I set it up?
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Real Time Clock

Post by Pype.Clicker »

isn't this the interrupt that is triggered when the real time alarm is reached ??
K.J.

Re:Real Time Clock

Post by K.J. »

The joys of setting up the somewhat poorly documented realtime clock.... This is doc that I used:
http://www.nondot.org/sabre/os/files/Mi ... ockFAQ.txt

The one thing that none of the RTC docs seem to tell you is that whenever u get a RTC interrupt you must outport(0x70, 0x0c) then inport(0x71). If you don't, the RTC won't send any more interrupts(thanks go to Chris Giese for telling me that for my RTC functions).

K.J.
Post Reply