home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / utility / mclock.zoo / mclock.doc < prev    next >
Text File  |  1990-12-23  |  3KB  |  55 lines

  1.  
  2. MCLOCK was written by:
  3.     Robert Fischer \\80 Killdeer Road \\Hamden, CT   06517   USA
  4.     (203) 288-9599        fischer-robert@cs.yale.edu
  5. MCLOCK is in the public domain.
  6.  
  7. MCLOCK is yet another corner clock which serves two main purposes:
  8.  
  9. * It doesn't use Line-A, but writes directly into screen memory.  This
  10. way, you can use it with the blitter on a Mega without interference.
  11.  
  12. * In addition to being able to display the time in 12 and 24 hour
  13. formats, MCLOCK can display it in a 100-hour format (actually, 100-hur
  14. format), where each hur is 1/100 of a day.  The clock simply tells you
  15. how many hurs (up to three decimal places) have passed since last
  16. midnight.  For example, 50.000 is 12:00 noon, and 75.000 is 6:00 PM.
  17. One hur equals exactly 14:24 minutes, and one thousanth of a hur
  18. equals exactly .864 seconds.
  19.  
  20. Imagine the advantages of this system of time.  Much of the world uses
  21. the metric system of measurement because of the obvious advantages in
  22. measuring things in one unit.  For example, kilometers and meters are
  23. much easier to add, subtract, multiply and divide than miles and feet.
  24. But the archaic system of time which we use today brings needless
  25. complication into everyday life, even for those using the metric
  26. system.  For example, we still get the fun of converting between km/hr
  27. and m/sec, with a conversion factor of 3.6.  If speedometers were
  28. calibrated in km/hur, that would be the same as calibrating them in
  29. m/milli-hur, eliminating any conversion factor at all!  If you were
  30. traveling 10 km/hur (about 40 km/hr), you'd know instantly that you'd
  31. hit that point 100 m off in 10 milli-hurs. 
  32.  
  33. The Metric mode of MCLOCK is made to demonstrate this new system of
  34. measuring time.  The accompanying program HURCLOCK.BAS, which runs in
  35. Omikron BASIC, demonstrates such a clock in the analog format.
  36.  
  37. MCLOCK runs as a desk accessory, and automatically reads the current
  38. system time and displays it in the corner.  Every few seconds, MCLOCK
  39. checks the current system and if it's too far off, MCLOCK recalibrates
  40. itself.  If you change the time with the control panel, you should see
  41. MCLOCK change in a few seconds.  You can set three options (pretty
  42. obvious).  MCLOCK reads them from the file MCLOCK.INF (in the root
  43. directory of your startup drive) when it starts.  MCLOCK.INF has one
  44. line, with up to three letters, as follows:
  45.  
  46.     m : Display metric time
  47.     o : Display old time
  48.     2 : Use 24-hour format (defaults to 12-hour)
  49.  
  50. For example, the line 'mo' would tell MCLOCK to display 12-hour
  51. old-style time _and_ Metric time.
  52.  
  53. MCLOCK was written in MWC and MADmac assembler, using LynxLib (my
  54. library, which I posted recently).  Enjoy!
  55.