1 ; SCCSID = @(#)syscall.asm 1.1 85/04/10
2 ;BREAK <system call definitions>
3 SUBTTL system call definitions
7 Std_Con_Input EQU 1 ; 1 1
8 Std_Con_Output EQU 2 ; 2 2
9 Std_Aux_Input EQU 3 ; 3 3
10 Std_Aux_Output EQU 4 ; 4 4
11 Std_Printer_Output EQU 5 ; 5 5
12 Raw_Con_IO EQU 6 ; 6 6
13 Raw_Con_Input EQU 7 ; 7 7
14 Std_Con_Input_No_Echo EQU 8 ; 8 8
15 Std_Con_String_Output EQU 9 ; 9 9
16 Std_Con_String_Input EQU 10 ; 10 A
17 Std_Con_Input_Status EQU 11 ; 11 B
18 Std_Con_Input_Flush EQU 12 ; 12 C
19 Disk_Reset EQU 13 ; 13 D
20 Set_Default_Drive EQU 14 ; 14 E
21 FCB_Open EQU 15 ; 15 F
22 FCB_Close EQU 16 ; 16 10
23 Dir_Search_First EQU 17 ; 17 11
24 Dir_Search_Next EQU 18 ; 18 12
25 FCB_Delete EQU 19 ; 19 13
26 FCB_Seq_Read EQU 20 ; 20 14
27 FCB_Seq_Write EQU 21 ; 21 15
28 FCB_Create EQU 22 ; 22 16
29 FCB_Rename EQU 23 ; 23 17
30 Get_Default_Drive EQU 25 ; 25 19
31 Set_DMA EQU 26 ; 26 1A
32 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
33 ; C A V E A T P R O G R A M M E R ;
35 Get_Default_DPB EQU 31 ; 31 1F
37 ; C A V E A T P R O G R A M M E R ;
38 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
39 FCB_Random_Read EQU 33 ; 33 21
40 FCB_Random_Write EQU 34 ; 34 22
41 Get_FCB_File_Length EQU 35 ; 35 23
42 Get_FCB_Position EQU 36 ; 36 24
43 Set_Interrupt_Vector EQU 37 ; 37 25
44 Create_Process_Data_Block EQU 38 ; 38 26
45 FCB_Random_Read_Block EQU 39 ; 39 27
46 FCB_Random_Write_Block EQU 40 ; 40 28
47 Parse_File_Descriptor EQU 41 ; 41 29
48 Get_Date EQU 42 ; 42 2A
49 Set_Date EQU 43 ; 43 2B
50 Get_Time EQU 44 ; 44 2C
51 Set_Time EQU 45 ; 45 2D
52 Set_Verify_On_Write EQU 46 ; 46 2E
53 ; Extended functionality group
54 Get_DMA EQU 47 ; 47 2F
55 Get_Version EQU 48 ; 48 30
56 Keep_Process EQU 49 ; 49 31
57 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
58 ; C A V E A T P R O G R A M M E R ;
60 Get_DPB EQU 50 ; 50 32
62 ; C A V E A T P R O G R A M M E R ;
63 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
64 Set_CTRL_C_Trapping EQU 51 ; 51 33
65 Get_InDOS_Flag EQU 52 ; 52 34
66 Get_Interrupt_Vector EQU 53 ; 53 35
67 Get_Drive_Freespace EQU 54 ; 54 36
68 Char_Oper EQU 55 ; 55 37
69 International EQU 56 ; 56 38
86 Current_Dir EQU 71 ; 71 47
89 Dealloc EQU 73 ; 73 49
90 Setblock EQU 74 ; 74 4A
94 WaitProcess EQU 77 ; 77 4D
95 Find_First EQU 78 ; 78 4E
97 Find_Next EQU 79 ; 79 4F
98 ; SPECIAL SYSTEM GROUP
99 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
100 ; C A V E A T P R O G R A M M E R ;
102 Set_Current_PDB EQU 80 ; 80 50
103 Get_Current_PDB EQU 81 ; 81 51
104 Get_In_Vars EQU 82 ; 82 52
105 SetDPB EQU 83 ; 83 53
107 ; C A V E A T P R O G R A M M E R ;
108 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
109 Get_Verify_On_Write EQU 84 ; 84 54
110 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
111 ; C A V E A T P R O G R A M M E R ;
113 Dup_PDB EQU 85 ; 85 55
115 ; C A V E A T P R O G R A M M E R ;
116 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
117 Rename EQU 86 ; 86 56
118 File_Times EQU 87 ; 87 57
119 AllocOper EQU 88 ; 88 58
120 ; Network extention system calls
121 GetExtendedError EQU 89 ; 89 59
122 CreateTempFile EQU 90 ; 90 5A
123 CreateNewFile EQU 91 ; 91 5B
124 LockOper EQU 92 ; 92 5C Lock and Unlock
125 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
126 ; C A V E A T P R O G R A M M E R ;
128 ServerCall EQU 93 ; 93 5D CommitAll, ServerDOSCall,
129 ; CloseByName, CloseUser,
133 ; C A V E A T P R O G R A M M E R ;
134 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
135 UserOper EQU 94 ; 94 5E Get and Set
136 AssignOper EQU 95 ; 95 5F On, Off, Get, Set, Cancel
137 xNameTrans EQU 96 ; 96 60
138 PathParse EQU 97 ; 97 61
139 GetCurrentPSP EQU 98 ; 98 62
140 Hongeul EQU 99 ; 99 63
141 ECS_CALL EQU 99 ; 99 63 ;; DBCS support
142 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
143 ; C A V E A T P R O G R A M M E R ;
145 Set_Printer_Flag EQU 100 ; 100 64
147 ; C A V E A T P R O G R A M M E R ;
148 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
149 GetExtCntry EQU 101 ; 101 65
150 GetSetCdPg EQU 102 ; 102 66
151 ExtHandle EQU 103 ; 103 67
152 Commit EQU 104 ; 104 68
153 GetSetMediaID EQU 105 ; 105 69
154 IFS_IOCTL EQU 107 ; 107 6B
155 ExtOpen EQU 108 ; 108 6C
158 Set_Oem_Handler EQU 248 ; 248 F8
159 OEM_C1 EQU 249 ; 249 F9
160 OEM_C2 EQU 250 ; 250 FA
161 OEM_C3 EQU 251 ; 251 FB
162 OEM_C4 EQU 252 ; 252 FC
163 OEM_C5 EQU 253 ; 253 FD
164 OEM_C6 EQU 254 ; 254 FE
165 OEM_C7 EQU 255 ; 255 FF