en:docs:mvm:api

SVC API

Supervisor calls API aimed to call host services from MVM.

Ordinal Description
0
1 Terminate 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 int21h AH=0eh)
7 Set DTA from DS:DX
8
9
10 Set system date (params and result same as in int21h AH=2Bh)
11 Set system time (params and result same as in int21h AH=2Dh)
12 Get system date (result same as in int21h AH=2Ah)
13 Get system time (result same as in int21h AH=2Ch)
14
15
16 Delete directory (params and result same as in int21h AH=3ah)
17
18 Get current directory (params and result same as in int21h AH=47h)
19 Change directory (params and result same as in int21h AH=3bh)
20
21
22
23
24
25
26
27
28
29 Delete file using FCB DS:DX → unopened FCB ES → environment segment
30
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 int21h 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