This is an old revision of the document!
−Table of Contents
SVC API
Supervisor calls API aimed to call host services from MVM.
Functions
Function | Description |
---|---|
0 | |
1 | Terminate MVM with error message (top of stack - far pointer to message ASCIIZ) |
2 | Terminate MVM and return code to parent process from AX |
3 | |
4 | Reset disk buffers |
5 | |
6 | Select default drive (params and result same as in INT 21H AH=0EH) |
7 | Set DTA from DS:DX (params and result same as in INT 21H AH=1AH) |
8 | |
9 | |
10 | Set system date (params and result same as in INT 21H AH=2BH) |
11 | Set system time (params and result same as in INT 21H AH=2DH) |
12 | Get system date (result same as in INT 21H AH=2AH) |
13 | Get system time (result same as in INT 21H AH=2CH) |
14 | |
15 | |
16 | Delete directory (params and result same as in INT 21H AH=3AH) |
17 | |
18 | Get current directory (params and result same as in INT 21H AH=47H) |
19 | Change directory (params and result same as in INT 21H AH=3BH) |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | Delete file using FCB DS:DX → unopened FCB ES → environment segment |
30 | Rename file using FCB (params and result same as in INT 21H AH=17H) |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | |
37 | |
38 | |
39 | |
40 | |
41 | |
42 | |
43 | |
44 | Set VERIFY flag from AL |
45 | |
46 | |
47 | |
48 | |
49 | Parse filename to FCB (params and result same as in INT 21H AH=29H) |
50 | |
51 | |
52 | |
53 | |
54 | |
55 | |
56 | |
57 | |
58 | |
59 | |
60 | |
61 | |
62 | |
63 | |
64 | |
65 | |
66 | |
67 | |
68 | |
69 | |
70 | |
71 | |
72 | |
73 | |
74 | |
75 | |
76 | |
77 | |
78 | |
79 | |
80 | |
81 | |
82 | |
83 | |
84 | |
85 |