Ci-dessous, les différences entre deux révisions de la page.
back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_3d [2024/01/14 19:35] – créée frater | back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_3d [2024/01/14 20:37] (Version actuelle) – [open mode] frater | ||
---|---|---|---|
Ligne 6: | Ligne 6: | ||
^ reg ^ value ^ descr ^ | ^ reg ^ value ^ descr ^ | ||
| AH | | AH | ||
- | | AL | + | | AL |
| DS:DX | | DS:DX | ||
+ | |||
+ | ==== open mode ==== | ||
+ | |||
+ | {{tablelayout? | ||
+ | ^ Bit ^ Descr ^ | ||
+ | | 0-2 | Access Mode (see below) | ||
+ | | 3 | reserved, always 0 | | ||
+ | | 4-6 | sharing mode (DOS 3.1+) | | ||
+ | | 7 | 1 : private, 0: inheritable (DOS 3.1+) | | ||
+ | |||
+ | === Access Mode === | ||
+ | |||
+ | {{tablelayout? | ||
+ | ^ bits ^ Descr ^ | ||
+ | | 000 | Read | | ||
+ | | 001 | Write | | ||
+ | | 010 | Read & Write | | ||
+ | === sharing mode === | ||
+ | |||
+ | {{tablelayout? | ||
+ | ^ bits ^ descr. | ||
+ | | 000 | compatibility mode (exclusive) | ||
+ | | 001 | Deny others read/write access | ||
+ | | 010 | deny others write access | ||
+ | | 011 | deny others read access | ||
+ | | 100 | full access permitted to all | | ||
+ | |||
===== Return: ===== | ===== Return: ===== |