Ci-dessous, les différences entre deux révisions de la page.
back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_30 [2024/01/19 23:19] – créée frater | back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_30 [2024/01/19 23:23] (Version actuelle) – [Return:] frater | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== INT 0x21 - 0x34 - Get DOS version ====== | + | ====== INT 0x21 - 0x30 - Get DOS version |
- | + | ||
- | <WRAP round info > | + | |
- | INDOS (Undocumented DOS 2.0+) | + | |
- | </ | + | |
===== Request/ | ===== Request/ | ||
Ligne 15: | Ligne 11: | ||
{{tablelayout? | {{tablelayout? | ||
^ reg ^ | ^ reg ^ | ||
- | | | + | | |
+ | | AL | Minor version (in hundredth decimal) | | ||
+ | | BH | 0xFF: indicates MS-DOS, only if OEM vendor chooses to identify\\ 0x00: indicates PC-DOS | ||
+ | | BL:CX | 24bit OEM Serial number | ||
===== Notes & Comments ===== | ===== Notes & Comments ===== | ||
<WRAP round box> | <WRAP round box> | ||
- | * AKA the INDOS flag, this critical section flag may be checked from within | + | * for an example |
- | * though this flag indicates whether a DOS interrupt is active, it should not be used alone to determine | + | * DOS versions prior to DOS 2.0 return zero in AH and AL |
- | * this interrupt should be used only during TSR initialization; | + | * DOS version 4.0 and 4.1 usually return |
- | * this flag is cleared after a critical error ([[back2root: | + | * the OEM serial number |
- | * ES:BX-1 points to the critical error flag for DOS 3.x+ | + | * the OS/2 compatibility box returns 10.10 for OS/2 1.1, 10.20 for OS/2 1.2, etc... |
- | * ES:BX+1 points to the critical error flag for DOS 2.x | + | * when testing |
- | * ES:BX-1AA points to the critical error flag for COMPAQ DOS 3.0 | + | </ |
- | + | ||
- | INT [[back2root: | + | |
[[start|Back]] | [[start|Back]] | ||