home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- This is a program to read and set the battery operated clock on
- the AT&T 6300 PC. It is useful when the version of MS-DOS is not
- one by AT&T.
-
- The source is written in TURBO C, and it has been tested with both
- version 1.0 and 1.5.
-
- To set the DOS time from the battery-operated clock when you boot
- your computer, include this line in your AUTOEXEC.BAT file:
-
- [path]ATTCLOCK [-v]
-
- You may need to specify a path if ATTCLOCK.COM is not in your root
- directory. The -V option tells it to work in verbose mode.
-
- The calling sequence is:
-
- ATTCLOCK [switches]
-
- The following are valid switches, and should be preceeded by a '-':
-
- i - information only, does not change clock or DOS date-time.
- h - list of options.
- r - reset clock (zeros seconds and re-initializes clock).
- s - sets clock date-time from DOS date-time.
- v - verbose mode, says what's going on.
- w - wait until seconds = 0, so clock get sets exactly.
-
- Note that options -i and -s may be combined to output the
- current DOS date and time.
-
-
- In order to set the battery-operated clock, you must first set the
- DOS date and time using the DATE and TIME commands. Then type
-
- ATTCLOCK -s
-
- This has worked well for me with one exeception: About three times
- in the last five months my system as hung while booting. I'm not
- sure why this happens but it must have something to do with the clock,
- since if I boot from a floppy which does have a call to ATTCLOCK in
- the AUTOEXEC.BAT file and then use ATTCLOCK to set the time, I can
- then reboot normally again. (By the way, my system has IBM PC-DOS
- version 3.2 running).
-
- Good luck!
-
- Jonathan Senning
- University of Virginia
-
- jrs2p@bellman.acc.virginia.edu
-