home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / comptbls / attclock.arc / README < prev   
Encoding:
Text File  |  1988-03-05  |  1.7 KB  |  56 lines

  1.  
  2.  
  3.  
  4.  
  5.     This is a program to read and set the battery operated clock on 
  6.     the AT&T 6300 PC.  It is useful when the version of MS-DOS is not
  7.     one by AT&T.
  8.  
  9.     The source is written in TURBO C, and it has been tested with both
  10.     version 1.0 and 1.5.
  11.  
  12.     To set the DOS time from the battery-operated clock when you boot
  13.     your computer, include this line in your AUTOEXEC.BAT file:
  14.  
  15.     [path]ATTCLOCK [-v]
  16.  
  17.     You may need to specify a path if ATTCLOCK.COM is not in your root
  18.     directory.  The -V option tells it to work in verbose mode.
  19.  
  20.     The calling sequence is:
  21.  
  22.         ATTCLOCK [switches]
  23.  
  24.     The following are valid switches, and should be preceeded by a '-':
  25.  
  26.         i - information only, does not change clock or DOS date-time.
  27.         h - list of options.
  28.         r - reset clock (zeros seconds and re-initializes clock).
  29.         s - sets clock date-time from DOS date-time.
  30.         v - verbose mode, says what's going on.
  31.         w - wait until seconds = 0, so clock get sets exactly.
  32.  
  33.     Note that options -i and -s may be combined to output the
  34.     current DOS date and time.
  35.  
  36.  
  37.     In order to set the battery-operated clock, you must first set the
  38.     DOS date and time using the DATE and TIME commands.  Then type
  39.  
  40.         ATTCLOCK -s
  41.  
  42.     This has worked well for me with one exeception:  About three times
  43.     in the last five months my system as hung while booting.  I'm not
  44.     sure why this happens but it must have something to do with the clock,
  45.     since if I boot from a floppy which does have a call to ATTCLOCK in
  46.     the AUTOEXEC.BAT file and then use ATTCLOCK to set the time, I can
  47.     then reboot normally again.  (By the way, my system has IBM PC-DOS
  48.     version 3.2 running).
  49.  
  50.     Good luck!
  51.  
  52.                     Jonathan Senning
  53.                     University of Virginia
  54.  
  55.                     jrs2p@bellman.acc.virginia.edu
  56.