Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

239 lines
7.6 KiB

  1. ; SCCSID = @(#)mult.asm 1.2 85/04/12
  2. Break <Multiplex channels>
  3. ; The current set of defined multiplex channels is (* means documented):
  4. ;
  5. ; Channel(h) Issuer Receiver Function
  6. ; 00 server PSPRINT print job control
  7. ; *01 print/apps PRINT Queueing of files
  8. ; 02 BIOS REDIR signal open/close of printers
  9. ;
  10. ; 05 command REDIR obtain text of net int 24 message
  11. ; *06 server/assign ASSIGN Install check
  12. ;
  13. ; 08 external driver IBMBIO interface to internal routines
  14. ;
  15. ; 10 sharer/server Sharer install check
  16. ; 11 DOS/server Redir install check/redirection funcs
  17. ; 12 sharer/redir DOS dos functions and structure maint
  18. ; 13 MSNET MSNET movement of NCBs
  19. ; 13 external driver IBMBIO Reset_Int_13, allows installation
  20. ; of alternative INT_13 drivers after
  21. ; boot_up
  22. ; 14 (IBM) DOS NLSFUNC down load NLS country info,DOS 3.3
  23. ; 14 (MS) APPS POPUP MSDOS 4 popup screen functions
  24. ; 15 APPS MSCDEX CD-ROM extensions interface
  25. ; 16 WIN386 WIN386 Windows communications
  26. ; 17 Clipboard WINDOWS Clipboard interface
  27. ; *18 Applications MS-Manger Toggle interface to manager
  28. ; 19 Shell
  29. ; 1A Ansi.sys
  30. ; 1B Fastopen,Vdisk IBMBIO EMS INT 67H stub handler
  31. ;
  32. ; 40h OS/2
  33. ; 41h Lanman
  34. ; 42h Lanman
  35. ; 43h Himem
  36. ; AL = 20h reserved for Mach 20 Himem support
  37. ; AL = 30h reserved for Himem external A20 code
  38. ; 44h Dosextender
  39. ; 45H Windows profiler
  40. ; 46h Windows/286 DOS extender
  41. ; 47h Basic Compiler Vn. 7.0
  42. ; 48h Doskey
  43. ; 49h DOS 5.x install
  44. ; 4ah Multi Purpose
  45. ; multMULTSWPDSK 0 - Swap Disk in drive A (BIOS)
  46. ; multMULTGETHMAPTR 1 - Get available HMA & ptr
  47. ; multMULTALLOCHMA 2 - Allocate HMA (bx == no of bytes)
  48. ; multMULTTASKSHELL 5 - Shell/switcher API
  49. ; multMULTRPLTOM 6 - Top Of Memory for RPL support
  50. ; 4bh Task Switcher API
  51. ;
  52. ; 4ch APPS APM Advanced power management
  53. ; 4dh Kana Kanji Converter, MSKK
  54. ;
  55. ; 55h COMMAND.COM
  56. ; multCOMFIRST 0 - API to determine whether 1st
  57. ; instance of command.com
  58. ; AB Unspecified IBM use
  59. ; AC Graphics
  60. ; AD NLS (toronto)
  61. ; AE
  62. ; AF Mode
  63. ; B0 GRAFTABL GRAFTABL
  64. ;
  65. ; D7 Banyan VINES
  66. ;MUX 00-3F reserverd for IBM
  67. ;MUX 80-BF reserverd for IBM
  68. ;MUX 40-7F reserved for Microsoft
  69. ;MUX C0-FF users
  70. MultSHARE EQU 10h ; sharer
  71. ; 1 MFT_enter
  72. ; 2 MFTClose
  73. ; 3 MFTclU
  74. ; 4 MFTCloseP
  75. ; 5 MFTCloN
  76. ; 6 set_block
  77. ; 7 clr_block
  78. ; 8 chk_block
  79. ; 9 MFT_get
  80. ; 10 ShSave
  81. ; 11 ShChk
  82. ; 12 ShCol
  83. ; 13 ShCloseFile
  84. MultNET EQU 11h ; Network support
  85. MultIFS EQU 11h ; Network support
  86. ; 1 IFS_RMDIR
  87. ; 2 IFS_SEQ_RMDIR
  88. ; 3 IFS_MKDIR
  89. ; 4 IFS_SEQ_MKDIR
  90. ; 5 IFS_CHDIR
  91. ; 6 IFS_CLOSE
  92. ; 7 IFS_COMMIT
  93. ; 8 IFS_READ
  94. ; 9 IFS_WRITE
  95. ; 10 IFS_LOCK
  96. ; 11 IFS_UNLOCK
  97. ; 12 IFS_DISK_INFO
  98. ; 13 IFS_SET_FILE_ATTRIBUTE
  99. ; 14 IFS_SEQ_SET_FILE_ATTRIBUTE
  100. ; 15 IFS_GET_FILE_INFO
  101. ; 16 IFS_SEQ_GET_FILE_INFO
  102. ; 17 IFS_RENAME
  103. ; 18 IFS_SEQ_RENAME
  104. ; 19 IFS_DELETE
  105. ; 20 IFS_SEQ_DELETE
  106. ; 21 IFS_OPEN
  107. ; 22 IFS_SEQ_OPEN
  108. ; 23 IFS_CREATE
  109. ; 24 IFS_SEQ_CREATE
  110. ; 25 IFS_SEQ_SEARCH_FIRST
  111. ; 26 IFS_SEQ_SEARCH_NEXT
  112. ; 27 IFS_SEARCH_FIRST
  113. ; 28 IFS_SEARCH_NEXT
  114. ; 29 IFS_ABORT
  115. ; 30 IFS_ASSOPER
  116. ; 31 Printer_SET_STRING
  117. ; 32 IFSFlushBuf
  118. ; 33 IFSBufWrite
  119. ; 34 IFSResetEnvironment
  120. ; 35 IFSSpoolCheck
  121. ; 36 IFSSpoolClose
  122. ; 37 IFSDeviceOper
  123. ; 38 IFSSpoolEchoCheck
  124. ; 39 - - - Unused - - -
  125. ; 40 - - - Unused - - -
  126. ; 41 - - - Unused - - -
  127. ; 42 SERVER_DOSCALL_CLOSEFILES_FOR_UID
  128. ; 43 DEVICE_IOCTL
  129. ; 44 IFS_UPDATE_CB
  130. ; 45 IFS_FILE_XATTRIBUTES
  131. ; 46 IFS_XOPEN
  132. ; 47 IFS_DEPENDENT_IOCTL
  133. MultDOS EQU 12h ; DOS call back
  134. ; 1 DOS_CLOSE
  135. ; 2 RECSET
  136. ; 3 Get DOSGROUP
  137. ; 4 PATHCHRCMP
  138. ; 5 OUT
  139. ; 6 NET_I24_ENTRY
  140. ; 7 PLACEBUF
  141. ; 8 FREE_SFT
  142. ; 9 BUFWRITE
  143. ; 10 SHARE_VIOLATION
  144. ; 11 SHARE_ERROR
  145. ; 12 SET_SFT_MODE
  146. ; 13 DATE16
  147. ; 14 Unused (was SETVISIT)
  148. ; 15 SCANPLACE
  149. ; 16 Unused (was SKIPVISIT)
  150. ; 17 StrCpy
  151. ; 18 StrLen
  152. ; 19 Ucase
  153. ; 20 POINTCOMP
  154. ; 21 CHECKFLUSH
  155. ; 22 SFFromSFN
  156. ; 23 GetCDSFromDrv
  157. ; 24 Get_User_Stack
  158. ; 25 GetThisDrv
  159. ; 26 DriveFromText
  160. ; 27 SETYEAR
  161. ; 28 DSUM
  162. ; 29 DSLIDE
  163. ; 30 StrCmp
  164. ; 31 initcds
  165. ; 32 pjfnfromhandle
  166. ; 33 $NameTrans
  167. ; 34 CAL_LK
  168. ; 35 DEVNAME
  169. ; 36 Idle
  170. ; 37 DStrLen
  171. ; 38 NLS_OPEN DOS 3.3
  172. ; 39 $CLOSE DOS 3.3
  173. ; 40 NLS_LSEEK DOS 3.3
  174. ; 41 $READ DOS 3.3
  175. ; 42 FastInit DOS 4.0
  176. ; 43 NLS_IOCTL DOS 3.3
  177. ; 44 GetDevList DOS 3.3
  178. ; 45 NLS_GETEXT DOS 3.3
  179. ; 46 MSG_RETRIEVAL DOS 4.0
  180. ; 47 FAKE_VERSION DOS 4.0
  181. ;
  182. NLSFUNC EQU 14h ; NLSFUNC CALL , DOS 3.3
  183. ; 0 NLSInstall
  184. ; 1 ChgCodePage
  185. ; 2 GetExtInfo
  186. ; 3 SetCodePage
  187. ; 4 GetCntry
  188. ;
  189. multANSI EQU 1Ah ; ANSI multiplex number
  190. ; 0 INSTALL_CHECK ; install check for ANSI
  191. ; 1 IOCTL_2F ; 2F interface to IOCTL
  192. ; 2 DA_INFO_2F ; J.K. Information passing to ANSI.
  193. multMULT EQU 4ah
  194. multMULTRPLTOM EQU 06h
  195. ; 0 swap disk function for single floppy drive m/cs
  196. ; BIOS broadcasts with cx==0, and apps who handle
  197. ; swap disk messaging set cx == -1. BIOS sets dl == requested
  198. ; drive
  199. ;
  200. ; 1 Get available HMA & pointer to it. Returns in BX & ES:DI
  201. ; 2 Allocate HMA. BX == number of bytes in HMA to be allocated
  202. ; returns pointer in ES:DI
  203. ;
  204. ; 3-4 currently used by nobody
  205. ; 5 Switcher API
  206. ; 6 Top of Memory for RPL.
  207. ; BIOS issues INT 2f AX=4a06 & DX = Top of Mem and any RPL
  208. ; code present in TOM should respond with a new TOM in DX
  209. ; to protect itself from MSLOAD & SYSINIT tromping over it.
  210. ; SYSINIT builds an arena with owner type 8 & name 'RPL' to
  211. ; protect the RPL code from COMMAND.COM transient protion.
  212. ; It is the responsibility of RPL program to release the mem.
  213. ; 7 Reserved for PROTMAN support.
  214. MultAPM EQU 4ch
  215. ; 00h APM_VER_CHK
  216. ; 01h APM_SUS_SYS_REQ
  217. ; FFh APM_SUS_RES_BATT_NOTIFY
  218. ;FASTOPEN is not chained through INT 2F ; DOS 3.3 F.C.
  219. ; it calls Multdos 42 to set up an entry routine address
  220. ; 0 Install status (reserved)
  221. ; 1 Lookup
  222. ; 2 Insert
  223. ; 3 Delete
  224. ; 4 Purge (reserved)
  225.