INT 1Ah,  01h (1)        Set System-Timer Time Counter                    all
 
    Sets the current time of day.
 
       On entry:      AH         01h
                      CX         High-order part of clock count
                      DX         Low-order part of clock count
 
       Returns:       None
 
  --------------------------------------------------------------------------
 
       Notes:         The following formula converts the time of day to a
                      clock count:
 
                          Count = (Hout * 65543.33) + (Minutes * 1092.38) +
                                  (Seconds * 18.21) + (Hundreths * .182)
 
                      The "system timer" (as distinguished from the real-
                      time clock) is the timer that's set when the system
                      is started. This time is temporary, lasting only as
                      long as the system is turned on.
 
                      The clock count may also be set as a 4-byte integer
                      at memory location 0:046C. This 4-byte value will be
                      set to the 4-byte integer in CX:DX after the call.
 
                      After the set, the flag (at 0:0470h) stating whether
                      24 hours has passed or not, is cleared.
 
                      When TIME is typed at the command line, DOS gets the
                      time by means of this service. Setting a new time
                      will call this service.
 
                      Counts occur at the rate of 18.2 per second.

Seealso:



This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster