home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / zsus / z3help / z.lbr / ZTIME.HZP / ZTIME.HLP
Encoding:
Text File  |  1991-11-18  |  5.9 KB  |  128 lines

  1. ;
  2.                                   ZTIME.COM                                   
  3.  
  4.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  5. ZTIME.3OM      4k (27)   07C0  1.4        Gene Pizzetta 10/91      Z3COM33
  6. ZTIME.4OM      5k (33)   D986  1.4        Gene Pizzetta 10/91      Z3COM33
  7. ZTIME.COM      4k (27)   CACA  1.4        Gene Pizzetta 10/91      Z3COM33
  8. ZTIME+.3OM     4k (27)   691A  1.4        Gene Pizzetta 10/91      Z3COM33
  9. ZTIME+.4OM     5k (34)   4B58  1.4        Gene Pizzetta 10/91      Z3COM33
  10. ZTIME+.COM     3k (27)   874C  1.4        Gene Pizzetta 10/91      Z3COM33
  11.  
  12.   1- Syntax/Options  2- Non-Supported Clocks  3- Notes                        
  13.  
  14.  
  15.    ZTIME is a hardware independent clock utility for setting or displaying the
  16. date and time under ZSDOS or Z3PLUS.  It features very flexible command line 
  17. date and time entry, and has several options, including the ability to measure
  18. elapsed time.  Two versions accomodate ZSDOS (ZTIME) and Z3PLUS (ZTIME+).
  19. :1
  20.     Syntax   ZTIME {{mm}/{dd}/{yy}} {{hh}:{mm}:{ss}}
  21.          or  ZTIME {{/}option}
  22.  
  23.    If no parameters are given on the command line,  
  24.    the current date and time will be displayed.
  25.  Syntax - 2/2 
  26.  
  27.    Entering all elements of a date or  time  specification is  not  necessary.
  28. Missing elements will be filled in from the current  setting of the clock.  In
  29. other words, if you just want to change the hour -- perhaps to daylight saving
  30. time--enter:
  31.                ZTIME hh:
  32.    To adjust the minutes, use:
  33.                ZTIME :mm
  34.    Or to tweek the seconds:
  35.                ZTIME ::ss
  36. The date parameter works the same way.   As  the  examples  indicate,  leading
  37. delimiters are required, but trailing delimiters are not,  except for the hour
  38. if no date delimiters are used:
  39.                ZTIME mm
  40. will set the month,  but a  trailing  delimiter  is not needed for the hour if
  41. entered with a date delimiter:
  42.                ZTIME / hh
  43. If desired, ZTIME can be configured to accept a date in European format:
  44.                ZTIME dd.mm.yy
  45. Time must always be entered in military (24- hour) format,  although ZTIME can
  46. be configured to display the time in civilian format.
  47.  Options - 1/2 
  48.  
  49.    An option may be given, instead of a date and time string, with or without
  50. a leading slash.
  51.  
  52.      S    Set clock interactively.  This option requires that a 
  53.           complete date and time specification be entered in answer
  54.           to prompts.  At the prompt for "Hour?", if a plus sign
  55.           ("+") is entered, ZTIME will prompt for relative time.
  56.  
  57.      C    Show time continuously.  The display is updated once 
  58.           each second.  Any key aborts the display.
  59.  
  60.      M    Store date and time in memory registers.  A total of 
  61.           six registers are used.  As distributed, registers 18 
  62.           through 23 are used, but a configuration option allows 
  63.           selecting any six sequential registers.
  64.  
  65.      E    Show elapsed time since last call with M option.  ZTIME 
  66.           reads both the current time and the time stored in the 
  67.           registers, and then calculates the elapsed time in 
  68.           hours, minutes and seconds (up to 24 hours maximum).
  69.  Options - 2/2 
  70.  
  71.    As distributed,  ZTIME sets the  clock  immediately  after  the seconds are
  72. entered in interactive mode, or immediately after loading if command line time
  73. entry is used.  Of course, it takes time for ZTIME to load from disk, read the
  74. clock, parse the command line date and  time  specification,  and then set the
  75. clock to the new time.  It most cases a fraction of a second, or even a second
  76. or two, is of no consequence.  However, if you insist that the time setting be
  77. as exact as possible,  ZTIME can be  configured to  prompt for a keypress just
  78. before setting the clock.
  79.  
  80.    Setting the clock does not work unless the Wheel byte is set.
  81.  
  82.    ZTIME can be aborted at any prompt with ^C.
  83. :2
  84.  Non-Supported Clocks 
  85.  
  86.    Some ZSDOS (or ZDDOS) clock  modules  do not  support  setting  the  system
  87. clock.  If you have the  necessary  documentation,  however,  a  clock setting
  88. module can be written and linked to  ZTIME with a  single  change in the ZTIME
  89. source code:
  90.  
  91.    1. Change the  "CUSTOM"  equate  near  the  beginning of the source code to
  92.         "TRUE".
  93.  
  94.    2. The public entry point of the module must be labelled "SETCUS".
  95.  
  96.    3. ZTIME will call the module with the  address of the date and time string
  97.       in HL.  The string is in standard format of 6 packed BCD bytes:
  98.           year mon day hour min sec
  99.  
  100.    4. Your module must return with the  zero  flag  reset (NZ) on  error.  The
  101.       zero flag is set  (Z) if  everything is  okay.   No  registers  need  be
  102.       preserved.
  103.  
  104.    5. Link SETCUS.REL module to ZTIME.REL before the libraries are searched.
  105. :3
  106.  ZTIME Notes 
  107.  
  108.    a. Version 1.4 updates (10/9/91, Gene Pizzetta):
  109.       - Howard Goldstein fixed a couple of bugs in the ZSLIB parser,  so a new
  110.         linkage of ZTIME was necessary.  
  111.       - Also, implemented a suggestion that  ZTIME  re-read  the  clock  after
  112.         setting it, rather than just displaying the time it was supposed to be
  113.         setting.  
  114.       - Added type 3 and 4 linkages.
  115.  
  116.    b. Version 1.3 updates (9/10/91, Gene Pizzetta):
  117.       - Buffer address was not being saved between calls to TLINE in the ITIME
  118.         interactive time entry routine.
  119.  
  120.    c. Version 1.2 updates (8/23/91, Gene Pizzetta):
  121.       - The only change  here is  that  ZTIME  observes  the  wheel  byte  and
  122.         declines to set the clock for non-wheels.   Everything else  works for
  123.         both wheels and non-wheels.  
  124.  
  125.    d. Version 1.1 updates (8/18/91, Gene Pizzetta):
  126.       - Instructions for installing a custom time-setting module did not work.
  127.       - In addition ZSLIB 3.1 is required for re-assembly.  
  128.