home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 15 / CDACTUAL15.iso / cdactual / program / asm / OKTIMDAT.ZIP / TIMESTUF.DOC < prev    next >
Encoding:
Text File  |  1988-12-08  |  3.3 KB  |  67 lines

  1.  
  2.                                 DateTime.ARC
  3.  
  4.         DateTime.COM simply displays the date and time in the format:
  5.         >DateTime
  6.  
  7.         Today is Friday, 25 November 1988
  8.         Current Computer Time is 19:06:14
  9.  
  10.         >DTStamp
  11.  
  12.         19:06:14 Friday, 25 November 1988
  13.  
  14.         >Type DTStamp.COM   or  Type AnyH&M.COM for a message...
  15.  
  16.         DateHack.COM calls TimeHack.COM using the EXEC DOS function
  17.         whenever it has been used to SET a date as displayed on its
  18.         information lines.  It can set the DOS DATE between Monday,
  19.         December 31, 1979 and Friday, January 1, 2100.
  20.  
  21.         Any valid time from 00:00 (midnight) to 23:59 (military) can
  22.         be displayed and/or set by TimeHack.  With NO user action it
  23.         will BEEP and exit on the displayed minute.  TimeHack allows
  24.         the user to decrease the displayed minutes below the current
  25.         time without triggering an exit; however, advancing through
  26.         the current computer time UPward will trigger the HACK.  Any
  27.         displayed time will be SET and the program will exit if the
  28.         <ENTER> key is pressed or you can QUIT with the ESCape key.
  29.  
  30.         If you do not have a real-time clock in your computer I hope
  31.         you get one soon.  In the meantime, the ????Hack combination
  32.         may be easier to use in your autoexec.bat file than the DOS
  33.         Date and Time commands.
  34.  
  35.         Elapsed Time is provided by the ET.COM program.  It uses the
  36.         Inter-application Communication Area in lower DOS memory to
  37.         store the STARTing time.  As recommended by Peter Norton the
  38.         first 4 bytes of the ICA from 0040:00F0 through 40:00F3 have
  39.         the ETHM program signature and are used when calculating the
  40.         elapsed time from the START time in the next 4 bytes of this
  41.         16 byte area.  If the ICA is being used when ET is called to
  42.         start, it will abort unless you demand it to over-write what
  43.         is presently using the ICA with command parameter HM.  Using
  44.         prompt> ET HM will always RESTART ET.  The NORTON UTILITY TM
  45.         program may be interfered with when using its counter 3 or 4
  46.         since his programmers did not bother to include a signature.
  47.         In addition the NORTON TM program is over 10 times as big as
  48.         ET.COM because they apparently wrote it in C language.
  49.  
  50.         DateTime.ARC has two EXE programs.  DBD.EXE reports the number
  51.         of days between any two Gregorian Calendar dates.  FTD.EXE is
  52.         for modifying File Time and/or Date stamps.
  53.  
  54.         The assembly language source code for these programs is to help
  55.         anyone seek greater computer knowledge or better understanding
  56.         of programming.  DOS Date/Time functions AH=2Ah through AH=2Dh
  57.         are used by the programs.  DateHack.ASM provides some insight
  58.         into the little used EXECute (AH=4Bh) and (AH=4Ah) DOS INT 21h
  59.         memory modification function.  Indirect pointer addressing, as
  60.         used in ET.COM may interest you.  FTD.EXE (FileTimeDate) stamp
  61.         uses the (AH=57h) Bit-Mapped Date and Time stamp function.  The
  62.         DBD.EXE (DaysBetweenDates) program extends the DOS ValiDate.
  63.  
  64.                                  Tom Gilbert's Heart&Mind (913) 299-2701
  65.                                  7127 Lafayette, Kansas City, KS 66109
  66.  
  67.