home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / telecomm / caltim31 / calltim3.doc next >
Text File  |  1994-01-18  |  2KB  |  49 lines

  1.                              Bob's CallTime   v. 3.1
  2.                              Copyright (c) 1990,1994
  3.  
  4. Yet another installment in my series of programming adventures.  This program
  5. will call the Naval Observatory in Washington D.C. to set your ST to the
  6. correct time.  They have a computer set up just spitting out the time in
  7. military format and the date in Julian format.  I've included the source if
  8. you like to see how this is done.
  9.  
  10. There should be 3 files included with CALLTIME.ARC:
  11.         CALLTIM3.DOC --- This document.
  12.         CALLTIM3.S   --- Assembly language source.
  13.         CALLTIM3.PRG --- The program.
  14.  
  15. When you first run CallTime, you'll be prompted with a message saying that the
  16. data file was not found, and it must be created.  To reconfigure CallTime,
  17. delete CALLTIME.DAT and run the program.
  18.  
  19. Select your current time zone by pressing the corresponding number.
  20.  
  21. CallTime will then ask you for an initalization string.  Normally this string
  22. should read "ATDT 1202".  However, if you need to set your modem up to do
  23. other tasks, you may do so (up to 128 characters may be entered).  But the last
  24. line in the data file should be "ATDT 1202".  Do not press return after that
  25. line is entered, instead, press CONTROL-Z, which signifies the end of file.
  26.  
  27. Once you're done, CallTime will dial the Naval Observatory, get the time, and
  28. set your GEMDOS clock to the correct time...  And that's it!  The next time you
  29. run CallTime, you won't have to enter the initialization string (but don't
  30. forget to change it when we change the time in Spring and Fall!)
  31.  
  32. FYI:  The phone number for the Naval Observatory is  1-202-653-0351
  33. And for general Observatory information:  1-202-653-1079
  34.  
  35. A note about the source:  The source code was written with Abacus's Assempro
  36. and has inclusions of macros (the first line in the program loads the macros).
  37. The macros that I used are functions of Gemdos, Bios, and Xbios, and shouldn't
  38. present a problem if you need to convert directly to assembly.
  39.  
  40. Thanks to Brian Mull for correcting my Hangup routine.
  41. And thanks to Byron Johnson for not rubbing it in TOO much!
  42.  
  43. If you find the program useful, please consider making a contribution of $10,
  44. U.S. currency.  Feel free to write with any questions or comments.
  45.  
  46. Bob Areddy
  47. 2607 Clawson Ave.
  48. Royal Oak, MI  48073
  49.