en:docs:dos:api:int21:2d

Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

2018/09/07 05:04 · prokushev · 0 Comments

Int 21H, AH=2DH

Version

1 and higher

Brief

SET SYSTEM TIME

Family API

Input

      AH = 2Dh
      CH = hour
      CL = minute
      DH = second
      DL = 1/100 seconds

Return

Return: AL = result

          00h successful
          FFh invalid time, system time unchanged

Notes

 DOS 3.3+ also sets CMOS clock; due to the limitations of the CLOCK$
        driver interface, the CMOS date is also updated to the current
        DOS date

See also

AH=2Bh“DOS”,AH=2Ch,INT 1A/AH=01h,INT 1A/AH=03h,INT 1A/AH=FFh“AT&T”

Note

2018/09/04 17:23 · prokushev · 0 Comments