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