Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:docs:dos:api:int21:2b [2020/12/09 03:32] – created prokushev | en:docs:dos:api:int21:2b [2024/05/11 06:19] (current) – prokushev | ||
---|---|---|---|
Line 16: | Line 16: | ||
===== Input ===== | ===== Input ===== | ||
- | | + | * AH = 2Bh |
- | CX = year (1980-2099) | + | |
- | DH = month (1-12) | + | |
- | DL = day (1-31) | + | |
===== Return ===== | ===== Return ===== | ||
- | AL = status | + | * AL = status |
- | 00h successful | + | |
- | FFh invalid date, system date unchanged | + | |
===== Notes ===== | ===== Notes ===== | ||
- | | + | 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) |
- | | + | |
- | | + | |
- | | + | |
===== See also ===== | ===== See also ===== | ||
- | AH=2Ah, | + | AH=[[en: |
===== Note ===== | ===== Note ===== |