
   CLOCK.SYS                            03-13-95

   CLOCK$ Device driver.  For use on AT-type machines only.
   Like the driver in PC DOS v2.00 and v2.10, except that:
 
   1. The `midnight' bug is fixed.
   2. The real-time clock date is read.
   3. The CONFIG.SYS command line is read to get the correct 
      local time zone.

   It is assumed that the CMOS Clock is set to UCT (GMT).

   Copy CLOCK.SYS to PATH and enter something like
              DEVICE = PATH\CLOCK.SYS /TZ=+5
   in your CONFIG.SYS file.  

   The value of TZ must be an integer, -12 <= TZ <= 12

   Examples: 
      Eastern Standard Time (U.S.)  (EST)  TZ = +5
      Eastern Daylight Saving Time  (EDT)  TZ = +4
      Pacific Standard Time (U.S.)  (PST)  TZ = +8
      Pacific Daylight Saving Time  (PDT)  TZ = +7

      Eastern Standard Time (U.S.) is 5 hours BEHIND UCT.
      Its OFFSET, relative to UCT, is therefore -5 H.
      However, TZ is defined to be the number of hours that
      must be added to local time to obtain UCT. That is,
      TZ = -OFFSET.

   Don't forget that the DOS time function sets the CMOS clock,
   as well as DOS time. So, if you use it, you should set the
   time to UCT. Then, if you want DOS to show the correct local
   time, you should reboot.

   Bugs: 

      Daylight Saving Time is not accounted for. You will still
      have to edit your CONFIG.SYS file at the appropriate times.

      Fractional Time Zones are not implemented. That is, CLOCK.SYS
      cannot handle Newfoundland.

      CLOCK.SYS has been tested only under MS-DOS ver. 5.0a. 
      The DOS version is not checked.

   Assemble with:   
      masm clock.asm
      link clock.obj,,,;
      exe2bin clock.exe clock.sys

   Original program ATCLKFIX.ASM by Mike Geyer. See ATCLKFIX.DOC.

   Time Zone feature added by Dr. Eugene Zaustinsky  
                              Department of Mathematics
                              State University of New York
                              Stony Brook, NY 11794

   Please send comments and bug reports to:  ezaust@math.sunysb.edu
