Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>function 2ch (44) get system time</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 2Ch (44)        Get System Time

    Reports the current system time of day.

       On entry:      AH         2Ch

       Returns:       CH         Hour (0 - 23)
                      CL         Minutes (0 - 59)
                      DH         Seconds (0 - 59)
                      DL         Hundredths of a second (0 - 99)

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

    Function 2Ch reports the time of day as calculated from the ROM-BIOS
    clock-tick count.

       Notes:         This Function has a complementary register format to
                      that of Function 2Dh, Set System Time.

                      On most systems, the hundreths field will only be
                      accurate to within 1/18.2 seconds rather than 1/100
                      seconds.

                      In some systems in which the real-time clock does
                      not track hundredths of a second, the value in DL
                      may be unpredictable.

See Also: 2Ah 2Bh 2Dh

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