Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_4b [2023/01/10 11:55] – ↷ Page déplacée de back2root:ibm-pc-ms-dos:interrupts:int_21_4b à back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_4b frater | back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_4b [2024/08/13 11:17] (Version actuelle) – frater | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== INT 0x21 - 0x4b - DOS 2+ - " | + | ====== INT 0x21 - 0x4b - " |
===== Request/ | ===== Request/ | ||
Ligne 16: | Ligne 16: | ||
^ Offset | ^ Offset | ||
| 0x00 | WORD | segment of environment to copy for child process (copy caller' | | 0x00 | WORD | segment of environment to copy for child process (copy caller' | ||
- | | 0x02 | DWORD | pointer to command tail to be copied into child' | + | | 0x02 | DWORD | pointer to command tail to be copied into child' |
- | | 0x06 | DWORD | pointer to first FCB to be copied into child' | + | | 0x06 | DWORD | pointer to first [[back2root: |
- | | 0x0A | DWORD | pointer to second FCB to be copied into child' | + | | 0x0A | DWORD | pointer to second |
| 0x0E | DWORD | (AL=01h) will hold subprogram' | | 0x0E | DWORD | (AL=01h) will hold subprogram' | ||
| 0x12 | DWORD | (AL=01h) will hold entry point (CS:IP) on return | | 0x12 | DWORD | (AL=01h) will hold entry point (CS:IP) on return | ||
Ligne 32: | Ligne 32: | ||
* BX, DX are destroyed | * BX, DX are destroyed | ||
- | * if sub function 0x01 is called, process ID set to new program' | + | * if sub function 0x01 is called, process ID set to new program' |
**CL is set on error** | **CL is set on error** | ||
- | * AX = error code (0x01, 0x02, 0x05, 0x08, 0x0a, 0x0b) see [[back2root: | + | * AX = error code (0x01, 0x02, 0x05, 0x08, 0x0a, 0x0b) see [[back2root: |
Ligne 52: | Ligne 52: | ||
<WRAP round important> | <WRAP round important> | ||
- | BUG: DOS 2.00 assumes that DS points at the current program' | + | BUG: DOS 2.00 assumes that DS points at the current program' |
</ | </ | ||
+ | [[start|Back]] | ||