home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
telecomm
/
caltim31
/
calltim3.doc
next >
Wrap
Text File
|
1994-01-18
|
2KB
|
49 lines
Bob's CallTime v. 3.1
Copyright (c) 1990,1994
Yet another installment in my series of programming adventures. This program
will call the Naval Observatory in Washington D.C. to set your ST to the
correct time. They have a computer set up just spitting out the time in
military format and the date in Julian format. I've included the source if
you like to see how this is done.
There should be 3 files included with CALLTIME.ARC:
CALLTIM3.DOC --- This document.
CALLTIM3.S --- Assembly language source.
CALLTIM3.PRG --- The program.
When you first run CallTime, you'll be prompted with a message saying that the
data file was not found, and it must be created. To reconfigure CallTime,
delete CALLTIME.DAT and run the program.
Select your current time zone by pressing the corresponding number.
CallTime will then ask you for an initalization string. Normally this string
should read "ATDT 1202". However, if you need to set your modem up to do
other tasks, you may do so (up to 128 characters may be entered). But the last
line in the data file should be "ATDT 1202". Do not press return after that
line is entered, instead, press CONTROL-Z, which signifies the end of file.
Once you're done, CallTime will dial the Naval Observatory, get the time, and
set your GEMDOS clock to the correct time... And that's it! The next time you
run CallTime, you won't have to enter the initialization string (but don't
forget to change it when we change the time in Spring and Fall!)
FYI: The phone number for the Naval Observatory is 1-202-653-0351
And for general Observatory information: 1-202-653-1079
A note about the source: The source code was written with Abacus's Assempro
and has inclusions of macros (the first line in the program loads the macros).
The macros that I used are functions of Gemdos, Bios, and Xbios, and shouldn't
present a problem if you need to convert directly to assembly.
Thanks to Brian Mull for correcting my Hangup routine.
And thanks to Byron Johnson for not rubbing it in TOO much!
If you find the program useful, please consider making a contribution of $10,
U.S. currency. Feel free to write with any questions or comments.
Bob Areddy
2607 Clawson Ave.
Royal Oak, MI 48073