]> git.sur5r.net Git - cc65/blobdiff - doc/cbm510.sgml
Added target docs on the clock_... functions.
[cc65] / doc / cbm510.sgml
index 5c7c0f767015fb806eff9c08dc3302b956a931e8..5df8f06f6b3d03f843cbfe5bded8c154e389822f 100644 (file)
@@ -242,6 +242,13 @@ The default drivers, <tt/mouse_stddrv (mouse_static_stddrv)/, point to <tt/cbm51
 <sect>Limitations<label id="limitations"><p>
 
 
+<sect1>Realtime clock<p>
+
+The realtime clock functions use the CIA1 TOD clock. As that clock only stores
+the time but not the date, the date set by <tt/clock_settime()/ ist simply stored
+inside the C library for retrieval in the same program via <tt/clock_gettime()/.
+
+
 <sect1>Kernal and hardware access<p>
 
 Since the program runs in bank 0, and the kernal and all I/O chips are located