Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>int 1ah, 0ah (10) read system-timer day counter some xts</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 1Ah,  0Ah (10)       Read System-Timer Day Counter               some XTs

    Returns the number of days since January 1, 1980 from the System
    Timer.

       On entry:      AH         0Ah

       Returns:       CF         Set if error; else cleared
                      CX         Number of days since January 1, 1980

  --------------------------------------------------------------------------

       Notes:         The system timer is the timer set when the system is
                      started. This date is temporary, lasting only as
                      long as the system is turned on.

                      This service is available only for XTs dated 1/10/86
                      and later. ATs and XT-286s will set the Carry Flag,
                      thus reporting an error state. Previous machines
                      will report unpredictable results (including the
                      state of the Carry Flag).

See Also: INT 1Ah, 04h INT 1Ah, 0Bh

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson