home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / atari / 8bit / 5181 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.4 KB

  1. Path: sparky!uunet!well!moon!cyberden!phbill
  2. From: phbill@cyberden.uucp
  3. Newsgroups: comp.sys.atari.8bit
  4. Subject: Clock...fixed
  5. Message-ID: <PL52TB5w165w@cyberden.uucp>
  6. Date: Tue, 10 Nov 92 20:21:00 PST
  7. Organization: Indescribable Creations
  8. Lines: 28
  9.  
  10. I successfully fixed my GDesk clock.  Ugh.. it was a problem with time 
  11. advancing too much when you held down the fire/return button.  So I just 
  12. had it advance once, and wait until you release it.  Also, the time was 
  13. NOT checked when advanced manually..  That's because I had the program 
  14. set up like this:
  15.  
  16. If Sec>60 Then Sec==-60 Min==+1
  17.   If Min>60 Then Min==-60 Hour==+1
  18.     If Hour>12 ...
  19.  
  20. etc.  Not like this:
  21. IF Sec>60 Then Sec==-60 Min==+1 Fi
  22. If Min>60 Then Min==-60 Hour==+1 Fi
  23.  
  24. etc.  oops..  So I edited the if-fi checking of the time and stuck it in 
  25. a place other than when the internal clock has changed (out of the "If 
  26. Clock>1 Then Sec==+Clock ..etc." part of the procedure).
  27.  
  28. Also, I fixed manual clock advancement so you can go "+" or "-" (clicking 
  29. the left or right digit of the number)..        and that's just version 
  30. 1.0 of the clock! :)  A later upgrade of it will include an alarm, 
  31. possibly a "day of week" calculator, and (if someone gives me the code) 
  32. might be set from the RTime8 instead of manual each time you load it..
  33.                         cool, eh!?      
  34.  
  35.  
  36. --
  37. Bill Kendrick   :   PhBill@Cyberden.UUCP        Currently working on GDesk
  38.