]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/INC/MULT.INC

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / INC / MULT.INC
1 ; SCCSID = @(#)mult.asm 1.2 85/04/12
2 Break <Critical section and Multiplex channels>
3
4 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
5 ; C A V E A T P R O G R A M M E R ;
6 ; ;
7 ; Critical section definitions
8 ;
9 ; These below are subject to leave-all sections
10 critDisk EQU 1 ; Disk I/O critical section
11 critDevice EQU 2 ; Device I/O critical section
12 critShare EQU 1 ; Sharer I/O critical section
13 critMem EQU 1 ; memory maintenance critical section
14 critNet EQU 5 ; network critical section
15 critSFT EQU 1 ; sft table allocation
16 critIFS EQU 6 ; ifsfunc critical section
17 ; These below are not subject to leave-all sections
18 critASSIGN EQU 8 ; Assign has munged a system call
19 ; ;
20 ; C A V E A T P R O G R A M M E R ;
21 ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
22
23 ;
24 ; The current set of defined multiplex channels is (* means documented):
25 ;
26 ; Channel(h) Issuer Receiver Function
27 ; 00 server PSPRINT print job control
28 ; *01 print/apps PRINT Queueing of files
29 ; 02 BIOS REDIR signal open/close of printers
30 ;
31 ; 05 command REDIR obtain text of net int 24 message
32 ; *06 server/assign ASSIGN Install check
33 ;
34 ; 08 external driver IBMBIO interface to internal routines
35 ;
36 ; 10 sharer/server Sharer install check
37 ; 11 DOS/server Redir install check/redirection funcs
38 ; 12 sharer/redir DOS dos functions and structure maint
39 ; 13 MSNET MSNET movement of NCBs
40 ; 13 external driver IBMBIO Reset_Int_13, allows installation
41 ; of alternative INT_13 drivers after
42 ; boot_up
43 ; 14 (IBM) DOS NLSFUNC down load NLS country info,DOS 3.3
44 ; 14 (MS) APPS POPUP MSDOS 4 popup screen functions
45 ; 15 APPS MSCDEX CD-ROM extensions interface
46 ; 16 WIN386 WIN386 Windows communications
47 ; 17 Clipboard WINDOWS Clipboard interface
48 ; *18 Applications MS-Manger Toggle interface to manager
49 ; 19 Shell
50 ; 1A Ansi.sys
51 ; 1B Fastopen,Vdisk IBMBIO EMS INT 67H stub handler
52 ;
53 ; AC Graphics
54 ; AD NLS (toronto)
55 ; AE
56 ; AF Mode
57 ; B0 GRAFTABL GRAFTABL
58 ;
59
60
61 ;MUX 00-3F reserverd for IBM
62 ;MUX 80-BF reserverd for IBM
63 ;MUX 40-7F reserved for Microsoft
64 ;MUX C0-FF users
65
66
67
68 MultSHARE EQU 10h ; sharer
69 ; 1 MFT_enter
70 ; 2 MFTClose
71 ; 3 MFTclU
72 ; 4 MFTCloseP
73 ; 5 MFTCloN
74 ; 6 set_block
75 ; 7 clr_block
76 ; 8 chk_block
77 ; 9 MFT_get
78 ; 10 ShSave
79 ; 11 ShChk
80 ; 12 ShCol
81 ; 13 ShCloseFile
82
83 MultNET EQU 11h ; Network support
84 MultIFS EQU 11h ; Network support
85 ; 1 IFS_RMDIR
86 ; 2 IFS_SEQ_RMDIR
87 ; 3 IFS_MKDIR
88 ; 4 IFS_SEQ_MKDIR
89 ; 5 IFS_CHDIR
90 ; 6 IFS_CLOSE
91 ; 7 IFS_COMMIT
92 ; 8 IFS_READ
93 ; 9 IFS_WRITE
94 ; 10 IFS_LOCK
95 ; 11 IFS_UNLOCK
96 ; 12 IFS_DISK_INFO
97 ; 13 IFS_SET_FILE_ATTRIBUTE
98 ; 14 IFS_SEQ_SET_FILE_ATTRIBUTE
99 ; 15 IFS_GET_FILE_INFO
100 ; 16 IFS_SEQ_GET_FILE_INFO
101 ; 17 IFS_RENAME
102 ; 18 IFS_SEQ_RENAME
103 ; 19 IFS_DELETE
104 ; 20 IFS_SEQ_DELETE
105 ; 21 IFS_OPEN
106 ; 22 IFS_SEQ_OPEN
107 ; 23 IFS_CREATE
108 ; 24 IFS_SEQ_CREATE
109 ; 25 IFS_SEQ_SEARCH_FIRST
110 ; 26 IFS_SEQ_SEARCH_NEXT
111 ; 27 IFS_SEARCH_FIRST
112 ; 28 IFS_SEARCH_NEXT
113 ; 29 IFS_ABORT
114 ; 30 IFS_ASSOPER
115 ; 31 Printer_SET_STRING
116 ; 32 IFSFlushBuf
117 ; 33 IFSBufWrite
118 ; 34 IFSResetEnvironment
119 ; 35 IFSSpoolCheck
120 ; 36 IFSSpoolClose
121
122 MultDOS EQU 12h ; DOS call back
123 ; 1 DOS_CLOSE
124 ; 2 RECSET
125 ; 3 Get DOSGROUP
126 ; 4 PATHCHRCMP
127 ; 5 OUT
128 ; 6 NET_I24_ENTRY
129 ; 7 PLACEBUF
130 ; 8 FREE_SFT
131 ; 9 BUFWRITE
132 ; 10 SHARE_VIOLATION
133 ; 11 SHARE_ERROR
134 ; 12 SET_SFT_MODE
135 ; 13 DATE16
136 ; 14 SETVISIT
137 ; 15 SCANPLACE
138 ; 16 SKIPVISIT
139 ; 17 StrCpy
140 ; 18 StrLen
141 ; 19 Ucase
142 ; 20 POINTCOMP
143 ; 21 CHECKFLUSH
144 ; 22 SFFromSFN
145 ; 23 GetCDSFromDrv
146 ; 24 Get_User_Stack
147 ; 25 GetThisDrv
148 ; 26 DriveFromText
149 ; 27 SETYEAR
150 ; 28 DSUM
151 ; 29 DSLIDE
152 ; 30 StrCmp
153 ; 31 initcds
154 ; 32 pjfnfromhandle
155 ; 33 $NameTrans
156 ; 34 CAL_LK
157 ; 35 DEVNAME
158 ; 36 Idle
159 ; 37 DStrLen
160 ; 38 NLS_OPEN DOS 3.3
161 ; 39 $CLOSE DOS 3.3
162 ; 40 NLS_LSEEK DOS 3.3
163 ; 41 $READ DOS 3.3
164 ; 42 FastInit DOS 4.0
165 ; 43 NLS_IOCTL DOS 3.3
166 ; 44 GetDevList DOS 3.3
167 ; 45 NLS_GETEXT DOS 3.3
168 ; 46 MSG_RETRIEVAL DOS 4.0
169 ; 47 FAKE_VERSION DOS 4.0
170 ;
171 NLSFUNC EQU 14h ; NLSFUNC CALL , DOS 3.3
172 ; 0 NLSInstall
173 ; 1 ChgCodePage
174 ; 2 GetExtInfo
175 ; 3 SetCodePage
176 ; 4 GetCntry
177 ;
178 ;FASTOPEN is not chained through INT 2F ; DOS 3.3 F.C.
179 ; it calls Multdos 42 to set up an entry routine address
180 ; 0 Install status (reserved)
181 ; 1 Lookup
182 ; 2 Insert
183 ; 3 Delete
184 ; 4 Purge (reserved)