home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / tt / checkrtc / checkrtc.doc next >
Text File  |  1992-02-15  |  2KB  |  49 lines

  1.                     Documentation for CHECKRTC
  2.                     --------------------------
  3.  
  4. CHECKRTC is a program to check the accuracy of the Real Time Clock
  5. (RTC) on the TT030.  It does so by comparing elapsed time as measured
  6. by the RTC, with that measured by the 200Hz system tick counter.
  7.  
  8. It was written because my TT was losing time, and I wanted to:
  9.     a) verify that this happened constantly (rather than e.g. just
  10.        at bootup)
  11.     b) allow others to check their TTs, and thereby determine if
  12.        it was just a problem with my system
  13.     c) write some more low-level hardware code.
  14.  
  15. When CHECKRTC is invoked, it first checks that it's on a TT.  If it
  16. isn't, it exits with a message.  Otherwise, it saves the current
  17. values of the RTC and the system tick counter, and waits for a
  18. keypress.  Pressing the "Esc" key will terminate the program;
  19. otherwise, each time a key is pressed, the current time/date will be
  20. displayed, followed by the elapsed time since the program start, as
  21. measured by the RTC and the system tick counter.  If these values
  22. are the same, a message is issued to indicate the limits of accuracy
  23. of the measurement.  Otherwise, a message indicates if the RTC is
  24. fast or slow compared to the system tick counter, and by how much
  25. per day.  This calculated value will fluctuate somewhat when short
  26. intervals are measured, but should approach a steady value as the
  27. intervals grow longer.
  28.  
  29.  
  30. Comments, complaints and compliments to Roger Burrows at one of the
  31. following addresses:
  32.  
  33.         GEnie
  34.         Userid: R.BURROWS1
  35.  
  36.         NCAUG BBS   (613) 231-3630
  37.         Userid: Roger Burrows
  38.  
  39.         Mail:   Anodyne Software
  40.                 6 Cobbler Court
  41.                 Ottawa
  42.                 Ontario K1V 0B8
  43.                 CANADA.
  44.  
  45.  
  46. CHECKRTC is copyright © Roger Burrows 1992, but may be distributed
  47. freely provided that both the program and this documentation file
  48. remain unaltered, and are distributed together in an archive.
  49.