en:docs:dos:api:int21:2b

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:docs:dos:api:int21:2b [2020/12/09 03:32] – created prokusheven:docs:dos:api:int21:2b [2024/05/11 06:19] (current) prokushev
Line 16: Line 16:
 ===== Input ===== ===== Input =====
  
-        AH = 2Bh +  * AH = 2Bh 
-        CX = year (1980-2099) +  CX = year (1980-2099) 
-        DH = month (1-12) +  DH = month (1-12) 
-        DL = day (1-31)+  DL = day (1-31)
  
 ===== Return ===== ===== Return =====
  
- AL = status +  * AL = status 
-            00h successful +    00h successful 
-            FFh invalid date, system date unchanged+    FFh invalid date, system date unchanged
  
 ===== Notes ===== ===== Notes =====
  
-  DOS 3.3+ also sets CMOS clock; due to the limitations of the CLOCK$ +DOS 3.3+ also sets CMOS clock; due to the limitations of the CLOCK$ driver interface, the CMOS time is also updated to the current DOS time (which is the BIOS time-of-day clock with the default CLOCK$ driver)
-          driver interface, the CMOS time is also updated to the current +
-          DOS time (which is the BIOS time-of-day clock with the default +
-          CLOCK$ driver) +
  
 ===== See also ===== ===== See also =====
  
- AH=2Ah,AH=2Dh,INT 1A/AH=05h+AH=[[en:docs:dos:api:int21:2a|2Ah]],AH=[[en:docs:dos:api:int21:2d|2Dh]],INT 1A/AH=05h
  
 ===== Note ===== ===== Note =====