summaryrefslogtreecommitdiff
path: root/v4.0/src/INC/SYSCALL.INC
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/INC/SYSCALL.INC')
-rw-r--r--v4.0/src/INC/SYSCALL.INC166
1 files changed, 166 insertions, 0 deletions
diff --git a/v4.0/src/INC/SYSCALL.INC b/v4.0/src/INC/SYSCALL.INC
new file mode 100644
index 0000000..f5b10e9
--- /dev/null
+++ b/v4.0/src/INC/SYSCALL.INC
@@ -0,0 +1,166 @@
1; SCCSID = @(#)syscall.asm 1.1 85/04/10
2;BREAK <system call definitions>
3SUBTTL system call definitions
4PAGE
5
6Abort EQU 0 ; 0 0
7Std_Con_Input EQU 1 ; 1 1
8Std_Con_Output EQU 2 ; 2 2
9Std_Aux_Input EQU 3 ; 3 3
10Std_Aux_Output EQU 4 ; 4 4
11Std_Printer_Output EQU 5 ; 5 5
12Raw_Con_IO EQU 6 ; 6 6
13Raw_Con_Input EQU 7 ; 7 7
14Std_Con_Input_No_Echo EQU 8 ; 8 8
15Std_Con_String_Output EQU 9 ; 9 9
16Std_Con_String_Input EQU 10 ; 10 A
17Std_Con_Input_Status EQU 11 ; 11 B
18Std_Con_Input_Flush EQU 12 ; 12 C
19Disk_Reset EQU 13 ; 13 D
20Set_Default_Drive EQU 14 ; 14 E
21FCB_Open EQU 15 ; 15 F
22FCB_Close EQU 16 ; 16 10
23Dir_Search_First EQU 17 ; 17 11
24Dir_Search_Next EQU 18 ; 18 12
25FCB_Delete EQU 19 ; 19 13
26FCB_Seq_Read EQU 20 ; 20 14
27FCB_Seq_Write EQU 21 ; 21 15
28FCB_Create EQU 22 ; 22 16
29FCB_Rename EQU 23 ; 23 17
30Get_Default_Drive EQU 25 ; 25 19
31Set_DMA EQU 26 ; 26 1A
32;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
33; C A V E A T P R O G R A M M E R ;
34; ;
35Get_Default_DPB EQU 31 ; 31 1F
36; ;
37; C A V E A T P R O G R A M M E R ;
38;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
39FCB_Random_Read EQU 33 ; 33 21
40FCB_Random_Write EQU 34 ; 34 22
41Get_FCB_File_Length EQU 35 ; 35 23
42Get_FCB_Position EQU 36 ; 36 24
43Set_Interrupt_Vector EQU 37 ; 37 25
44Create_Process_Data_Block EQU 38 ; 38 26
45FCB_Random_Read_Block EQU 39 ; 39 27
46FCB_Random_Write_Block EQU 40 ; 40 28
47Parse_File_Descriptor EQU 41 ; 41 29
48Get_Date EQU 42 ; 42 2A
49Set_Date EQU 43 ; 43 2B
50Get_Time EQU 44 ; 44 2C
51Set_Time EQU 45 ; 45 2D
52Set_Verify_On_Write EQU 46 ; 46 2E
53; Extended functionality group
54Get_DMA EQU 47 ; 47 2F
55Get_Version EQU 48 ; 48 30
56Keep_Process EQU 49 ; 49 31
57;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
58; C A V E A T P R O G R A M M E R ;
59; ;
60Get_DPB EQU 50 ; 50 32
61; ;
62; C A V E A T P R O G R A M M E R ;
63;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
64Set_CTRL_C_Trapping EQU 51 ; 51 33
65Get_InDOS_Flag EQU 52 ; 52 34
66Get_Interrupt_Vector EQU 53 ; 53 35
67Get_Drive_Freespace EQU 54 ; 54 36
68Char_Oper EQU 55 ; 55 37
69International EQU 56 ; 56 38
70; Directory Group
71MKDir EQU 57 ; 57 39
72RMDir EQU 58 ; 58 3A
73CHDir EQU 59 ; 59 3B
74; File Group
75Creat EQU 60 ; 60 3C
76Open EQU 61 ; 61 3D
77Close EQU 62 ; 62 3E
78Read EQU 63 ; 63 3F
79Write EQU 64 ; 64 40
80Unlink EQU 65 ; 65 41
81LSeek EQU 66 ; 66 42
82CHMod EQU 67 ; 67 43
83IOCtl EQU 68 ; 68 44
84XDup EQU 69 ; 69 45
85XDup2 EQU 70 ; 70 46
86Current_Dir EQU 71 ; 71 47
87; Memory Group
88Alloc EQU 72 ; 72 48
89Dealloc EQU 73 ; 73 49
90Setblock EQU 74 ; 74 4A
91; Process Group
92Exec EQU 75 ; 75 4B
93Exit EQU 76 ; 76 4C
94WaitProcess EQU 77 ; 77 4D
95Find_First EQU 78 ; 78 4E
96; Special Group
97Find_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 ;
101; ;
102Set_Current_PDB EQU 80 ; 80 50
103Get_Current_PDB EQU 81 ; 81 51
104Get_In_Vars EQU 82 ; 82 52
105SetDPB EQU 83 ; 83 53
106; ;
107; C A V E A T P R O G R A M M E R ;
108;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
109Get_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 ;
112; ;
113Dup_PDB EQU 85 ; 85 55
114; ;
115; C A V E A T P R O G R A M M E R ;
116;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
117Rename EQU 86 ; 86 56
118File_Times EQU 87 ; 87 57
119AllocOper EQU 88 ; 88 58
120; Network extention system calls
121GetExtendedError EQU 89 ; 89 59
122CreateTempFile EQU 90 ; 90 5A
123CreateNewFile EQU 91 ; 91 5B
124LockOper 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 ;
127; ;
128ServerCall EQU 93 ; 93 5D CommitAll, ServerDOSCall,
129 ; CloseByName, CloseUser,
130 ; CloseUserProcess,
131 ; GetOpenFileList
132; ;
133; C A V E A T P R O G R A M M E R ;
134;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
135UserOper EQU 94 ; 94 5E Get and Set
136AssignOper EQU 95 ; 95 5F On, Off, Get, Set, Cancel
137xNameTrans EQU 96 ; 96 60
138PathParse EQU 97 ; 97 61
139GetCurrentPSP EQU 98 ; 98 62
140Hongeul EQU 99 ; 99 63
141ECS_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 ;
144; ;
145Set_Printer_Flag EQU 100 ; 100 64
146; ;
147; C A V E A T P R O G R A M M E R ;
148;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
149GetExtCntry EQU 101 ; 101 65
150GetSetCdPg EQU 102 ; 102 66
151ExtHandle EQU 103 ; 103 67
152Commit EQU 104 ; 104 68
153GetSetMediaID EQU 105 ; 105 69
154IFS_IOCTL EQU 107 ; 107 6B
155ExtOpen EQU 108 ; 108 6C
156;
157;
158Set_Oem_Handler EQU 248 ; 248 F8
159OEM_C1 EQU 249 ; 249 F9
160OEM_C2 EQU 250 ; 250 FA
161OEM_C3 EQU 251 ; 251 FB
162OEM_C4 EQU 252 ; 252 FC
163OEM_C5 EQU 253 ; 253 FD
164OEM_C6 EQU 254 ; 254 FE
165OEM_C7 EQU 255 ; 255 FF
166 \ No newline at end of file