INT 21 - CED - INSTALLABLE COMMANDS
Input |
DOS1 |
N |
DOS2 |
Y |
DOS3 |
Y |
DOS5 |
Y |
Output |
AX |
FFh |
00h |
Error
Code |
AX |
BX |
|
Mode |
|
|
BX |
CX |
|
|
|
|
CX |
DS:SI |
CR
terminated command name |
|
|
DX |
ES:DI |
FAR
Routine Entry Point |
Set
if Error |
CF |
Add installable command
Mode |
Bit |
Dec |
Hex |
Description |
0 |
1 |
01h |
Callable from DOS
prompt |
1 |
2 |
02h |
Callable from
Application |
2 |
4 |
04h |
Reserved |
3 |
8 |
08h |
Reserved |
4 |
16 |
10h |
Reserved |
5 |
32 |
20h |
Reserved |
6 |
64 |
40h |
Reserved |
7 |
128 |
80h |
Reserved |
Error Codes:
0001h Invalid function
0002h Command not found (subfunction 1 only)
0008h Insufficient memory (subfunction 0 only)
000Eh Bad data (subfunction 0 only)
FF??h CED not installed
Input |
DOS1 |
N |
DOS2 |
Y |
DOS3 |
Y |
DOS5 |
Y |
Output |
AX |
FFh |
01h |
|
|
AX |
BX |
|
|
|
|
BX |
CX |
|
|
|
|
CX |
DX |
|
|
|
|
DX |
DS:SI |
CR
terminated command name |
|
CF |
Remove installable command |