home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / INTER32B.ZIP / INTERRUP.E < prev    next >
Encoding:
Text File  |  1992-09-13  |  230.9 KB  |  6,403 lines

  1. Interrupt List, part 5 of 8
  2. This compilation is Copyright (c) 1989,1990,1991,1992 Ralf Brown
  3. ----------2F---------------------------------
  4. INT 2F - Multiplex - NOTES
  5.     AH = identifier of program which is to handle the interrupt
  6.        00h-7Fh reserved for DOS
  7.        B8h-BFh reserved for networks
  8.        C0h-FFh reserved for applications
  9.     AL is the function code
  10.    This is a general mechanism for verifying the presence of a TSR and 
  11.    communicating with it.  When searching for a free identifier code for AH
  12.    using the installation check (AL=00h), the calling program should set
  13.    BX/CX/DX to 0000h and must not depend on any registers other than CS:IP
  14.    and SS:SP to be valid on return, since numerous programs now use additional
  15.    registers on input and/or output for the installation check.
  16. Note:    Since the multiplex chain is growing so long, and beginning to
  17.       experience multiplex number collisions, I am proposing an alternate
  18.       multiplex interrupt on INT 2D.  If you decide to use the alternate
  19.       multiplex, please let me know.
  20. SeeAlso: INT 2D
  21. ----------2F---------------------------------
  22. INT 2F - BMB Compuscience Canada Utilities Interface
  23.     AH = xx (dynamically assigned based upon a search for a multiplex
  24.          number which doesn't answer installed)
  25.     AL = 00h installation check
  26.     ES:DI = EBEBh:BEBEh
  27. Return: AL = 00h not installed
  28.          01h not installed, not OK to install
  29.          FFh installed; if ES:DI was EBEBh:BEBEh on entry, ES:DI will point
  30.          to a string of the form 'MMMMPPPPPPPPvNNNN' where MMMM is a
  31.          short form of the manufacturer's name, PPPPPPPP is a product
  32.          name and NNNN is the product's version number
  33. ----------2F---------------------------------
  34. INT 2F - Ross Wentworth's Turbo Pascal POPUP LIBRARY
  35.     AH = programmer-selected multiplex number
  36.     AL = function
  37.         00h installation check
  38.         Return: AL = FFh if installed
  39.         01h get TSR interrupt vectors
  40.         Return: DX:AX -> vector table (see below)
  41.         02h get TSR code segment
  42.         Return: AX = code segment for all interrupt handlers
  43.         03h call user exit routine and release TSR's memory
  44.         04h get signature string
  45.         Return: DX:AX -> counted string containing signature
  46.         05h get TSR's INT 2F handler
  47.         Return: DX:AX -> INT 2F handler
  48.         06h enable/disable TSR
  49.         BL = new state (00h disabled, 01h enabled)
  50.         07h activate TSR (popup if not disabled)
  51.         08h get hotkeys
  52.         BL = which hotkey (00h = hotkey 1, 01h = hotkey 2)
  53.         Return: AX = hotkey (AH = keyflags, AL = scancode)
  54.         09h set hotkey
  55.         BL = which hotkey (00h = hotkey 1, 01h = hotkey 2)
  56.         CX = new hotkey (CH = keyflags, CL = scancode)
  57.         0Ah-1Fh reserved
  58.  
  59. Format of vector table entry:
  60. Offset    Size    Description
  61.  00h    BYTE    vector number (00h = end of table)
  62.  01h    DWORD    original vector
  63.  05h    WORD    offset of interrupt handler in TSR's code segment
  64. ----------2F---------------------------------
  65. INT 2F - CiriSOFT Spanish University of Valladolid TSR's Interface
  66.     AH = xx (dynamically assigned based upon a search for a multiplex
  67.          number from C0h to FFh which doesn't answer installed)
  68.     AL = 00h installation check
  69.     ES:DI = 1492h:1992h
  70. Return: AL = 00h not installed
  71.          01h not installed, not OK to install
  72.          FFh installed; and if ES:DI was 1492h:1992h on entry, ES:DI will
  73.          point to author_name_ver table (see below)
  74.     AH = FFh
  75. Note:    this interface permits advanced communication with TSRs: it is possible
  76.       to make a generic unistall utility, advanced TSR relocator programs
  77.       in order to fit fragmented memory areas, etc.
  78. See also: INT 2D"AMIS",INT 2F"Compuscience"
  79.  
  80. Format of author_name_ver table:
  81. Offset    Size    Description
  82.  -16    WORD    segment in which really begins the TSR code (CS in programs
  83.         with PSP, XMS upper memory segment if installed as UMB...)
  84.  -14    WORD    offset in which really begins the TSR code (frecuently 100h
  85.         in *.COM programs and 0 in upper memory TSR's).
  86.  -12    WORD    memory used by TSR (in paragraphs). Knowing the memory area
  87.         used by TSR is possible to determine if hooked vectors are
  88.         still pointing it (and if it is safe the unistall process).
  89.  -10    BYTE    characteristics byte
  90.         bits 0-2: 000 normal program (with PSP)
  91.               001 upper XMS memory block (needed HIMEM.SYS function
  92.                   to free memory when unistalling)
  93.               010 device driver (*.SYS)
  94.               011 device driver in EXE format
  95.               1xx others (reserved)
  96.         bits 3-6 reserved
  97.         bit 7 set if extra_table defined and supported
  98.  -9    BYTE    number of multiplex entry used (redefinition available). Note
  99.         that the TSR must be use THIS variable in it's INT 2Fh handler.
  100.  -8    WORD    offset to vector_area table (see bellow)
  101.  -6    WORD    offset to extra_area table (see bit 7 in offset -10 and bellow)
  102.  -4   4 BYTEs    "*##*"    (to insure that the TSR verify this agreement)
  103.  00h    var    "AUTHOR:PROGRAM_NAME:VERSION",0     (variable length, this area
  104.         is used in order to determine if the TSR is already resident
  105.         and it's version code; the ':' char is used as delimiter)
  106.  
  107. Format of vector_area table:
  108. Offset    Size    Description
  109.  -1    BYTE    number of vectors intercepted by TSR
  110.  00h    BYTE    first vector number
  111.  01h    DWORD    first vector pointer before installing the TSR
  112.  05h    BYTE    second vector number
  113.  06h    DWORD    second vector pointer before installing the TSR
  114.   .      .    (and so on) Note that the TSR must be use THIS variables to
  115.         invoke previous interrupt handler routines.
  116.  
  117. Format of extra_area table (needed only to improve relocation feature):
  118. Offset    Size    Description
  119.  00h    WORD    offset to external_ctrl table (0 if not supported)
  120.  02h    WORD    reserved for future use (0)
  121.  
  122. Format of external_ctrl table:
  123. Offset    Size    Description
  124.  00h    BYTE    bit 0: TSR is relocatable (no absolute segment references)
  125.  01h    WORD    offset to a variable which can activate/inhibit the TSR
  126.  ---And if bit 0 in offset 00h is off:
  127.  03h    DWORD    pointer to ASCIIZ with pathname to executable file which
  128.         supports /SR parameter (silent installation & inhibit)
  129.  07h    DWORD    pointer to first variable to initialize on the copy reloaded
  130.         from the previous TSR still resident
  131.  0Bh    DWORD    pointer to last variable (all variables packed in one block)
  132. ----------2F00-------------------------------
  133. INT 2F U - DOS 2.x PRINT.COM - ???
  134.     AH = 00h
  135.     ???
  136. Return: ???
  137. Notes:    DOS 2.x PRINT.COM does not chain to previous INT 2F handler
  138.     values in AH other than 00h or 01h cause PRINT to return the number of
  139.       files in the queue in AH
  140. SeeAlso: AH=01h
  141. ----------2F0080-----------------------------
  142. INT 2F - DOS 3.1+ PRINT.COM - GIVE PRINT A TIME SLICE
  143.     AX = 0080h
  144. Return: after PRINT executes
  145. ----------2F01-------------------------------
  146. INT 2F U - DOS 2.x PRINT.COM - ???
  147.     AH = 01h
  148.     ???
  149. Return: ???
  150. Notes:    DOS 2.x PRINT.COM does not chain to previous INT 2F handler
  151.     values in AH other than 00h or 01h cause PRINT to return the number of
  152.       files in the queue in AH
  153. SeeAlso: AH=00h
  154. ----------2F0100-----------------------------
  155. INT 2F - DOS 3+ PRINT.COM - INSTALLATION CHECK
  156.     AX = 0100h
  157. Return: AL = status
  158.         00h not installed
  159.         01h not installed, but not OK to install
  160.         FFh installed
  161. SeeAlso: AX=0101h
  162. ----------2F0101-----------------------------
  163. INT 2F - DOS 3+ PRINT.COM - SUBMIT FILE FOR PRINTING
  164.     AX = 0101h
  165.     DS:DX -> submit packet (see below)
  166. Return: CF clear if successful
  167.         AL = 01h added to queue
  168.          9Eh now printing
  169.     CF set on error
  170.         AX = error code (see also INT 21/AH=59h)
  171.         01h invalid function
  172.         02h file not found
  173.         03h path not found
  174.         04h out of file handles
  175.         05h access denied
  176.         08h print queue full
  177.         09h spooler busy
  178.         0Ch name too long
  179.         0Fh invalid drive
  180. SeeAlso: AX=0102h
  181.  
  182. Format of submit packet:
  183. Offset    Size    Description
  184.  00h    BYTE    level (must be 00h)
  185.  01h    DWORD    pointer to ASCIZ filename (no wildcards)
  186. ----------2F0102-----------------------------
  187. INT 2F - DOS 3+ PRINT.COM - REMOVE FILE FROM PRINT QUEUE
  188.     AX = 0102h
  189.     DS:DX -> ASCIZ filename (wildcards allowed)
  190. Return: CF clear if successful
  191.     CF set on error
  192.         AX = error code (see AX=0101h)
  193. SeeAlso: AX=0101h,AX=0103h
  194. ----------2F0103-----------------------------
  195. INT 2F - DOS 3+ PRINT.COM - CANCEL ALL FILES IN PRINT QUEUE
  196.     AX = 0103h
  197. Return: CF clear if successful
  198.     CF set on error
  199.         AX = error code (see AX=0101h)
  200. SeeAlso: AX=0102h
  201. ----------2F0104-----------------------------
  202. INT 2F - DOS 3+ PRINT.COM - FREEZE PRINT QUEUE TO READ JOB STATUS
  203.     AX = 0104h
  204. Return: CF clear if successful
  205.         DX = error count
  206.         DS:SI -> print queue
  207.     CF set on error
  208.         AX = error code (see AX=0101h)
  209. Notes:    the print queue is an array of 64-byte ASCIZ filenames terminated by
  210.       an empty filename; the first name is the file currently being printed
  211.     printing is stopped until AX=0105h is called to prevent the queue
  212.       from changing while the filenames are being read
  213. SeeAlso: AX=0101h,AX=0105h
  214. ----------2F0105-----------------------------
  215. INT 2F - DOS 3+ PRINT.COM - RESTART PRINT QUEUE AFTER STATUS READ
  216.     AX = 0105h
  217. Return: CF clear if successful
  218.     CF set on error
  219.         AX = error code (see AX=0101h)
  220. SeeAlso: AX=0104h
  221. ----------2F0106-----------------------------
  222. INT 2F - DOS 3.3+ PRINT.COM - GET PRINTER DEVICE
  223.     AX = 0106h
  224. Return: CF set if files in print queue
  225.         AX = error code 0008h (queue full)
  226.         DS:SI -> device driver header
  227.     CF clear if print queue empty
  228.         AX = 0000h
  229. Note:    documented for DOS 5+, but not documented for prior versions
  230. SeeAlso: AX=0104h
  231. ----------2F0200-----------------------------
  232. INT 2F U - PC LAN PROGRAM REDIR/REDIRIFS internal - INSTALLATION CHECK
  233.     AX = 0200h
  234. Return: AL = FFh if installed
  235. ----------2F0201-----------------------------
  236. INT 2F U - PC LAN PROGRAM REDIR/REDIRIFS internal - ???
  237.     AX = 0201h
  238. Return: nothing???
  239. Notes:    called by DOS 3.3+ PRINT.COM
  240.     AX=0202h appears to be the opposite function
  241. SeeAlso: AX=0202h
  242. ----------2F0202-----------------------------
  243. INT 2F U - PC LAN PROGRAM REDIR/REDIRIFS internal - ???
  244.     AX = 0202h
  245.     ???
  246. Return: nothing???
  247. Note:    called by DOS 3.3+ PRINT.COM
  248. SeeAlso: AX=0201h
  249. ----------2F0203-----------------------------
  250. INT 2F U - PC LAN PROGRAM REDIR/REDIRIFS internal - ???
  251.     AX = 0203h
  252. Return: nothing???
  253. Notes:    called by DOS 3.3+ PRINT.COM
  254.     AX=0204h appears to be the opposite function
  255. SeeAlso: AX=0204h
  256. ----------2F0204-----------------------------
  257. INT 2F U - PC LAN PROGRAM REDIR/REDIRIFS internal - ???
  258.     AX = 0204h
  259.     ???
  260. Return: nothing???
  261. Note:    called by DOS 3.3 PRINT.COM
  262. ----------2F---------------------------------
  263. INT 2F U - PC LAN PROGRAM REDIR/REDIRIFS internal - ???
  264.     AX = 02xxh
  265.     ???
  266. Return: ???
  267. ----------2F0500-----------------------------
  268. INT 2F U - DOS 3+ CRITICAL ERROR HANDLER - INSTALLATION CHECK
  269.     AX = 0500h
  270. Return: AL = 00h not installed, OK to install
  271.          01h not installed, can't install
  272.          FFh installed
  273. Note:    this set of functions allows a user program to partially or completely
  274.       override the default critical error handler's message in COMMAND.COM
  275. SeeAlso: AH=05h,INT 24
  276. ----------2F05-------------------------------
  277. INT 2F U - DOS 3+ CRITICAL ERROR HANDLER - EXPAND ERROR INTO STRING
  278.     AH = 05h
  279. ---DOS 3.x---
  280.     AL = extended error code (not zero)
  281. ---DOS 4+ ---
  282.     AL = error type
  283.         01h DOS extended error code
  284.         02h parameter error
  285.     BX = error code
  286. Return: CF clear if successful
  287.         ES:DI -> ASCIZ error message (read-only)
  288.         AL = ???
  289.     CF set if error code can't be converted to string
  290. Notes:    called at start of COMMAND.COM's default critical error handler if 
  291.       installed by a user program, allowing partial or complete overriding
  292.       of the default error message
  293.     subfunction 02h called by many DOS 4 external programs
  294. SeeAlso: AX=122Eh,INT 24
  295. ----------2F0600-----------------------------
  296. INT 2F - DOS 3+ ASSIGN - INSTALLATION CHECK
  297.     AX = 0600h
  298. Return: AL = status
  299.         00h not installed
  300.         01h not installed, but not OK to install
  301.         FFh installed
  302. Notes:    ASSIGN is not a TSR in DR-DOS 5.0; it is internally replaced by SUBST
  303.       (see INT 21/AH=52h)
  304.     undocumented prior to the release of DOS 5.0
  305. SeeAlso: AX=0601h,INT 21/AH=52h
  306. ----------2F0601-----------------------------
  307. INT 2F U - DOS 3+ ASSIGN - GET DRIVE ASSIGNMENT TABLE
  308.     AX = 0601h
  309. Return: ES = segment of ASSIGN work area and assignment table
  310. Note:    under DOS 3+, the 26 bytes starting at ES:0103h specify which drive
  311.       each of A: to Z: is mapped to.  Initially set to 01h 02h 03h....
  312. SeeAlso: AX=0600h
  313. ----------2F0800-----------------------------
  314. INT 2F U - DRIVER.SYS support - INSTALLATION CHECK
  315.     AX = 0800h
  316. Return:    AL = 00h not installed, OK to install
  317.          01h not installed, not OK to install
  318.          FFh installed
  319. Note:    supported by DR-DOS 5.0
  320. ----------2F0801-----------------------------
  321. INT 2F U - DRIVER.SYS support - ADD NEW BLOCK DEVICE
  322.     AX = 0801h
  323.     DS:DI -> drive data table (see AX=0803h)
  324. Notes:    moves down internal list of drive data tables, copying and modifying
  325.       the drive description flags word for tables referencing same physical
  326.       drive
  327.     data table appended to chain of tables
  328.     supported by DR-DOS 5.0
  329. SeeAlso: AX=0803h
  330. ----------2F0802-----------------------------
  331. INT 2F U - DRIVER.SYS support - EXECUTE DEVICE DRIVER REQUEST
  332.     AX = 0802h
  333.     ES:BX -> device driver request header (see below)
  334. Return: request header updated as per requested operation
  335. Notes:    supported by DR-DOS 5.0
  336.     DOS 3.2 executes this function on any AL value from 02h through F7h
  337. SeeAlso: AX=0800h,AX=0801h,AX=0803h,INT 21/AH=52h,INT 21/AH=99h,INT 21/AH=9Ah
  338.  
  339. Values for command code:
  340.     00h INIT
  341.     01h MEDIA CHECK (block devices)
  342.     02h BUILD BPB (block devices)
  343.     03h IOCTL INPUT
  344.     04h INPUT
  345.     05h NONDESTRUCTIVE INPUT, NO WAIT (character devices)
  346.     06h INPUT STATUS (character devices)
  347.     07h INPUT FLUSH (character devices)
  348.     08h OUTPUT
  349.     09h OUTPUT WITH VERIFY
  350.     0Ah OUTPUT STATUS (character devices)
  351.     0Bh OUTPUT FLUSH (character devices)
  352.     0Ch IOCTL OUTPUT
  353.     0Dh (DOS 3+) DEVICE OPEN
  354.     0Eh (DOS 3+) DEVICE CLOSE
  355.     0Fh (DOS 3+) REMOVABLE MEDIA (block devices)
  356.     10h (DOS 3+) OUTPUT UNTIL BUSY (character devices)
  357.     11h (European MSDOS 4.0) STOP OUTPUT (console screen drivers only)
  358.     12h (European MSDOS 4.0) RESTART OUTPUT (console screen drivers only)
  359.     13h (DOS 3.2+) GENERIC IOCTL
  360.     14h unused
  361.     15h (European MSDOS 4.0) RESET UNCERTAIN MEDIA FLAG
  362.     16h unused
  363.     17h (DOS 3.2+) GET LOGICAL DEVICE
  364.     18h (DOS 3.2+) SET LOGICAL DEVICE
  365.     19h (DOS 5.0+) CHECK GENERIC IOCTL SUPPORT
  366.     80h (CD-ROM) READ LONG
  367.     81h (CD-ROM) reserved
  368.     82h (CD-ROM) READ LONG PREFETCH
  369.     83h (CD-ROM) SEEK
  370.     84h (CD-ROM) PLAY AUDIO
  371.     85h (CD-ROM) STOP AUDIO
  372.     86h (CD-ROM) WRITE LONG
  373.     87h (CD-ROM) WRITE LONG VERIFY
  374.     88h (CD-ROM) RESUME AUDIO
  375.  
  376. Format of device driver request header:
  377. Offset    Size    Description
  378.  00h    BYTE    length of request header
  379.  01h    BYTE    subunit within device driver
  380.  02h    BYTE    command code (see above)
  381.  03h    WORD    status (filled in by device driver)
  382.         bit 15: error
  383.         bits 14-11: reserved
  384.         bit 10: ??? set by DOS kernel on entry to some driver calls
  385.         bit 9: busy
  386.         bit 8: done (may be clear on return under European MSDOS 4.0)
  387.         bits 7-0: error code if bit 15 set (see below)
  388. ---DOS---
  389.  05h  4 BYTEs    reserved (unused in DOS 2.x and 3.x)
  390.  09h    DWORD    (European MSDOS 4.0 only) pointer to next request header in
  391.             device's request queue
  392.         (other versions) reserved (unused in DOS 2.x and 3.x)
  393. ---STARLITE architecture---
  394.  05h    DWORD    pointer to next request header
  395.  09h  4 BYTEs    reserved
  396. ---command code 00h---
  397.  0Dh    BYTE    (return) number of units
  398.  0Eh    DWORD    (call) pointer to DOS device helper function (see below)
  399.              (European MSDOS 4.0 only)
  400.         (call) pointer past end of memory available to driver (DOS 5.0)
  401.          (return) address of first free byte following driver
  402.  12h    DWORD    (call) pointer to commandline arguments
  403.          (return) pointer to BPB array (block drivers) or
  404.                 0000h:0000h (character drivers)
  405.  16h    BYTE    (DOS 3+) drive number for first unit of block driver (0=A)
  406.    ---European MSDOS 4.0---
  407.  17h    DWORD    pointer to function to save registers on stack
  408.    ---DOS 5.0---
  409.  17h    WORD    (return) error-message flag
  410.              0001h MSDOS should display error msg on init failure
  411. ---command code 01h---
  412.  0Dh    BYTE    media descriptor
  413.  0Eh    BYTE    returned status
  414.         00h don't know
  415.         01h media has not changed
  416.         FFh media has been changed
  417.  0Fh    DWORD    (return, DOS 3+) pointer to previous volume ID if OPEN/CLOSE/RM
  418.            bit in device header is set and disk changed
  419. ---command code 02h---
  420.  0Dh    BYTE    media descriptor
  421.  0Eh    DWORD    transfer address
  422.         -> scratch sector if NON-IBM FORMAT bit in device header set
  423.         -> first FAT sector otherwise
  424.  12h    DWORD    pointer to BPB (set by driver) (see INT 21/AH=53h)
  425. ---command codes 03h,0Ch--- (see also INT 21/AX=4402h,INT 21/AX=4403h)
  426.  0Dh    BYTE    media descriptor (block devices only)
  427.  0Eh    DWORD    transfer address
  428.  12h    WORD    (call) number of bytes to read/write
  429.          (return) actual number of bytes read or written
  430. ---command codes 04h,08h,09h---
  431.  0Dh    BYTE    media descriptor (block devices only)
  432.  0Eh    DWORD    transfer address
  433.  12h    WORD    byte count (character devices) or sector count (block devices)
  434.  14h    WORD    starting sector number (block devices only)
  435.  16h    DWORD    (DOS 3+) pointer to volume ID if error 0Fh returned
  436.  1Ah    DWORD    (DOS 4+) 32-bit starting sector number (block devices with
  437.         device attribute word bit 1 set only) (see INT 21/AH=52h)
  438. ---command code 05h---
  439.  0Dh    BYTE    byte read from device if BUSY bit clear on return
  440. ---command codes 06h,07h,0Ah,0Bh,0Dh,0Eh,0Fh---
  441.  no further fields
  442. ---command code 10h---
  443.  0Dh    BYTE    unused
  444.  0Eh    DWORD    transfer address
  445.  12h    WORD    (call) number of bytes to write
  446.          (return) actual number of bytes written
  447. ---command codes 11h,12h---
  448.  0Dh    BYTE    reserved
  449. ---command code 15h---
  450.  no further fields
  451. ---command codes 13h,19h---
  452.  0Dh    BYTE    category code
  453.         00h unknown
  454.         01h COMn:
  455.         03h CON
  456.         05h LPTn:
  457.         07h mouse (European MSDOS 4.0)
  458.         08h disk
  459.         9Eh (STARLITE) Media Access Control driver
  460.  0Eh    BYTE    function code
  461.         00h (STARLITE) MAC Bind request
  462.  0Fh    WORD    copy of DS at time of IOCTL call (apparently unused in DOS 3.3)
  463.          SI contents (European MSDOS 4.0)
  464.  11h    WORD    offset of device driver header
  465.          DI contents (European MSDOS 4.0)
  466.  13h    DWORD    pointer to parameter block from INT 21/AX=440Ch or AX=440Dh
  467. ---command codes 80h,82h---
  468.  0Dh    BYTE    addressing mode
  469.         00h HSG (default)
  470.         01h Phillips/Sony Red Book
  471.  0Eh    DWORD    transfer address (ignored for command 82h)
  472.  12h    WORD    number of sectors to read
  473.         (if 0 for command 82h, request is an advisory seek)
  474.  14h    DWORD    starting sector number
  475.         logical sector number in HSG mode
  476.         frame/second/minute/unused in Red Book mode
  477.         (HSG sector = minute * 4500 + second * 75 + frame - 150)
  478.  18h    BYTE    data read mode
  479.         00h cooked (2048 bytes per frame)
  480.         01h raw (2352 bytes per frame, including EDC/ECC)
  481.  19h    BYTE    interleave size (number of sectors stored consecutively)
  482.  1Ah    BYTE    interleave skip factor (# sectors between consec portions)
  483. ---command code 83h---
  484.  0Dh    BYTE    addressing mode (see above)
  485.  0Eh    DWORD    transfer address (ignored)
  486.  12h    WORD    number of sectors to read (ignored)
  487.  14h    DWORD    starting sector number (see also above)
  488. ---command code 84h---
  489.  0Dh    BYTE    addressing mode (see above)
  490.  0Eh    DWORD    starting sector number (see also above)
  491.  12h    DWORD    number of sectors to play
  492. ---command codes 85h,88h---
  493.  no further fields
  494. ---command codes 86h,87h---
  495.  0Dh    BYTE    addressing mode (see above)
  496.  0Eh    DWORD    transfer address (ignored in write mode 0)
  497.  12h    WORD    number of sectors to write
  498.  14h    DWORD    starting sector number (see also above)
  499.  18h    BYTE    write mode
  500.         00h mode 0 (write all zeros)
  501.         01h mode 1 (default) (2048 bytes per sector)
  502.         02h mode 2 form 1 (2048 bytes per sector)
  503.         03h mode 2 form 2 (2336 bytes per sector)
  504.  19h    BYTE    interleave size (number of sectors stored consecutively)
  505.  1Ah    BYTE    interleave skip factor (# sectors between consec portions)
  506.  
  507. Values for error code:
  508.     00h write-protect violation
  509.     01h unknown unit
  510.     02h drive not ready
  511.     03h unknown command
  512.     04h CRC error
  513.     05h bad drive request structure length
  514.     06h seek error
  515.     07h unknown media
  516.     08h sector not found
  517.     09h printer out of paper
  518.     0Ah write fault
  519.     0Bh read fault
  520.     0Ch general failure
  521.     0Dh reserved
  522.     0Eh (CD-ROM) media unavailable
  523.     0Fh invalid disk change
  524.  
  525. Call European MSDOS 4.0 device helper function with:
  526.     DL = function
  527.         00h "SchedClock" called on each timer tick
  528.             AL = tick interval in milliseconds
  529.         01h "DevDone" device I/O complete
  530.         ES:BX -> request header
  531.         Note:    must update status word first; may be called from
  532.               an interrupt handler
  533.         02h "PullRequest" pull next request from queue
  534.             DS:SI -> DWORD pointer to start of device's request queue
  535.         Return: ZF clear if pending request
  536.                 ES:BX -> request header
  537.             ZF set if no more requests
  538.         03h "PullParticular" remove specific request from queue
  539.             DS:SI -> DWORD pointer to start of device's request queue
  540.         ES:BX -> request header
  541.         Return: ZF set if request header not found
  542.         04h "PushRequest" push the request onto the queue
  543.             DS:SI -> DWORD pointer to start of device's request queue
  544.         ES:BX -> request header
  545.         interrupts disabled
  546.         05h "ConsInputFilter" keyboard input check
  547.             AX = character (high byte 00h if PC ASCII character)
  548.         Return: ZF set if character should be discarded
  549.             ZF clear if character should be handled normally
  550.         Note:    called by keyboard interrupt handler so DOS can scan
  551.               for special input characters
  552.         06h "SortRequest" push request in sorted order by starting sector
  553.             DS:SI -> DWORD pointer to start of device's request queue
  554.         ES:BX -> request header
  555.         interrupts disabled
  556.         07h "SigEvent" send signal on keyboard event
  557.             AH = event identifier
  558.         Return: AL,FLAGS destroyed
  559.         09h "ProcBlock" block on event
  560.             AX:BX = event identifier (typically a pointer)
  561.         CX = timeout in ms or 0000h for never
  562.         DH = interruptible flag (nonzero if pause may be interrupted)
  563.         interrupts disabled
  564.         Return:    after corresponding ProcRun call
  565.             CF clear if event wakeup, set if unusual wakeup
  566.             ZF set if timeout wakeup, clear if interrupted
  567.             AL = wakeup code, nonzero if unusual wakeup
  568.             interrupts enabled
  569.             BX,CX,DX destroyed
  570.         Note:    block process and schedules another to run
  571.         0Ah "ProcRun" unblock process
  572.             AX:BX = event identifier (typically a pointer)
  573.         Return:    AX = number of processes awakened
  574.             ZF set if no processes awakened
  575.             BX,CX,DX destroyed
  576.         0Bh "QueueInit" initialize/clear character queue
  577.             DS:BX -> character queue structure (see below)
  578.         Note:    the queue size field must be set before calling
  579.         0Dh "QueueWrite" put a character in the queue
  580.             DS:BX -> character queue (see below)
  581.         AL = character to append to end of queue
  582.         Return: ZF set if queue is full
  583.             ZF clear if character stored
  584.         0Eh "QueueRead" get a character from the queue
  585.             DS:BX -> character queue (see below)
  586.         Return: ZF set if queue is empty
  587.             ZF clear if characters in queue
  588.                 AL = first character in queue
  589.         10h "GetDOSVar" return pointer to DOS variable
  590.             AL = index of variable
  591.             03h current process ID
  592.         BX = index into variable if AL specifies an array
  593.         CX = expected length of variable
  594.         Return: CF clear if successful
  595.                 DX:AX -> variable
  596.             CF set on error
  597.                 AX,DX destroyed
  598.             BX,CX destroyed
  599.         Note:    the variables may not be modified
  600.         14h "Yield" yield CPU if higher-priority task ready to run
  601.             Return: FLAGS destroyed
  602.         1Bh "CritEnter" begin system critical section
  603.             DS:BX -> semaphore (6 BYTEs, initialized to zero)
  604.         Return: AX,BX,CX,DX destroyed
  605.         1Ch "CritLeave" end system critical section
  606.         DS:BX -> semaphore (6 BYTEs, initialized to zero)
  607.         Return: AX,BX,CX,DX destroyed
  608.         Note:    must be called in the context of the process which
  609.               called CritEnter on the semaphore
  610. Note:    the DWORD pointing at the request queue must be allocated by the driver
  611.       and initialized to 0000h:0000h.  It always points at the next request
  612.       to be executed
  613.  
  614. Format of character queue:
  615. Offset    Size    Description
  616.  00h    WORD    size of queue in bytes
  617.  02h    WORD    index of next character out
  618.  04h    WORD    count of characters in the queue
  619.  06h  N BYTEs    queue buffer
  620. ----------2F0803-----------------------------
  621. INT 2F U - DOS 4+ DRIVER.SYS support - GET DRIVE DATA TABLE LIST
  622.     AX = 0803h
  623. Return: DS:DI -> first drive data table in list
  624. Note:    not available under DR-DOS 5.0
  625. SeeAlso: AX=0801h
  626.  
  627. Format of DOS 3.30 drive data table:
  628. Offset    Size    Description
  629.  00h    DWORD    pointer to next table
  630.  04h    BYTE    physical unit number (for INT 13)
  631.  05h    BYTE    logical drive number
  632.  06h 19 BYTEs    BIOS Parameter Block (see also INT 21/AH=53h)
  633.         Offset    Size    Description
  634.          00h    WORD    bytes per sector
  635.          02h    BYTE    sectors per cluster, FFh if unknown
  636.          03h    WORD    number of reserved sectors
  637.          05h    BYTE    number of FATs
  638.          06h    WORD    number of root dir entries
  639.          08h    WORD    total sectors
  640.          0Ah    BYTE    media descriptor, 00h if unknown
  641.          0Bh    WORD    sectors per FAT
  642.          0Dh    WORD    sectors per track
  643.          0Fh    WORD    number of heads
  644.          11h    WORD    number of hidden sectors
  645.  19h    BYTE    flags
  646.         bit 6: 16-bit FAT instead of 12-bit FAT
  647.  1Ah    WORD    number of DEVICE OPEN calls without corresponding DEVICE CLOSE
  648.  1Ch 11 BYTEs    volume label or "NO NAME    " if none (always "NO NAME" for
  649.         fixed media)
  650.  27h    BYTE    terminating null for volume label???
  651.  28h    BYTE    device type (see INT 21/AX=440Dh)
  652.  29h    WORD    bit flags describing drive
  653.         bit 0: fixed media
  654.         bit 1: door lock supported
  655.         bit 2: ??? (used in determining BPB to set for INT 21/AX=440Dh)
  656.         bit 3: all sectors in a track are the same size
  657.         bit 4: physical drive has multiple logical units
  658.         bit 5: current logical drive for physical drive
  659.         bit 6: ???
  660.         bit 7: ???
  661.         bit 8: ??? (related to disk change detection)
  662.  2Bh    WORD    number of cylinders
  663.  2Dh 19 BYTEs    BIOS Parameter Block for highest capacity supported
  664.  40h  3 BYTEs    ???
  665.  43h  9 BYTEs    filesystem type???, default = "NO NAME    "
  666.         (apparently only MSDOS 3.30 fixed media, nulls for removable
  667.         media and PCDOS 3.30)
  668.  4Ch    BYTE    least-significant byte of last-accessed cylinder number
  669. ---removable media---
  670.  4Dh    DWORD    time of last access in clock ticks (FFFFFFFFh if never)
  671. ---fixed media---
  672.  4Dh    WORD    partition (FFFFh = primary, 0001h = extended)
  673.  4Fh    WORD    absolute cylinder number of partition's start on physical
  674.         drive (always FFFFh if primary partition)
  675.  
  676. Format of COMPAQ DOS 3.31 drive data table:
  677. Offset    Size    Description
  678.  00h    DWORD    pointer to next table
  679.  04h    BYTE    physical unit number (for INT 13)
  680.  05h    BYTE    logical drive number
  681.  06h 25 BYTEs    BIOS Parameter Block (see DOS 4.0-5.0 drive data table below)
  682.  1Fh  6 BYTEs    ??? apparently always zeros
  683.  25h    BYTE    flags
  684.         bit 6: 16-bit FAT instead of 12-bit FAT
  685.             5: large volume???
  686.  26h    WORD    device-open count???
  687.  28h 11 BYTEs    volume label or "NO NAME    " if none (always "NO NAME" for
  688.         fixed media)
  689.  33h    BYTE    terminating null for volume label
  690.  34h    BYTE    device type (see INT 21/AX=440Dh)
  691.  35h    WORD    bit flags describing drive
  692.  37h    WORD    number of cylinders
  693.  39h 25 BYTEs    BIOS parameter block for highest capacity drive supports
  694.  52h  6 BYTEs    ??? apparently always zeros
  695.  58h    BYTE    least-significant byte of last-accessed cylinder number
  696. ---removable media---
  697.  59h    DWORD    time of last access in clock ticks (FFFFFFFFh if never)
  698. ---fixed media---
  699.  59h    WORD    partition (FFFFh = primary, 0001h = extended)
  700.  5Bh    WORD    absolute cylinder number of partition's start on physical
  701.         drive (always FFFFh if primary partition)
  702.  
  703. Format of DOS 4.0-5.0 drive data table:
  704. Offset    Size    Description
  705.  00h    DWORD    pointer to next table
  706.  04h    BYTE    physical unit number (for INT 13)
  707.  05h    BYTE    logical drive number
  708.  06h 25 BYTEs    BIOS Parameter Block (see also INT 21/AH=53h)
  709.         Offset    Size    Description
  710.          00h    WORD    bytes per sector
  711.          02h    BYTE    sectors per cluster, FFh if unknown
  712.          03h    WORD    number of reserved sectors
  713.          05h    BYTE    number of FATs
  714.          06h    WORD    number of root dir entries
  715.          08h    WORD    total sectors (see offset 15h if zero)
  716.          0Ah    BYTE    media descriptor, 00h if unknown
  717.          0Bh    WORD    sectors per FAT
  718.          0Dh    WORD    sectors per track
  719.          0Fh    WORD    number of heads
  720.          11h    DWORD    number of hidden sectors
  721.          15h    DWORD    total sectors if WORD at 08h is zero
  722.  1Fh    BYTE    flags
  723.         bit 6: 16-bit FAT instead of 12-bit
  724.  20h  2 BYTEs    ???
  725.  22h    BYTE    device type (see INT 21/AX=440Dh)
  726.  23h    WORD    bit flags describing drive
  727.         bit 0: fixed media
  728.         bit 1: door lock supported
  729.         bit 2: ???
  730.         bit 3: all sectors in a track are the same size
  731.         bit 4: physical drive has multiple logical units
  732.         bit 5: current logical drive for physical drive
  733.         bit 6: ???
  734.         bit 7: ???
  735.         bit 8: ???
  736.  25h    WORD    number of cylinders
  737.  27h 25 BYTEs    BIOS Parameter Block for highest capacity supported
  738.  40h  7 BYTEs    ???
  739. ---removable media---
  740.  47h    DWORD    time of last access in clock ticks (FFFFFFFFh if never)
  741. ---fixed media, DOS 4.x---
  742.  47h    WORD    partition (FFFFh = primary, 0001h = extended)
  743.  49h    WORD    absolute cylinder number of partition's start on phys drive
  744.         (FFFFh if primary partition)
  745. ---fixed media, DOS 5.0---
  746.  47h    WORD    ??? apparently always 0001h
  747.  49h    WORD    absolute cylinder number of partition's start on phys drive
  748. ------
  749.  4Bh 11 BYTEs    volume label or "NO NAME    " if none (apparently taken from
  750.         extended boot record rather than root directory)
  751.  56h    BYTE    terminating null for volume label???
  752.  57h    DWORD    serial number
  753.  5Bh  8 BYTEs    filesystem type ("FAT12      " or "FAT16    ")
  754.  63h    BYTE    terminating null for filesystem type???
  755. ----------2F0C00-----------------------------
  756. INT 2F - AD-DOS - INSTALLATION CHECK
  757.     AX = 0C00h
  758. Return: AL = FF if installed
  759.         BX = 4144H    ('AD')
  760.         CX = 2D44H    ('-D')
  761.         DX = 4F53H    ('OS')
  762. Notes:    AD-DOS is the DOS version of the After Dark screen blanker for
  763.       MS Windows
  764.     AH=0Ch is the default multiplex number (there is one report of a
  765.       version with AH=C0h as default)
  766. SeeAlso: AX=0C01h
  767. ----------2F0C01ES0000-----------------------
  768. INT 2F - AD-DOS - GET RESIDENT CODE SEGMENT
  769.     AX = 0C01h
  770.     ES = 0000h
  771. Return: CF clear succesful
  772.         ES = AD-DOS TSR Code Segment
  773.     CF set if failed
  774. SeeAlso: AX=0C00h
  775. ----------2F0C02-----------------------------
  776. INT 2F - AD-DOS - CHECK FOR NEW INPUT
  777.     AX = 0C02h
  778. Return: BX = status
  779.         0000h no input since last check
  780.         0001h new input available
  781. Note:    this call also resets the new-input flag
  782. ----------2F0C03-----------------------------
  783. INT 2F - AD-DOS - SET MINUTES TO WAIT
  784.     AX = 0C03h
  785.     BX = minutes to wait before blanking screen
  786.     CF set
  787. Return: n/a???
  788. Notes:    AD-DOS is the DOS version of the After Dark screen blanker
  789.     AH=0Ch is the default multiplex number
  790. SeeAlso: AX=0C04h
  791. ----------2F0C04-----------------------------
  792. INT 2F - AD-DOS - GET MINUTES TO WAIT
  793.     AX = 0C04h
  794.     CF set
  795. Return: BX = minutes to wait before blanking screen
  796.     ???
  797. SeeAlso: AX=0C03h
  798. ----------2F0C05-----------------------------
  799. INT 2F - AD-DOS - SET BLANKER STATUS
  800.     AX = 0C05h
  801.     BX = new state (0000h inactive, 0001h active) (default 0001h)
  802.     CF set
  803. Return: n/a???
  804. SeeAlso: AX=0C06h
  805. ----------2F0C06-----------------------------
  806. INT 2F - AD-DOS - GET BLANKER STATUS
  807.     AX = 0C06h
  808.     CF set
  809. Return: BX = current state of screen blanker (0000h inactive, 0001h active)
  810. Note:    AD-DOS is the DOS version of the After Dark screen blanker
  811. SeeAlso: AX=0C05h
  812. ----------2F0C07-----------------------------
  813. INT 2F - AD-DOS - SET HOT KEY
  814.     AX = 0C07h
  815.     BX = hot key
  816.     CL = hot key shift status
  817.     CF set
  818. Return: n/a???
  819. SeeAlso: AX=0C08h
  820. ----------2F0C08-----------------------------
  821. INT 2F - AD-DOS - GET CURRENT HOT KEY
  822.     AX = 0C08h
  823.     CF set
  824. Return: AX = status
  825.         0000h successful
  826.         BX = Hot Key
  827.         CL = Hot Key Shift Status
  828.         0008h otherwise
  829. SeeAlso: AX=0C07h
  830. ----------2F0C09-----------------------------
  831. INT 2F - AD-DOS - ???
  832.     AX = 0C09h
  833.     Carry Set
  834. Return: AX = status
  835.         0000h successful
  836.         ???
  837.         0009h otherwise
  838. Notes:    AD-DOS is the DOS version of the After Dark screen blanker
  839.     AH=0Ch is the default multiplex number
  840. ----------2F0C0A-----------------------------
  841. INT 2F - AD-DOS - ???
  842.     AX = 0C0Ah
  843.     CF set
  844. Return: AX = status
  845.         0000h successful
  846.         BH = ??
  847.         BL = ??
  848.         000Ah failed
  849. ----------2F0C0B-----------------------------
  850. INT 2F - AD-DOS - ???
  851.     AX = 0C0Bh
  852.     CF set
  853. Return: AX = status 
  854.         0000h successful
  855.         000Bh failed
  856. ----------2F0C0C-----------------------------
  857. INT 2F - AD-DOS - SET ??? INTERNAL FLAG TO 01h
  858.     AX = 0C0Ch
  859.     CF set
  860. Return: AX = status
  861.         0000h successful
  862.         000Ch failed
  863. Notes:    AD-DOS is the DOS version of the After Dark screen blanker
  864.     AH=0Ch is the default multiplex number
  865. ----------2F0C0E-----------------------------
  866. INT 2F - AD-DOS - SET PASSWORD STATUS
  867.     AX = 0C0Eh
  868.     BX = new state (0000h disabled, 0001h enabled)
  869. Return: ???
  870. SeeAlso: AX=0C0Fh
  871. ----------2F0C0F-----------------------------
  872. INT 2F - AD-DOS - GET PASSWORD STATUS
  873.     AX = 0C0Fh
  874. Return: BX = current state (0000h disabled, 0001h enabled)
  875. SeeAlso: AX=0C0Eh
  876. ----------2F0C20-----------------------------
  877. INT 2F - AD-DOS - GET AND RESET VxD API STATUS
  878.     AX = 0C20h
  879.     CF set
  880. Return: AX = status
  881.         0000h successful
  882.         BX = VxD API Status
  883.             0000h no error
  884.             0001h error
  885.             0100h neither Windows 3.X enhanced mode nor
  886.                 Windows/386 2.x is running
  887.             0200h VM API entry point found
  888.         0020h otherwise
  889. Note:    this call resets the VxD API Status to zero
  890. SeeAlso: AX=1602h,AX=1607h
  891. ----------2F1000-----------------------------
  892. INT 2F - SHARE - INSTALLATION CHECK
  893.     AX = 1000h
  894. Return: AL = 00h  not installed, OK to install
  895.          01h  not installed, not OK to install
  896.          FFh  installed
  897. BUGS:    values of AL other than 00h put DOS 3.x SHARE into an infinite loop
  898.       (08E9: OR  AL,AL
  899.        08EB: JNZ 08EB) <- the buggy instruction (DOS 3.3)
  900.     values of AL other than described here put PCDOS 4.00 into the same
  901.       loop (the buggy instructions are the same)
  902. Notes:    supported by OS/2 v1.3+ compatibility box, which always returns AL=FFh
  903.     if DOS 4.01 SHARE was automatically loaded, file sharing is in an
  904.       inactive state (due to the undocumented /NC flag used by the autoload
  905.       code) until this call is made
  906.     DOS 5.0 chains to the previous handler if AL <> 00h on entry
  907. SeeAlso: AX=1080h,INT 21/AH=52h
  908. ----------2F1040-----------------------------
  909. INT 2F U - DOS 4 only SHARE internal - ???
  910.     AX = 1040h
  911.     ???
  912. Return: AL = FFh???
  913. SeeAlso: AX=1000h
  914. ----------2F1080-----------------------------
  915. INT 2F U - DOS 4 only SHARE internal - TURN ON FILE SHARING CHECKS
  916.     AX = 1080h
  917. Return: AL = status
  918.         F0h successful
  919.         FFh checking was already on
  920. Note:    DOS 4.x SHARE has dual functions: FCB support for large (>32M) media
  921.       and file sharing checks.  The undocumented commandline flag /NC can
  922.       be used to disable the sharing code.
  923. SeeAlso: AX=1000h,AX=1081h
  924. ----------2F1081-----------------------------
  925. INT 2F U - DOS 4 only SHARE internal - TURN OFF FILE SHARING CHECKS
  926.     AX = 1081h
  927. Return: AL = status
  928.         F0h successful
  929.         FFh checking was already off
  930. Note:    (see AX=1080h)
  931. SeeAlso: AX=1000h,AX=1080h
  932. ----------2F10FF-----------------------------
  933. INT 2F U - Multiplex - DR-DOS 5.0 - ???
  934.     AX = 10FFh
  935.     ES:BX -> ???
  936. Note:    sets pointer in kernel
  937. ----------2F1100-----------------------------
  938. INT 2F - NETWORK REDIRECTOR - INSTALLATION CHECK
  939.     AX = 1100h
  940. Return: AL = 00h  not installed, OK to install
  941.          01h  not installed, not OK to install
  942.          FFh  installed
  943. Notes:    called by DOS 3.1+ kernel
  944.     In DOS 4.x only, the 11xx calls are all in IFSFUNC.EXE, not in the
  945.       PC LAN Program redirector; DOS 5.0 moves the calls back into the
  946.       redirector
  947. ----------2F1100-----------------------------
  948. INT 2F - MSCDEX (MS CD-ROM Extensions) - INSTALLATION CHECK
  949.     AX = 1100h
  950.     STACK: WORD DADAh
  951. Return: AL = 00h not installed, OK to install
  952.         STACK unchanged
  953.        = 01h not installed, not OK to install
  954.         STACK unchanged
  955.        = FFh installed
  956.         STACK: WORD ADADh
  957. ----------2F1101-----------------------------
  958. INT 2F U - NETWORK REDIRECTOR - REMOVE REMOTE DIRECTORY
  959.     AX = 1101h
  960.     SS = DOS DS
  961.     SDA first filename pointer -> fully-qualified directory name
  962.     SDA CDS pointer -> current directory structure for drive with dir
  963. Return: CF set on error
  964.         AX = DOS error code (see INT 21/AH=59h)
  965.     CF clear if successful
  966. Note:    called by DOS 3.1+ kernel
  967. SeeAlso: AX=1103h,AX=1105h,INT 21/AH=3Ah,INT 21/AH=60h
  968. ----------2F1102-----------------------------
  969. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - REMOVE REMOTE DIRECTORY
  970.     AX = 1102h
  971.     SS = DOS DS
  972.     SDA first filename pointer -> fully-qualified directory name
  973.     SDA CDS pointer -> current directory structure for drive with dir
  974. Return: CF set on error
  975.         AX = DOS error code (see INT 21/AH=59h)
  976.     CF clear if successful
  977. Note:    appears to be identical to AX=1101h
  978. SeeAlso: AX=1101h
  979. ----------2F1103-----------------------------
  980. INT 2F U - NETWORK REDIRECTOR - MAKE REMOTE DIRECTORY
  981.     AX = 1103h
  982.     SS = DOS DS
  983.     SDA first filename pointer -> fully-qualified directory name
  984.     SDA CDS pointer -> current directory structure for drive with dir
  985. Return: CF set on error
  986.         AX = DOS error code (see INT 21/AH=59h)
  987.     CF clear if successful
  988. Note:    called by DOS 3.1+ kernel
  989. SeeAlso: AX=1101h,AX=1105h,INT 21/AH=39h,INT 21/AH=60h
  990. ----------2F1104-----------------------------
  991. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - MAKE REMOTE DIRECTORY
  992.     AX = 1104h
  993.     SS = DOS DS
  994.     SDA first filename pointer -> fully-qualified directory name
  995.     SDA CDS pointer -> current directory structure for drive with dir
  996. Return: CF set on error
  997.         AX = DOS error code (see INT 21/AH=59h)
  998.     CF clear if successful
  999. Note:    appears to be identical to AX=1103h
  1000. SeeAlso: AX=1103h
  1001. ----------2F1105-----------------------------
  1002. INT 2F U - NETWORK REDIRECTOR - CHDIR
  1003.     AX = 1105h
  1004.     SS = DOS DS
  1005.     SDA first filename pointer -> fully-qualified directory name
  1006.     SDA CDS pointer -> current directory structure for drive with dir
  1007. Return: CF set on error
  1008.         AX = DOS error code (see INT 21/AH=59h)
  1009.     CF clear if successful
  1010.         CDS updated with new path
  1011. Notes:    called by DOS 3.1+ kernel
  1012.     directory string in CDS should not have a terminating backslash unless
  1013.       the current directory is the root
  1014. SeeAlso: AX=1101h,AX=1103h,INT 21/AH=3Bh,INT 21/AH=60h
  1015. ----------2F1106-----------------------------
  1016. INT 2F U - NETWORK REDIRECTOR - CLOSE REMOTE FILE
  1017.     AX = 1106h
  1018.     ES:DI -> SFT
  1019.         SFT DPB field -> DPB of drive containing file
  1020. Return: CF set on error
  1021.         AX = DOS error code (see INT 21/AH=59h)
  1022.     CF clear if successful
  1023.         SFT updated (redirector must decrement open count, which may be
  1024.                 done with INT 2F/AX=1208h)
  1025. Note:    called by DOS 3.1+ kernel
  1026. SeeAlso: AX=1201h,AX=1208h,AX=1227h,INT 21/AH=3Eh
  1027. ----------2F1107-----------------------------
  1028. INT 2F U - NETWORK REDIRECTOR - COMMIT REMOTE FILE
  1029.     AX = 1107h
  1030.     ES:DI -> SFT
  1031.         SFT DPB field -> DPB of drive containing file
  1032. Return: CF set on error
  1033.         AX = DOS error code (see INT 21/AH=59h)
  1034.     CF clear if successful
  1035.         all buffers for file flushed
  1036.         directory entry updated
  1037. Note:    called by DOS 3.1+ kernel
  1038. SeeAlso: INT 21/AH=68h,INT 21/AX=5D01h
  1039. ----------2F1108-----------------------------
  1040. INT 2F U - NETWORK REDIRECTOR - READ FROM REMOTE FILE
  1041.     AX = 1108h
  1042.     ES:DI -> SFT
  1043.         SFT DPB field -> DPB of drive containing file
  1044.     CX = number of bytes
  1045.     SS = DOS DS
  1046.     SDA DTA field -> user buffer
  1047. Return: CF set on error
  1048.         AX = DOS error code (see INT 21/AH=59h)
  1049.     CF clear if successful
  1050.         CX = number of bytes read (0000h = end of file)
  1051.         SFT updated
  1052. Note:    called by DOS 3.1+ kernel
  1053. SeeAlso: AX=1109h,AX=1229h,INT 21/AH=3Fh,INT 21/AX=5D06h
  1054. ----------2F1109-----------------------------
  1055. INT 2F U - NETWORK REDIRECTOR - WRITE TO REMOTE FILE
  1056.     AX = 1109h
  1057.     ES:DI -> SFT
  1058.         SFT DPB field -> DPB of drive containing file
  1059.     CX = number of bytes
  1060.     SS = DOS DS
  1061.     SDA DTA field -> user buffer
  1062. Return: CF set on error
  1063.         AX = DOS error code (see INT 21/AH=59h)
  1064.     CF clear if successful
  1065.         CX = number of bytes written
  1066.         SFT updated
  1067. Note:    called by DOS 3.1+ kernel
  1068. SeeAlso: AX=1107h,AX=1108h,INT 21/AH=40h,INT 21/AX=5D06h
  1069. ----------2F110A-----------------------------
  1070. INT 2F U - NETWORK REDIRECTOR (DOS 3.x only) - LOCK REGION OF FILE
  1071.     AX = 110Ah
  1072.     BX = file handle
  1073.     CX:DX = starting offset
  1074.     SI = high word of size
  1075.     STACK: WORD low word of size
  1076.     ES:DI -> SFT
  1077.         SFT DPB field -> DPB of drive containing file
  1078.     SS = DOS DS
  1079. Return: CF set on error
  1080.        AL = DOS error code (see INT 21/AH=59h)
  1081.     STACK unchanged
  1082. Notes:    called by DOS 3.10-3.31 kernel
  1083.     the redirector is expected to resolve lock conflicts
  1084. SeeAlso: AX=110Bh,INT 21/AH=5Ch
  1085. ----------2F110A-----------------------------
  1086. INT 2F U - NETWORK REDIRECTOR (DOS 4+) - LOCK/UNLOCK REGION OF FILE
  1087.     AX = 110Ah
  1088.     BL = function
  1089.         00h lock
  1090.         01h unlock
  1091.     DS:DX -> parameter block (see below)
  1092.     ES:DI -> SFT
  1093.         SFT DPB field -> DPB of drive containing file
  1094.     SS = DOS DS
  1095. Return: CF set on error
  1096.        AL = DOS error code (see INT 21/AH=59h)
  1097. Notes:    called by DOS 4.0+ kernel
  1098.     the redirector is expected to resolve lock conflicts
  1099. SeeAlso: AX=110Bh,INT 21/AH=5Ch
  1100.  
  1101. Format of parameter block:
  1102. Offset    Size    Description
  1103.  00h    DWORD    start offset
  1104.  04h    DWORD    size of region
  1105. ----------2F110B-----------------------------
  1106. INT 2F U - NETWORK REDIRECTOR (DOS 3.x only) - UNLOCK REGION OF FILE
  1107.     AX = 110Bh
  1108.     BX = file handle
  1109.     CX:DX = starting offset
  1110.     SI = high word of size
  1111.     STACK: WORD low word of size
  1112.     ES:DI -> SFT for file
  1113.         SFT DPB field -> DPB of drive containing file
  1114. Return: CF set on error
  1115.        AL = DOS error code (see INT 21/AH=59h)
  1116.     STACK unchanged
  1117. Note:    called by DOS 3.1-3.31 kernel; DOS 4.0+ calls AX=110Ah instead
  1118. SeeAlso: AX=110Ah,INT 21/AH=5Ch
  1119. ----------2F110C-----------------------------
  1120. INT 2F U - NETWORK REDIRECTOR - GET DISK SPACE
  1121.     AX = 110Ch
  1122.     ES:DI -> current directory structure for desired drive
  1123. Return: AL = sectors per cluster
  1124.     AH = media ID byte
  1125.     BX = total clusters
  1126.     CX = bytes per sector
  1127.     DX = number of available clusters
  1128. Note:    called by DOS 3.1+ kernel
  1129. SeeAlso: INT 21/AH=36h
  1130. ----------2F110D-----------------------------
  1131. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - ???
  1132.     AX = 110Dh
  1133.     SDA first filename pointer -> name of file
  1134.     ???
  1135. Return: ???
  1136. Note:    appears to be similar to AX=110Fh
  1137. SeeAlso: AX=110Fh
  1138. ----------2F110E-----------------------------
  1139. INT 2F U - NETWORK REDIRECTOR - SET REMOTE FILE'S ATTRIBUTES
  1140.     AX = 110Eh
  1141.     SS = DOS DS
  1142.     SDA first filename pointer -> fully-qualified name of file
  1143.     SDA CDS pointer -> current directory structure for drive with file
  1144.     STACK: WORD new file attributes
  1145. Return: CF set on error
  1146.         AX = DOS error code (see INT 21/AH=59h)
  1147.     CF clear if successful
  1148.     STACK unchanged
  1149. Note:    called by DOS 3.1+ kernel
  1150. SeeAlso: AX=110Fh,INT 21/AX=4301h,INT 21/AH=60h
  1151. ----------2F110F-----------------------------
  1152. INT 2F U - NETWORK REDIRECTOR - GET REMOTE FILE'S ATTRIBUTES AND SIZE
  1153.     AX = 110Fh
  1154.     SS = DOS DS
  1155.     SDA first filename pointer -> fully-qualified name of file
  1156.     SDA CDS pointer -> current directory structure for drive with file
  1157. Return: CF set on error
  1158.         AX = DOS error code (see INT 21/AH=59h)
  1159.     CF clear if successful
  1160.         AX = file attributes
  1161.         BX:DI = file size
  1162. Note:    called by DOS 3.1+ kernel
  1163. SeeAlso: AX=110Eh,INT 21/AX=4300h,INT 21/AH=60h
  1164. ----------2F1110-----------------------------
  1165. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - ???
  1166.     AX = 1110h
  1167.     SDA first filename pointer -> name of file
  1168.     ???
  1169. Return: ???
  1170. Note:    appears to be similar to AX=110Eh
  1171. SeeAlso: AX=110Eh
  1172. ----------2F1111-----------------------------
  1173. INT 2F U - NETWORK REDIRECTOR - RENAME REMOTE FILE
  1174.     AX = 1111h
  1175.     SS = DS = DOS DS
  1176.     SDA first filename pointer = offset of fully-qualified old name
  1177.     SDA second filename pointer = offset of fully-qualified new name
  1178.     SDA CDS pointer -> current directory structure for drive with file
  1179. Return: CF set on error
  1180.         AX = DOS error code (see INT 21/AH=59h)
  1181.     CF clear if successful
  1182. Note:    called by DOS 3.1+ kernel
  1183. SeeAlso: INT 21/AH=56h,INT 21/AH=60h
  1184. ----------2F1112-----------------------------
  1185. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - ???
  1186.     AX = 1112h
  1187.     SS = DS = DOS DS
  1188.     SDA first filename pointer -> name of file
  1189.     ???
  1190. Return: ???
  1191. SeeAlso: AX=1111h
  1192. ----------2F1113-----------------------------
  1193. INT 2F U - NETWORK REDIRECTOR - DELETE REMOTE FILE
  1194.     AX = 1113h
  1195.     SS = DS = DOS DS
  1196.     SDA first filename pointer -> fully-qualified filename in DOS DS
  1197.     SDA CDS pointer -> current directory structure for drive with file
  1198. Return: CF set on error
  1199.         AX = DOS error code (see INT 21/AH=59h)
  1200.     CF clear if successful
  1201. Notes:    called by DOS 3.1+ kernel
  1202.     the filespec may contain wildcards
  1203. SeeAlso: INT 21/AH=41h,INT 21/AH=60h
  1204. ----------2F1114-----------------------------
  1205. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - ???
  1206.     AX = 1114h
  1207.     SDA first filename pointer -> name of file
  1208.     ???
  1209. Return: ???
  1210. SeeAlso: AX=1113h
  1211. ----------2F1115-----------------------------
  1212. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - ???
  1213.     AX = 1115h
  1214.     SS = DOS DS
  1215.     ES:DI -> SFT ???
  1216.     ???
  1217. Return: ???
  1218. SeeAlso: AX=112Eh
  1219. ----------2F1116-----------------------------
  1220. INT 2F U - NETWORK REDIRECTOR - OPEN EXISTING REMOTE FILE
  1221.     AX = 1116h
  1222.     ES:DI -> uninitialized SFT
  1223.     SS = DOS DS
  1224.     SDA first filename pointer -> fully-qualified name of file to open
  1225.     STACK: WORD file open mode (see INT 21/AH=3Dh)
  1226. Return: CF set on error
  1227.         AX = DOS error code (see INT 21/AH=59h)
  1228.     CF clear if successful
  1229.         SFT filled (except handle count, which DOS manages itself)
  1230.     STACK unchanged
  1231. Note:    called by DOS 3.1+ kernel
  1232. SeeAlso: AX=1106h,AX=1117h,AX=1118h,AX=112Eh,INT 21/AH=3Dh,INT 21/AH=60h
  1233. ----------2F1117-----------------------------
  1234. INT 2F U - NETWORK REDIRECTOR - CREATE/TRUNCATE REMOTE FILE
  1235.     AX = 1117h
  1236.     ES:DI -> uninitialized SFT
  1237.     SS = DOS DS
  1238.     SDA first filename pointer -> fully-qualified name of file to open
  1239.     SDA CDS pointer -> current directory structure for drive with file
  1240.     STACK: WORD file creation mode
  1241.             low byte = file attributes
  1242.             high byte = 00h normal create, 01h create new file
  1243. Return: CF set on error
  1244.         AX = DOS error code (see INT 21/AH=59h)
  1245.     CF clear if successful
  1246.         SFT filled (except handle count, which DOS manages itself)
  1247.     STACK unchanged
  1248. Note:    called by DOS 3.1+ kernel
  1249. SeeAlso: AX=1106h,AX=1116h,AX=1118h,AX=112Eh,INT 21/AH=3Ch,INT 21/AH=60h
  1250. ----------2F1118-----------------------------
  1251. INT 2F U - NETWORK REDIRECTOR - CREATE/TRUNCATE FILE WITHOUT CDS
  1252.     AX = 1118h
  1253.     ES:DI -> uninitialized SFT
  1254.     SS = DOS DS
  1255.     SDA first filename pointer -> fully-qualified name of file
  1256.     STACK: WORD file creation mode
  1257.             low byte = file attributes
  1258.             high byte = 00h normal create, 01h create new file
  1259. Return: ???
  1260.     STACK unchanged
  1261. Note:    called by DOS 3.1+ kernel when creating a file on a drive for which the
  1262.       SDA CDS pointer has offset FFFFh
  1263. SeeAlso: AX=1106h,AX=1116h,AX=1117h,AX=112Eh,INT 21/AH=60h
  1264. ----------2F1119-----------------------------
  1265. INT 2F U - NETWORK REDIRECTOR - FIND FIRST FILE WITHOUT CDS
  1266.     AX = 1119h
  1267.     SS = DS = DOS DS
  1268.     [DTA] = uninitialized 21-byte findfirst search data (see INT 21/AH=4Eh)
  1269.     SDA first filename pointer -> fully-qualified search template
  1270.     SDA search attribute = attribute mask for search
  1271. Return: CF set on error
  1272.         AX = DOS error code (see INT 21/AH=59h)
  1273.     CF clear if successful
  1274.         [DTA] = updated findfirst search data
  1275.             (bit 7 of first byte must be set)
  1276.         [DTA+15h] = standard directory entry for file
  1277. Notes:    called by DOS 3.1+ kernel
  1278.     DOS 4.x IFSFUNC returns CF set, AX=0003h    
  1279. ----------2F111A-----------------------------
  1280. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - ???
  1281.     AX = 111Ah
  1282.     ???
  1283. Return: CF set
  1284.         AX = error code (03h for DOS 4.01 IFSFUNC)
  1285. ----------2F111B-----------------------------
  1286. INT 2F U - NETWORK REDIRECTOR - FINDFIRST
  1287.     AX = 111Bh
  1288.     SS = DS = DOS DS
  1289.     [DTA] = uninitialized 21-byte findfirst search data (see INT 21/AH=4Eh)
  1290.     SDA first filename pointer -> fully-qualified search template
  1291.     SDA CDS pointer -> current directory structure for drive with file
  1292.     SDA search attribute = attribute mask for search
  1293. Return: CF set on error
  1294.         AX = DOS error code (see INT 21/AH=59h)
  1295.     CF clear if successful
  1296.         [DTA] = updated findfirst search data
  1297.             (bit 7 of first byte must be set)
  1298.         [DTA+15h] = standard directory entry for file
  1299. Note:    called by DOS 3.1+ kernel
  1300. SeeAlso: AX=111Ch,INT 21/AH=4Eh,INT 21/AH=60h
  1301. ----------2F111C-----------------------------
  1302. INT 2F U - NETWORK REDIRECTOR - FINDNEXT
  1303.     AX = 111Ch
  1304.     SS = DS = DOS DS
  1305.     [DTA] = 21-byte findfirst search data (see INT 21/AH=4Eh)
  1306. Return: CF set on error
  1307.         AX = DOS error code (see INT 21/AH=59h)
  1308.     CF clear if successful
  1309.         [DTA] = updated findfirst search data
  1310.             (bit 7 of first byte must be set)
  1311.         [DTA+15h] = standard directory entry for file
  1312. Note:    called by DOS 3.1+ kernel
  1313. SeeAlso: AX=111Bh,INT 21/AH=4Fh
  1314. ----------2F111D-----------------------------
  1315. INT 2F U - NETWORK REDIRECTOR - CLOSE ALL REMOTE FILES FOR PROCESS
  1316.     AX = 111Dh
  1317.     DS???
  1318.     SS = DOS DS
  1319. Return: ???
  1320. Notes:    called by DOS 3.1+ kernel
  1321.     closes all FCBs opened by process
  1322. SeeAlso: INT 21/AX=5D04h
  1323. ----------2F111E-----------------------------
  1324. INT 2F U - NETWORK REDIRECTOR - DO REDIRECTION
  1325.     AX = 111Eh
  1326.     SS = DOS DS
  1327.     STACK: WORD function to execute
  1328.         5F00h  get redirection mode
  1329.             BL = type (03h printer, 04h disk)
  1330.             Return: BH = state (00h off, 01h on)
  1331.         5F01h  set redirection mode
  1332.             BL = type (03h printer, 04h disk)
  1333.             BH = state (00h off, 01h on)
  1334.         5F02h  get redirection list entry
  1335.             BX = redirection list index
  1336.             DS:SI -> 16-byte local device name buffer
  1337.             ES:DI -> 128-byte network name buffer
  1338.             Return: must set user's BX to device type and CX to
  1339.                 stored parameter value, using AX=1218h to get
  1340.                 stack frame address
  1341.         5F03h  redirect device
  1342.             BL = device type (see INT 21/AX=5F03h)
  1343.             CX = stored parameter value
  1344.             DS:SI -> ASCIZ source device name
  1345.             ES:DI -> destination ASCIZ network path + ASCIZ passwd
  1346.         5F04h  cancel redirection
  1347.             DS:SI -> ASCIZ device name or network path
  1348.         5F05h  get redirection list extended entry
  1349.             BX = redirection list index
  1350.             DS:SI -> buffer for ASCIZ source device name
  1351.             ES:DI -> buffer for destination ASCIZ network path
  1352.             Return: BH = status flag
  1353.                 BL = type (03h printer, 04h disk)
  1354.                 CX = stored parameter value
  1355.                 BP = NETBIOS local session number
  1356.         5F06h  similar to 5F05h???
  1357. Return: CF set on error
  1358.         AX = error code (see INT 21/AH=59h)
  1359.     STACK unchanged
  1360. Note:    called by DOS 3.1+ kernel
  1361. SeeAlso: INT 21/AX=5F00h,INT 21/AX=5F01h,INT 21/AX=5F02h,INT 21/AX=5F03h
  1362. SeeAlso: INT 21/AX=5F04h,INT 21/AX=5F05h,INT 21/AX=5F06h
  1363. ----------2F111F-----------------------------
  1364. INT 2F U - NETWORK REDIRECTOR - PRINTER SETUP
  1365.     AX = 111Fh
  1366.     STACK: WORD function
  1367.         5E02h  set printer setup
  1368.         5E03h  get printer setup
  1369.         5E04h  set printer mode
  1370.         5E05h  get printer mode
  1371. Return: CF set on error
  1372.         AX = error code (see INT 21/AH=59h)
  1373.     STACK unchanged
  1374. Note:    called by DOS 3.1+ kernel
  1375. SeeAlso: INT 21/AX=5E02h,INT 21/AX=5E03h,INT 21/AX=5E04h,INT 21/AX=5E05h
  1376. ----------2F1120-----------------------------
  1377. INT 2F U - NETWORK REDIRECTOR - FLUSH ALL DISK BUFFERS
  1378.     AX = 1120h
  1379.     DS = DOS DS
  1380.     ???
  1381. Return: CF clear (successful)
  1382. Notes:    called by DOS 3.1+ kernel
  1383.     uses CDS array pointer and LASTDRIVE= entries in DOS list of lists
  1384. SeeAlso: INT 21/AH=0Dh,INT 21/AX=5D01h
  1385. ----------2F1121-----------------------------
  1386. INT 2F U - NETWORK REDIRECTOR - SEEK FROM END OF REMOTE FILE
  1387.     AX = 1121h
  1388.     CX:DX = offset (in bytes) from end
  1389.     ES:DI -> SFT
  1390.         SFT DPB field -> DPB of drive with file
  1391.     SS = DOS DS
  1392. Return: CF set on error
  1393.         AL = DOS error code (see INT 21/AH=59h)
  1394.     CF clear if successful
  1395.         DX:AX = new file position
  1396. Note:    called by DOS 3.1+ kernel
  1397. SeeAlso: AX=1228h,INT 21/AH=42h
  1398. ----------2F1122-----------------------------
  1399. INT 2F U - NETWORK REDIRECTOR - PROCESS TERMINATION HOOK
  1400.     AX = 1122h
  1401.     SS = DOS DS
  1402.     ???
  1403. Return: ???
  1404. Note:    called by DOS 3.1+ kernel
  1405. ----------2F1123-----------------------------
  1406. INT 2F U - NETWORK REDIRECTOR - QUALIFY REMOTE FILENAME
  1407.     AX = 1123h
  1408.     DS:SI -> ASCIZ filename to canonicalize
  1409.     ES:DI -> 128-byte buffer for qualified name
  1410. Return: CF set if not resolved
  1411. Notes:    called by MSDOS 3.1+ kernel, but not called by DR-DOS 5.0 unless the
  1412.       filename matches the name of a character device
  1413.     called first when DOS attempts to resolve a filename (unless inside an
  1414.       AX=5D00h server call); if this fails, DOS resolves the name locally
  1415. SeeAlso: AX=1221h,INT 21/AH=60h
  1416. ----------2F1124-----------------------------
  1417. INT 2F U - NETWORK REDIRECTOR - PRINTER OFF???
  1418.     AX = 1124h
  1419.     ES:DI -> SFT
  1420.     SS = DOS DS
  1421.     ???
  1422. Return: CX = ???
  1423. Note:    called by DOS 3.1+ kernel if AX=1126h returns CF set
  1424. SeeAlso: AX=1126h
  1425. ----------2F1125-----------------------------
  1426. INT 2F U - NETWORK REDIRECTOR - REDIRECTED PRINTER MODE
  1427.     AX = 1125h
  1428.     STACK: WORD subfunction
  1429.         5D07h get print stream state
  1430.             Return: DL = current state
  1431.         5D08h set print stream state
  1432.             DL = new state
  1433.         5D09h finish print job
  1434. Return: CF set on error
  1435.         AX = error code (see INT 21/AH=59h)
  1436.     STACK unchanged
  1437. Note:    called by DOS 3.1+ kernel
  1438. SeeAlso: INT 21/AX=5D07h,INT 21/AX=5D08h,INT 21/AX=5D09h
  1439. ----------2F1126-----------------------------
  1440. INT 2F U - NETWORK REDIRECTOR - PRINTER ON/OFF???
  1441.     AX = 1126h
  1442.     ES:DI -> SFT for file handle 4???
  1443.     SS = DOS DS???
  1444.     ???
  1445. Return: CF set on error
  1446. Notes:    called by DOS 3.1+ kernel
  1447.     called when print echoing (^P, ^PrtSc) changes state and STDPRN has
  1448.       bit 11 of the device information word in the SFT set
  1449. SeeAlso: AX=1124h
  1450. ----------2F1127-----------------------------
  1451. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - UNUSED
  1452.     AX = 1127h
  1453. Return: CF set
  1454.         AX = 0001h (invalid function) (see INT 21/AH=59h)
  1455. ----------2F1128-----------------------------
  1456. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - UNUSED
  1457.     AX = 1128h
  1458. Return: CF set
  1459.         AX = 0001h (invalid function) (see INT 21/AH=59h)
  1460. ----------2F1129-----------------------------
  1461. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - UNUSED
  1462.     AX = 1129h
  1463. Return: CF set
  1464.         AX = 0001h (invalid function) (see INT 21/AH=59h)
  1465. ----------2F112A-----------------------------
  1466. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - ???
  1467.     AX = 112Ah
  1468.     DS = DOS DS
  1469.     ???
  1470. Return: ???
  1471. Note:    does something to each IFS driver
  1472. ----------2F112B-----------------------------
  1473. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - GENERIC IOCTL???
  1474.     AX = 112Bh
  1475.     SS = DOS DS
  1476.     CX = function/category
  1477.     DS:DX -> parameter block
  1478.     STACK: WORD value of AX on entry to INT 21 (440Ch or 440Dh)
  1479.     ???
  1480. Return: CF set on error
  1481.         AX = DOS error code (see INT 21/AH=59h)
  1482.     CF clear if successful
  1483. Note:    called by DOS 4.0 kernel
  1484. ----------2F112C-----------------------------
  1485. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - ???
  1486.     AX = 112Ch
  1487.     SS = DOS DS
  1488.     SDA current SFT pointer -> SFT for file
  1489.     ???
  1490. Return: CF set on error
  1491. Note:    called by SHARE in DOS 5.0
  1492. ----------2F112D-----------------------------
  1493. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - ???
  1494.     AX = 112Dh
  1495.     BL = subfunction (value of AL on INT 21)
  1496.         04h truncate open file to zero length
  1497.         ES:DI -> SFT for file
  1498.         Return: CF clear
  1499.         else ???
  1500.         Return: CX = ??? (00h or 02h for DOS 4.01)
  1501.     ES:DI -> SFT
  1502.     SS = DOS DS
  1503. Return: DS = DOS DS
  1504. Note:    called by DOS 4.0 kernel on INT 21/AX=5702h,INT 21/AX=5703h,
  1505.       INT 21/AX=5704h
  1506. ----------2F112E-----------------------------
  1507. INT 2F U - NETWORK REDIRECTOR (DOS 4+) - EXTENDED OPEN/CREATE FILE
  1508.     AX = 112Eh
  1509.     SS = DS = DOS DS
  1510.     ES:DI -> uninitialized SFT for file
  1511.     STACK: WORD file attribute for created/truncated file
  1512.             low byte = file attributes
  1513.             high byte = 00h normal create/open, 01h create new file
  1514.     SDA first filename pointer -> fully-qualified filename
  1515.     SDA extended file open action = action code (see INT 21/AX=6C00h)
  1516.     SDA extended file open mode = open mode for file (see INT 21/AX=6C00h)
  1517. Return: CF set on error
  1518.         AX = error code
  1519.     CF clear if successful
  1520.         CX = result code
  1521.         01h file opened
  1522.         02h file created
  1523.         03h file replaced (truncated)
  1524.         SFT initialized (except handle count, which DOS manages itself)
  1525. Note:    called by DOS 4.0 kernel
  1526. SeeAlso: AX=1115h,AX=1116h,AX=1117h,INT 21/AX=6C00h
  1527. ----------2F112F-----------------------------
  1528. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - ???
  1529.     AX = 112Fh
  1530.     SS = DOS DS
  1531.     STACK: WORD function in low byte
  1532.         00h ???
  1533.             DS:SI -> Current Directory Structure???
  1534.             CL = drive (1=A:)
  1535.         01h ???
  1536.             DS:SI -> ???
  1537.             CL = file handle???
  1538.         02h ???
  1539.             DS:SI -> Current Directory Structure???
  1540.             DI = ???
  1541.             CX = drive (1=A:)
  1542.     ???
  1543. Return: CF set on error
  1544.         AX = DOS error code (see INT 21/AH=59h)
  1545.     CF clear if successful
  1546. Note:    called by DOS 4.0 kernel
  1547. SeeAlso: INT 21/AH=6Bh
  1548. ----------2F1130-----------------------------
  1549. INT 2F U - IFSFUNC.EXE (DOS 4.x only) - GET IFSFUNC SEGMENT
  1550.     AX = 1130h
  1551. Return: ES = CS of resident IFSFUNC
  1552. ----------2F1186-----------------------------
  1553. INT 2F - LAN Manager Enhanced DOS API - DosReadAsynchNmPipe
  1554.     AX = 1186h
  1555.     ???
  1556. Return: ???
  1557. Note:    LAN Manager enhance mode adds features beyond the standard redirector
  1558.       file/printer services
  1559. SeeAlso: AX=118Fh,INT 21/AX=5F39h
  1560. ----------2F118A-----------------------------
  1561. INT 2F - LAN Manager 2.0 DOS Enhanced ENCRYPT.EXE - STREAM ENCRYPTION SERVICE
  1562.     AX = 118Ah
  1563.     ???
  1564. Return: ???
  1565. SeeAlso: AX=1186h,AH=41h,AH=42h,AH=4Bh
  1566. ----------2F118F-----------------------------
  1567. INT 2F - LAN Manager Enhanced DOS API - DosWriteAsynchNmPipe
  1568.     AX = 118Fh
  1569.     ???
  1570. Return: ???
  1571. SeeAlso: AX=1186h,INT 21/AX=5F3Ah
  1572. ----------2F1200-----------------------------
  1573. INT 2F U - DOS 3+ internal - INSTALLATION CHECK
  1574.     AX = 1200h
  1575. Return: AL = FFh (for compatibility with other INT 2F functions)
  1576. ----------2F1201-----------------------------
  1577. INT 2F U - DOS 3+ internal - CLOSE CURRENT FILE
  1578.     AX = 1201h
  1579.     SS = DOS DS (must be using a DOS internal stack)
  1580.     SDA current SFT pointer -> SFT of file to close
  1581. Return: CF set on error
  1582.     BX???
  1583.     CX new reference count of SFT
  1584.     ES:DI -> SFT for file
  1585. SeeAlso: AX=1106h,AX=1227h,INT 21/AH=3Eh
  1586. ----------2F1202-----------------------------
  1587. INT 2F U - DOS 3+ internal - GET INTERRUPT ADDRESS
  1588.     AX = 1202h
  1589.     STACK: WORD vector number
  1590. Return: ES:BX -> interrupt vector
  1591.     STACK unchanged
  1592. ----------2F1203-----------------------------
  1593. INT 2F U - DOS 3+ internal - GET DOS DATA SEGMENT
  1594.     AX = 1203h
  1595. Return: DS = data segment of IBMDOS.COM/MSDOS.SYS
  1596. Note:    for DOS prior to version 5.0, the data segment is the same as the code
  1597.       segment
  1598. ----------2F1204-----------------------------
  1599. INT 2F U - DOS 3+ internal - NORMALIZE PATH SEPARATOR
  1600.     AX = 1204h
  1601.     STACK: WORD character to normalize
  1602. Return: AL = normalized character (forward slash turned to backslash, all
  1603.         others unchanged)
  1604.     ZF set if path separator
  1605.     STACK unchanged
  1606. ----------2F1205-----------------------------
  1607. INT 2F U - DOS 3+ internal - OUTPUT CHARACTER TO STANDARD OUTPUT
  1608.     AX = 1205h
  1609.     STACK: WORD character to output
  1610. Return: STACK unchanged
  1611. Note:    can be called only from within DOS
  1612. ----------2F1206-----------------------------
  1613. INT 2F U - DOS 3+ internal - INVOKE CRITICAL ERROR
  1614.     AX = 1206h
  1615.     DI = error code
  1616.     BP:SI -> device driver header
  1617.     SS = DOS DS (must be using a DOS internal stack)
  1618.     STACK: WORD value to be passed to INT 24 in AX
  1619. Return: AL = 0-3 for Abort, Retry, Ignore, Fail
  1620.     STACK unchanged
  1621. SeeAlso: INT 24
  1622. ----------2F1207-----------------------------
  1623. INT 2F U - DOS 3+ internal - MAKE DISK BUFFER MOST-RECENTLY USED
  1624.     AX = 1207h
  1625.     DS:DI -> disk buffer
  1626. Return: nothing
  1627. Desc:    move the indicated buffer to the end of the disk buffer chain (least-
  1628.       recently used is first); under DOS 3.3, the buffer is then moved to
  1629.       the start of the disk buffer chain if it was marked unused
  1630. Note:    can be called only from within DOS
  1631. SeeAlso: AX=120Fh
  1632. ----------2F1208-----------------------------
  1633. INT 2F U - DOS 3+ internal - DECREMENT SFT REFERENCE COUNT
  1634.     AX = 1208h
  1635.     ES:DI -> SFT
  1636. Return: AX = original value of reference count
  1637. Notes:    if the reference count was 1, it is set to FFFFh (since 0 indicates
  1638.       that the SFT is not in use).    It is the caller's responsibility to
  1639.       set the reference count to zero after cleaning up.
  1640.     used by network redirectors such as MSCDEX
  1641. SeeAlso: AX=1106h
  1642. ----------2F1209-----------------------------
  1643. INT 2F U - DOS 3+ internal - FLUSH AND FREE DISK BUFFER
  1644.     AX = 1209h
  1645.     DS:DI -> disk buffer
  1646. Return: disk buffer marked unused, contents written to disk if buffer dirty
  1647. Note:    can be called only from within DOS
  1648. SeeAlso: AX=120Eh,AX=1215h
  1649. ----------2F120A-----------------------------
  1650. INT 2F U - DOS 3+ internal - PERFORM CRITICAL ERROR INTERRUPT
  1651.     AX = 120Ah
  1652.     DS = SS = DOS DS (must be using a DOS internal stack)
  1653.     STACK: WORD extended error code
  1654. Return: AL = user response (0=ignore, 1=retry, 2=abort, 3=fail)
  1655.     CF clear if retry, set otherwise
  1656.     STACK unchanged
  1657. Notes:    can only be called during a DOS function call, as it uses various
  1658.       fields in the SDA to set up the registers for the INT 24
  1659.     reportedly sets current DPB's first root directory sector to 1
  1660. SeeAlso: INT 24
  1661. ----------2F120B-----------------------------
  1662. INT 2F U - DOS 3+ internal - SIGNAL SHARING VIOLATION TO USER
  1663.     AX = 120Bh
  1664.     ES:DI -> system file table entry for previous open of file
  1665.     STACK: WORD extended error code (should be 20h--sharing violation)
  1666. Return: CF clear if operation should be retried
  1667.     CF set if operation should not be retried
  1668.         AX = error code (20h) (see INT 21/AH=59h)
  1669.     STACK unchanged
  1670. Notes:    can only be called during a DOS function call
  1671.     should only be called if an attempt was made to open an already-open
  1672.       file contrary to the sharing rules
  1673.     invokes INT 24 if SFT file opened via FCB or in compatibility mode with
  1674.       inheritance allowed
  1675. ----------2F120C-----------------------------
  1676. INT 2F U - DOS 3+ internal - OPEN DEVICE AND SET SFT OWNER???
  1677.     AX = 120Ch
  1678.     SDA current SFT pointer -> SFT for file
  1679.     DS = DOS DS
  1680.     SS = DOS DS (must be using a DOS internal stack)
  1681. Return: ES, DI, AX destroyed
  1682. Notes:    invokes "device open" call on device driver for SFT
  1683.     changes owner of last-accessed SFT to calling process if it was opened
  1684.       via FCB
  1685.     called by network redirectors such as MSCDEX
  1686. ----------2F120D-----------------------------
  1687. INT 2F U - DOS 3+ internal - GET DATE AND TIME
  1688.     AX = 120Dh
  1689.     SS = DOS DS (must be using a DOS internal stack)
  1690. Return: AX = current date in packed format (see INT 21/AX=5700h)
  1691.     DX = current time in packed format (see INT 21/AX=5700h)
  1692. SeeAlso: INT 21/AH=2Ah,INT 21/AH=2Ch
  1693. ----------2F120E-----------------------------
  1694. INT 2F U - DOS 3+ internal - MARK ALL DISK BUFFERS UNREFERENCED
  1695.     AX = 120Eh
  1696.     SS = DOS DS (must be using a DOS internal stack)
  1697. Return: DS:DI -> first disk buffer
  1698. Note:    clears "referenced" flag on all disk buffers
  1699. SeeAlso: AX=1209h,AX=1210h,INT 21/AH=0Dh
  1700. ----------2F120F-----------------------------
  1701. INT 2F U - DOS 3+ internal - MAKE BUFFER MOST RECENTLY USED
  1702.     AX = 120Fh
  1703.     DS:DI -> disk buffer
  1704.     SS = DOS DS (must be using a DOS internal stack)
  1705. Return: DS:DI -> next buffer in buffer list
  1706. Desc:    move the indicated buffer to the end of the disk buffer chain (least-
  1707.       recently used is first); under DOS 3.3, the buffer is then moved to
  1708.       the start of the disk buffer chain if it was marked unused
  1709. Note:    this function is the same as AX=1207h except that it returns a
  1710.       pointer to the buffer following the specified buffer in the buffer
  1711.       chain
  1712. SeeAlso: AX=1207h
  1713. ----------2F1210-----------------------------
  1714. INT 2F U - DOS 3+ internal - FIND UNREFERENCED DISK BUFFER
  1715.     AX = 1210h
  1716.     DS:DI -> first disk buffer to check
  1717. Return: ZF clear if found
  1718.         DS:DI -> first unreferenced disk buffer
  1719.     ZF set if not found
  1720. SeeAlso: AX=120Eh
  1721. ----------2F1211-----------------------------
  1722. INT 2F U - DOS 3+ internal - NORMALIZE ASCIZ FILENAME
  1723.     AX = 1211h
  1724.     DS:SI -> ASCIZ filename to normalize
  1725.     ES:DI -> buffer for normalized filename
  1726. Return: destination buffer filled with uppercase filename, with slashes turned
  1727.     to backslashes
  1728. SeeAlso: AX=121Eh,AX=1221h
  1729. ----------2F1212-----------------------------
  1730. INT 2F U - DOS 3+ internal - GET LENGTH OF ASCIZ STRING
  1731.     AX = 1212h
  1732.     ES:DI -> ASCIZ string
  1733. Return: CX = length of string
  1734. SeeAlso: AX=1225h
  1735. ----------2F1213-----------------------------
  1736. INT 2F U - DOS 3+ internal - UPPERCASE CHARACTER
  1737.     AX = 1213h
  1738.     STACK: WORD character to convert to uppercase
  1739. Return: AL = uppercase character
  1740.     STACK unchanged
  1741. ----------2F1214-----------------------------
  1742. INT 2F U - DOS 3+ internal - COMPARE FAR POINTERS
  1743.     AX = 1214h
  1744.     DS:SI = first pointer
  1745.     ES:DI = second pointer
  1746. Return: ZF set if pointers are equal, ZF clear if not equal
  1747. ----------2F1215-----------------------------
  1748. INT 2F U - DOS 3+ internal - FLUSH BUFFER
  1749.     AX = 1215h
  1750.     DS:DI -> disk buffer
  1751.     SS = DOS DS (must be using a DOS internal stack)
  1752.     STACK: WORD drives for which to skip buffer
  1753.         ignore buffer if drive same as high byte, or bytes differ and
  1754.         the buffer is for a drive OTHER than that given in low byte
  1755. Return: STACK unchanged
  1756. Note:    can be called only from within DOS
  1757. SeeAlso: AX=1209h
  1758. ----------2F1216-----------------------------
  1759. INT 2F U - DOS 3+ internal - GET ADDRESS OF SYSTEM FILE TABLE
  1760.     AX = 1216h
  1761.     BX = system file table entry number
  1762. Return: CF clear if successful
  1763.         ES:DI -> system file table entry
  1764.     CF set if BX greater than FILES=
  1765. SeeAlso: AX=1220h
  1766. ----------2F1217-----------------------------
  1767. INT 2F U - DOS 3+ internal - GET CURRENT DIRECTORY STRUCTURE FOR DRIVE
  1768.     AX = 1217h
  1769.     SS = DOS DS (must be using a DOS internal stack)
  1770.     STACK: WORD drive (0 = A:, 1 = B:, etc)
  1771. Return: CF set on error
  1772.         (drive > LASTDRIVE)
  1773.     CF clear if successful
  1774.         DS:SI -> current directory structure for specified drive
  1775.     STACK unchanged
  1776. SeeAlso: AX=1219h
  1777. ----------2F1218-----------------------------
  1778. INT 2F U - DOS 3+ internal - GET CALLER'S REGISTERS
  1779.     AX = 1218h
  1780. Return: DS:SI -> saved caller's AX,BX,CX,DX,SI,DI,BP,DS,ES (on stack)
  1781. Note:    only valid while within DOS
  1782. ----------2F1219-----------------------------
  1783. INT 2F U - DOS 3+ internal - SET DRIVE???
  1784.     AX = 1219h
  1785.     SS = DOS DS (must be using a DOS internal stack)
  1786.     STACK: WORD drive (0 = default, 1 = A:, etc)
  1787. Return: ???
  1788.     STACK unchanged
  1789. Notes:    calls AX=1217h
  1790.     builds a current directory structure if inside server call
  1791.       (INT 21/AX=5D00h)
  1792. SeeAlso: AX=1217h,AX=121Fh
  1793. ----------2F121A-----------------------------
  1794. INT 2F U - DOS 3+ internal - GET FILE'S DRIVE
  1795.     AX = 121Ah
  1796.     DS:SI -> filename
  1797. Return: AL = drive (0 = default, 1 = A:, etc, FFh = invalid)
  1798.     DS:SI -> filename without leading X: (if present)
  1799. SeeAlso: INT 21/AH=19h,INT 21/AH=60h
  1800. ----------2F121B-----------------------------
  1801. INT 2F U - DOS 3+ internal - SET YEAR/LENGTH OF FEBRUARY
  1802.     AX = 121Bh
  1803.     CL = year - 1980
  1804. Return: AL = number of days in February
  1805. Note:    requires DS to be set to the DOS code segment
  1806. SeeAlso: INT 21/AH=2Bh
  1807. ----------2F121C-----------------------------
  1808. INT 2F U - DOS 3+ internal - CHECKSUM MEMORY
  1809.     AX = 121Ch
  1810.     DS:SI -> start of memory to checksum
  1811.     CX = number of bytes
  1812.     DX = initial checksum
  1813.     SS = DOS DS (must be using a DOS internal stack)
  1814. Return: AX, CX destroyed
  1815.     DX = checksum
  1816.     DS:SI -> first byte after checksummed range
  1817. Note:    used by DOS to determine day count since 1/1/80 given a date
  1818. SeeAlso: AX=121Dh
  1819. ----------2F121D-----------------------------
  1820. INT 2F U - DOS 3+ internal - SUM MEMORY
  1821.     AX = 121Dh
  1822.     DS:SI -> memory to add up
  1823.     CX = 0000h
  1824.     DX = limit
  1825. Return: AL = byte which exceeded limit
  1826.     CX = number of bytes before limit exceeded
  1827.     DX = remainder after adding first CX bytes
  1828.     DS:SI -> byte beyond the one which exceeded the limit
  1829. Note:    used by DOS to determine year or month given day count since 1/1/80
  1830. SeeAlso: AX=121Ch
  1831. ----------2F121E-----------------------------
  1832. INT 2F U - DOS 3+ internal - COMPARE FILENAMES
  1833.     AX = 121Eh
  1834.     DS:SI -> first ASCIZ filename
  1835.     ES:DI -> second ASCIZ filename
  1836. Return: ZF set if filenames equivalent, ZF clear if not
  1837. SeeAlso: AX=1211h,AX=1221h
  1838. ----------2F121F-----------------------------
  1839. INT 2F U - DOS 3+ internal - BUILD CURRENT DIRECTORY STRUCTURE
  1840.     AX = 121Fh
  1841.     SS = DOS DS (must be using a DOS internal stack)
  1842.     STACK: WORD drive letter
  1843. Return: ES:DI -> current directory structure (will be overwritten by next call)
  1844.     STACK unchanged
  1845. ----------2F1220-----------------------------
  1846. INT 2F U - DOS 3+ internal - GET JOB FILE TABLE ENTRY
  1847.     AX = 1220h
  1848.     BX = file handle
  1849. Return: CF set on error
  1850.         AL = 6 (invalid file handle)
  1851.     CF clear if successful
  1852.         ES:DI -> JFT entry for file handle in current process
  1853. Note:    the byte pointed at by ES:DI contains the number of the SFT for the
  1854.       file handle, or FFh if the handle is not open
  1855. SeeAlso: AX=1216h,AX=1229h
  1856. ----------2F1221-----------------------------
  1857. INT 2F U - DOS 3+ internal - CANONICALIZE FILE NAME
  1858.     AX = 1221h
  1859.     DS:SI -> file name to be fully qualified
  1860.     ES:DI -> 128-byte buffer for resulting canonical file name
  1861.     SS = DOS DS (must be using a DOS internal stack)
  1862. Return: (see INT 21/AH=60h)
  1863. Note:    identical to INT 21/AH=60h
  1864. SeeAlso: AX=1123h,INT 21/AH=60h
  1865. ----------2F1222-----------------------------
  1866. INT 2F U - DOS 3+ internal - SET EXTENDED ERROR INFO
  1867.     AX = 1222h
  1868.     SS = DOS data segment
  1869.     SS:SI -> 4-byte records
  1870.         BYTE    error code, FFh = last record
  1871.         BYTE    error class, FFh = don't change
  1872.         BYTE    suggested action, FFh = don't change
  1873.         BYTE    error locus, FFh = don't change
  1874.     SDA error code set
  1875. Return: SI destroyed
  1876.     SDA error class, error locus, and suggested action fields set
  1877. Note:    can be called only from within DOS
  1878. SeeAlso: AX=122Dh,INT 21/AH=59h
  1879. ----------2F1223-----------------------------
  1880. INT 2F U - DOS 3+ internal - CHECK IF CHARACTER DEVICE
  1881.     AX = 1223h
  1882.     DS = DOS DS
  1883.     SS = DOS DS (must be using a DOS internal stack)
  1884.     SDA+218h (DOS 3.10-3.30) = eight-character blank-padded name
  1885.     SDA+22Bh (DOS 4.0-5.0) = eight-character blank-padded name
  1886. Return: CF set if no character device by that name found
  1887.     CF clear if found
  1888.         BH = low byte of device attribute word
  1889. Note:    can only be called from within DOS
  1890. SeeAlso: INT 21/AX=5D06h,INT 21/AX=5D0Bh
  1891. ----------2F1224-----------------------------
  1892. INT 2F U - DOS 3+ internal - DELAY
  1893.     AX = 1224h
  1894.     SS = DOS DS (must be using a DOS internal stack)
  1895. Return: after delay set by INT 21/AX=440Bh, unless in server call
  1896.       (INT 21/AX=5D00h)
  1897. Note:    delay is dependent on the processor speed, and is skipped entirely if
  1898.       inside a server call
  1899. SeeAlso: INT 21/AX=440Bh,INT 21/AH=52h
  1900. ----------2F1225-----------------------------
  1901. INT 2F U - DOS 3+ internal - GET LENGTH OF ASCIZ STRING
  1902.     AX = 1225h
  1903.     DS:SI -> ASCIZ string
  1904. Return: CX = length of string
  1905. SeeAlso: AX=1212h
  1906. ----------2F1226-----------------------------
  1907. INT 2F U - DOS 3.3+ internal - OPEN FILE
  1908.     AX = 1226h
  1909.     CL = access mode
  1910.     DS:DX -> ASCIZ filename
  1911.     SS = DOS DS (must be using a DOS internal stack)
  1912. Return: CF set on error
  1913.         AL = error code (see INT 21/AH=59h)
  1914.     CF clear if successful
  1915.         AX = file handle
  1916. Notes:    can only be called from within DOS
  1917.     equivalent to INT 21/AH=3Dh    
  1918. SeeAlso: AX=1227h,INT 21/AH=3Dh
  1919. ----------2F1227-----------------------------
  1920. INT 2F U - DOS 3.3+ internal - CLOSE FILE
  1921.     AX = 1227h
  1922.     BX = file handle
  1923.     SS = DOS DS (must be using a DOS internal stack)
  1924. Return: CF set on error
  1925.         AL = 06h invalid file handle
  1926.     CF clear if successful
  1927. Notes:    can only be called from within DOS
  1928.     equivalent to INT 21/AH=3Eh
  1929. SeeAlso: AX=1106h,AX=1201h,AX=1226h,INT 21/AH=3Eh
  1930. ----------2F1228BP4200-----------------------
  1931. INT 2F U - DOS 3.3+ internal - MOVE FILE POINTER
  1932.     AX = 1228h
  1933.     BP = 4200h, 4201h, 4202h (see INT 21/AH=42h)
  1934.     BX = file handle
  1935.     CX:DX = offset in bytes
  1936.     SS = DOS DS (must be using a DOS internal stack)
  1937. Return: as for INT 21/AH=42h
  1938. Notes:    equivalent to INT 21/AH=42h, but may only be called from inside a DOS
  1939.       function call
  1940.     sets user stack frame pointer to dummy buffer, moves BP to AX, performs
  1941.       LSEEK, and restores frame pointer
  1942. SeeAlso: INT 21/AH=42h
  1943. ----------2F1229-----------------------------
  1944. INT 2F U - DOS 3.3+ internal - READ FROM FILE
  1945.     AX = 1229h
  1946.     BX = file handle
  1947.     CX = number of bytes to read
  1948.     DS:DX -> buffer
  1949.     SS = DOS DS (must be using a DOS internal stack)
  1950. Return: as for INT 21/AH=3Fh
  1951. Note:    equivalent to INT 21/AH=3Fh, but may only be called when already inside
  1952.       a DOS function call
  1953. SeeAlso: AX=1226h,INT 21/AH=3Fh
  1954. ----------2F122A-----------------------------
  1955. INT 2F U - DOS 3.3+ internal - SET FASTOPEN ENTRY POINT
  1956.     AX = 122Ah
  1957.     BX = entry point to set (0001h or 0002h)
  1958.     DS:SI -> FASTOPEN entry point
  1959.         (entry point not set if SI = FFFFh for DOS 4+)
  1960. Return: CF set if specified entry point already set
  1961. Notes:    entry point in BX is ignored under DOS 3.30
  1962.     both entry points set to same handler by DOS 4.01
  1963.  
  1964. DOS 3.30+ FASTOPEN is called with:
  1965.     AL = 01h  ???
  1966.         CX = ??? seems to be offset
  1967.         DI = ??? seems to be offset
  1968.         SI = offset in DOS DS of filename
  1969.     AL = 02h  ???
  1970.     AL = 03h  open file???
  1971.         SI = offset in DOS DS of filename
  1972.     AL = 04h  ???
  1973.         AH = subfunction (00h,01h,02h)
  1974.         ES:DI -> ???
  1975.         CX = ??? (subfunctions 01h and 02h only)
  1976. Returns: CF set on error or not installed
  1977. Note: function 03h calls function 01h first
  1978.  
  1979. PCDOS 4.01 FASTOPEN is additionally called with:
  1980.     AL = 04h ???
  1981.         AH = 03h
  1982.         ???
  1983.     AL = 05h ???
  1984.     AL = 0Bh ???
  1985.     AL = 0Ch ???
  1986.     AL = 0Dh ???
  1987.     AL = 0Eh ???
  1988.     AL = 0Fh ???
  1989.     AL = 10h ???
  1990.  
  1991. MSDOS 5.0 FASTOPEN is additionally called with:
  1992.     AL = 04h ???
  1993.         AH = 03h
  1994.         ???
  1995.     AL = 05h ???
  1996.         DL = drive (00h = A:)
  1997.         ???
  1998.     AL = 06h ???
  1999. ----------2F122B-----------------------------
  2000. INT 2F U - DOS 3.3+ internal - IOCTL
  2001.     AX = 122Bh
  2002.     BP = 44xxh
  2003.     SS = DOS DS (must be using a DOS internal stack)
  2004.     additional registers as appropriate for INT 21/AX=44xxh
  2005. Return: as for INT 21/AH=44h
  2006. Notes:    equivalent to INT 21/AH=44h, but may only be called when already inside
  2007.       a DOS function call
  2008.     sets user stack frame pointer to dummy buffer, moves BP to AX, performs
  2009.       IOCTL, and restores frame pointer
  2010. SeeAlso: INT 21/AH=44h
  2011. ----------2F122C-----------------------------
  2012. INT 2F U - DOS 3.3+ internal - GET DEVICE CHAIN
  2013.     AX = 122Ch
  2014. Return: BX:AX -> header of second device driver (NUL is first) in driver chain
  2015. SeeAlso: INT 21/AH=52h
  2016. ----------2F122D-----------------------------
  2017. INT 2F U - DOS 3.3+ internal - GET EXTENDED ERROR CODE
  2018.     AX = 122Dh
  2019. Return: AX = current extended error code
  2020. SeeAlso: AX=1222h,INT 21/AH=59h
  2021. ----------2F122E-----------------------------
  2022. INT 2F U - DOS 4+ internal - GET OR SET ERROR TABLE ADDRESSES
  2023.     AX = 122Eh
  2024.     DL = subfunction
  2025.         00h get standard DOS error table
  2026.         Return: ES:DI -> error table
  2027.                  (DOS 4: errors 00h-12h,50h-5Bh)
  2028.                  (DOS 5: errors 00h-26h,4Fh,51h-59h)
  2029.         01h set standard DOS error table
  2030.         ES:DI -> error table
  2031.         02h get parameter error table (errors 00h-0Ah)
  2032.         Return: ES:DI -> error table
  2033.         03h set parameter error table
  2034.         ES:DI -> error table
  2035.         04h get critical/SHARE error table (errors 13h-2Bh)
  2036.         Return: ES:DI -> error table
  2037.         05h set critical/SHARE error table
  2038.         ES:DI -> error table
  2039.         06h get ??? error table
  2040.         Return: ES:DI -> error table or 0000h:0000h
  2041.         07h set ??? error table
  2042.         ES:DI -> error table
  2043.         08h get error message retriever (see below)
  2044.         Return: ES:DI -> FAR procedure to fetch error message 
  2045.         09h set ??? error table
  2046.         ES:DI -> error table
  2047. Notes:    if the returned segment on a "get" is 0001h, then the offset specifies
  2048.       the offset of the error message table within COMMAND.COM, and the
  2049.       procedure returned by DL=08h should be called
  2050.     DOS 5.0 COMMAND.COM does not allow setting any of the addresses (calls
  2051.       with DL odd are ignored); they are always returned with segment 0001h
  2052.     for DOS 5.0, the standard and critical/SHARE error tables are combined
  2053.       into a single error table
  2054. SeeAlso: AX=0500h,INT 21/AH=59h
  2055.  
  2056. Format of DOS 4.x error table:
  2057. Offset    Size    Description
  2058.  00h    BYTE    FFh
  2059.  01h  2 BYTEs    04h,00h (DOS version???)
  2060.  03h    BYTE    number of error headers following
  2061.  04h 2N WORDs    table of all error headers for table
  2062.         Offset    Size    Description
  2063.          00h    WORD    error message number
  2064.          02h    WORD    offset of error message from start of header
  2065.                 error messages are count byte followed by msg
  2066. Note:    DOS 5 error tables consist of one word per error number; each word
  2067.       contains either the offset of a counted string or 0000h
  2068.  
  2069. Call error retrieval function with:
  2070.     AX = error number
  2071.     DI = offset of error table
  2072. Return: ES:DI -> error message (counted string)
  2073. Notes:    this function needs to access COMMAND.COM if the messages were not
  2074.       loaded into memory permanently with /MSG; the caller should assume
  2075.       that the returned message will be overwritten by the next call of
  2076.       the function
  2077.     supported by DR-DOS 5.0
  2078. ----------2F122F-----------------------------
  2079. INT 2F U - DOS 4.x internal - SET DOS VERSION NUMBER TO RETURN
  2080.     AX = 122Fh
  2081.     DX = DOS version number (0000h = return true DOS version)
  2082. Note:    not available under DR-DOS 5.0 or 6.0
  2083. SeeAlso: INT 21/AH=30h,INT 21/AX=3306h
  2084. ----------2F13-------------------------------
  2085. INT 2F U - DOS 3.2+ - SET DISK INTERRUPT HANDLER
  2086.     AH = 13h
  2087.     DS:DX -> interrupt handler disk driver calls on read/write
  2088.     ES:BX = address to restore INT 13 to on system halt (exit from root
  2089.          shell) or warm boot (INT 19)
  2090. Return: DS:DX from previous invocation of this function
  2091.     ES:BX from previous invocation of this function
  2092. Notes:    IO.SYS hooks INT 13 and inserts one or more filters ahead of the
  2093.       original INT 13 handler.  The first is for disk change detection
  2094.       on floppy drives, the second is for tracking formatting calls and
  2095.       correcting DMA boundary errors, the third is for working around
  2096.       problems in a particular version of IBM's ROM BIOS
  2097.     before the first call, ES:BX points at the original BIOS INT 13; DS:DX
  2098.       also points there unless IO.SYS has installed a special filter for
  2099.       hard disk reads (on systems with model byte FCh and BIOS date
  2100.       "01/10/84" only), in which case it points at the special filter
  2101.     most DOS 3.3+ disk access is via the vector in DS:DX, although a few
  2102.       functions are still invoked via an INT 13 instruction
  2103.     this is a dangerous security loophole for any virus-monitoring software
  2104.       which does not trap this call (many Bulgarian viruses are known to
  2105.       use it to get the original ROM entry point)
  2106. SeeAlso: INT 13/AH=01h,INT 19
  2107. ----------2F1400-----------------------------
  2108. INT 2F - NLSFUNC.COM - INSTALLATION CHECK
  2109.     AX = 1400h
  2110. Return: AL = 00h not installed, OK to install
  2111.          01h not installed, not OK
  2112.          FFh installed
  2113. Notes:    called by DOS v3.3+ kernel
  2114.     supported by OS/2 v1.3+ compatibility box, which always returns AL=FFh
  2115.     supported by DR-DOS 5.0
  2116.     documented for MS-DOS 5.0, but undocumented in prior versions
  2117. SeeAlso: AX=1401h"NLSFUNC",AX=1402h"NLSFUNC"
  2118. ----------2F1400-----------------------------
  2119. INT 2F - European MSDOS 4.0 POPUP - "CheckPu" - INSTALLATION CHECK
  2120.     AX = 1400h
  2121. Return: AX = FFFFh if installed
  2122.         BX = maximum memory required to save screen and keyboard info
  2123.     CF clear if successful
  2124.     CF set on error
  2125.         AX = error code
  2126.             0002h invalid function
  2127.         0004h unknown error
  2128. Note:    the POPUP interface is used by background programs (see INT 21/AH=80h)
  2129.       to communicate with the user
  2130. SeeAlso: AX=1401h"POPUP",AX=1402h"POPUP",AX=1403h"POPUP"
  2131. ----------2F1401-----------------------------
  2132. INT 2F U - NLSFUNC.COM - CHANGE CODE PAGE
  2133.     AX = 1401h
  2134.     DS:SI -> internal code page structure (see below)
  2135.     BX = new code page
  2136.     DX = country code???
  2137. Return: AL = status
  2138.          00h successful
  2139.          else DOS error code
  2140. Note:    called by DOS v3.3+ kernel
  2141. SeeAlso: AX=1400h"NLSFUNC",AX=1402h"NLSFUNC",INT 21/AH=66h
  2142.  
  2143. Format of DOS 3.30 internal code page structure:
  2144. Offset    Size    Description
  2145.  00h  8 BYTEs    ???
  2146.  08h 64 BYTEs    name of country information file
  2147.  48h    WORD    system code page
  2148.  4Ah    WORD    number of supported subfunctions
  2149.  4Ch  5 BYTEs    data to return for INT 21/AX=6502h
  2150.  51h  5 BYTEs    data to return for INT 21/AX=6504h
  2151.  56h  5 BYTEs    data to return for INT 21/AX=6505h
  2152.  5Bh  5 BYTEs    data to return for INT 21/AX=6506h
  2153.  60h 41 BYTEs    data to return for INT 21/AX=6501h
  2154. ----------2F1401-----------------------------
  2155. INT 2F - European MSDOS 4.0 POPUP - "PostPu" - OPEN/CLOSE POPUP SCREEN
  2156.     AX = 1401h
  2157.     DL = function (00h open, 01h close)
  2158.     DH = wait flag
  2159.         00h block until screen opens
  2160.         01h return error if screen is not available
  2161.         02h urgent--always open screen immediately
  2162. Return: CF clear if successful
  2163.         BX = amount of memory needed to save screen and keyboard info,
  2164.             0000h if default save location can be used (only if DH was 02h)
  2165.     CF set on error
  2166. Note:    the application using the screen is frozen until the popup screen is
  2167.       closed
  2168. SeeAlso: AX=1400h"POPUP",AX=1402h"POPUP",AX=1403h"POPUP"
  2169. ----------2F1402-----------------------------
  2170. INT 2F U - NLSFUNC.COM - GET COUNTRY INFO
  2171.     AX = 1402h
  2172.     BP = subfunction (same as AL for INT 21/AH=65h)
  2173.     BX = code page
  2174.     DX = country code
  2175.     DS:SI -> internal code page structure (see AX=1401h)
  2176.     ES:DI -> user buffer
  2177.     CX = size of user buffer
  2178. Return: AL = status
  2179.         00h successful
  2180.         else DOS error code
  2181. Notes:    called by DOS v3.3+ kernel on INT 21/AH=65h
  2182.     code page structure apparently only needed for COUNTRY.SYS pathname
  2183. SeeAlso: AX=1401h"NLSFUNC",AX=1403h"NLSFUNC",AX=1404h,INT 21/AH=65h
  2184. ----------2F1402-----------------------------
  2185. INT 2F - European MSDOS 4.0 POPUP - "SavePu" - SAVE POPUP SCREEN
  2186.     AX = 1402h
  2187.     ES:DI -> save buffer (0000h:0000h for default buffer in POPUP)
  2188. Return: CF clear if successful
  2189.     CF set on error
  2190.         AX = error code
  2191.         0001h process does not own screen
  2192.         0004h unknown error
  2193.         0005h invalid pointer
  2194. SeeAlso: AX=1400h"POPUP",AX=1401h"POPUP",AX=1403h"POPUP"
  2195. ----------2F1403-----------------------------
  2196. INT 2F U - NLSFUNC.COM - SET COUNTRY INFO
  2197.     AX = 1403h
  2198.     DS:SI -> internal code page structure (see AX=1401h)
  2199.     BX = code page
  2200.     DX = country code
  2201. Return: AL = status 
  2202.          ???
  2203. Note:    called by DOS v3.3+ kernel on INT 21/AH=38h
  2204. SeeAlso: AX=1402h"NLSFUNC",AX=1404h,INT 21/AH=38h"SET"
  2205. ----------2F1403-----------------------------
  2206. INT 2F - European MSDOS 4.0 POPUP - "RestorePu" - RESTORE SCREEN
  2207.     AX = 1403h
  2208.     ES:DI -> buffer containing saved screen
  2209.         (0000h:0000h for default buffer in POPUP)
  2210. Return: CF clear if successful
  2211.     CF set on error
  2212.         AX = error code (see AX=1402h"POPUP")
  2213. SeeAlso: AX=1400h"POPUP",AX=1401h"POPUP",AX=1402h"POPUP"
  2214. ----------2F1404-----------------------------
  2215. INT 2F U - NLSFUNC.COM - GET COUNTRY INFO
  2216.     AX = 1404h
  2217.     BX = code page
  2218.     DX = country code
  2219.     DS:SI -> internal code page structure (see AX=1401h)
  2220.     ES:DI -> user buffer
  2221. Return: AL = status
  2222.          ???
  2223. Notes:    called by DOS v3.3+ kernel on INT 21/AH=38h
  2224.     code page structure apparently only needed for COUNTRY.SYS pathname
  2225. SeeAlso: AX=1402h,AX=1403h,INT 21/AH=38h"GET"
  2226. ----------2F14FE-----------------------------
  2227. INT 2F U - DR-DOS 5.0 NLSFUNC - ???
  2228.     AX = 14FEh
  2229.     DI = ???
  2230.     ???
  2231. Return: ???
  2232. Note:    DR-DOS 5.0 NLSFUNC returns CF set and AX=0001h if AL was not 00h, FEh,
  2233.       or FFh on entry.
  2234. SeeAlso: AX=14FFh
  2235. ----------2F14FF-----------------------------
  2236. INT 2F U - DR-DOS 5.0 NLSFUNC - ???
  2237.     AX = 14FFh
  2238.     ???
  2239. Return: ???
  2240. Note:    DR-DOS 5.0 NLSFUNC returns CF set and AX=0001h if AL was not 00h, FEh,
  2241.       or FFh on entry.
  2242. SeeAlso: AX=14FEh
  2243. ----------2F1500-----------------------------
  2244. INT 2F - DOS 4.00 GRAPHICS.COM - INSTALLATION CHECK
  2245.     AX = 1500h
  2246. Return: AX = FFFFh
  2247.     ES:DI -> ??? (graphics data?)
  2248. Note:    this installation check conflicts with the CD-ROM Extensions
  2249.       installation check; moved to AX=AC00h in later versions
  2250. SeeAlso: AX=AC00h
  2251. ----------2F1500BX0000-----------------------
  2252. INT 2F - CD-ROM - INSTALLATION CHECK
  2253.     AX = 1500h
  2254.     BX = 0000h
  2255. Return: BX = number of CD-ROM drive letters used
  2256.     CX = starting drive letter (0=A:)
  2257. Notes:    this installation check DOES NOT follow the format used by other
  2258.       software
  2259.     this installation check conflicts with the DOS 4.00 GRAPHICS.COM
  2260.       installation check
  2261. SeeAlso: INT 2F/AX=D000h"Lotus"
  2262. ----------2F1501-----------------------------
  2263. INT 2F - CD-ROM - GET DRIVE DEVICE LIST
  2264.     AX = 1501h
  2265.     ES:BX -> buffer to hold drive letter list (5 bytes per drive letter)
  2266. Return: buffer filled, for each drive letter
  2267.       BYTE    subunit number in driver
  2268.       DWORD address of device driver header
  2269. ----------2F1502-----------------------------
  2270. INT 2F - CD-ROM - GET COPYRIGHT FILE NAME
  2271.     AX = 1502h
  2272.     ES:BX -> 38-byte buffer for name of copyright file
  2273.     CX = drive number (0=A:)
  2274. Return: CF set if drive is not a CD-ROM drive
  2275.         AX = 15 (invalid drive)
  2276.     CF clear if successful
  2277. SeeAlso: AX=1503h
  2278. ----------2F1503-----------------------------
  2279. INT 2F - CD-ROM - GET ABSTRACT FILE NAME
  2280.     AX = 1503h
  2281.     ES:BX -> 38-byte buffer for name of abstract file
  2282.     CX = drive number (0=A:)
  2283. Return: CF set if drive is not a CD-ROM drive
  2284.         AX = 15 (invalid drive)
  2285.     CF clear if successful
  2286. SeeAlso: AX=1502h
  2287. ----------2F1504-----------------------------
  2288. INT 2F - CD-ROM - GET BIBLIOGRAPHIC DOC FILE NAME
  2289.     AX = 1504h
  2290.     ES:BX -> 38-byte buffer for name of bibliographic documentation file
  2291.     CX = drive number (0=A:)
  2292. Return: CF set if drive is not a CD-ROM drive
  2293.         AX = 15 (invalid drive)
  2294.     CF clear if successful
  2295. ----------2F1505-----------------------------
  2296. INT 2F - CD-ROM - READ VTOC
  2297.     AX = 1505h
  2298.     ES:BX -> 2048-byte buffer
  2299.     CX = drive number (0=A:)
  2300.     DX = sector index (0=first volume descriptor,1=second,...)
  2301. Return: CF set on error
  2302.         AX = error code (15=invalid drive,21=not ready)
  2303.     CF clear if successful
  2304.         AX = volume descriptor type (1=standard,FFh=terminator,0=other)
  2305. ----------2F1506-----------------------------
  2306. INT 2F - CD-ROM - TURN DEBUGGING ON
  2307.     AX = 1506h
  2308.     BX = debugging function to enable
  2309. Note:    reserved for development
  2310. SeeAlso: AX=1507h
  2311. ----------2F1507-----------------------------
  2312. INT 2F - CD-ROM - TURN DEBUGGING OFF
  2313.     AX = 1507h
  2314.     BX = debugging function to disable
  2315. Note:    reserved for development
  2316. SeeAlso: AX=1506h
  2317. ----------2F1508-----------------------------
  2318. INT 2F - CD-ROM - ABSOLUTE DISK READ
  2319.     AX = 1508h
  2320.     ES:BX -> buffer
  2321.     CX = drive number (0=A:)
  2322.     SI:DI = starting sector number
  2323.     DX = number of sectors to read
  2324. Return: CF set on error
  2325.         AL = error code (15=invalid drive,21=not ready)
  2326.     CF clear if successful
  2327. SeeAlso: AX=1509h
  2328. ----------2F1509-----------------------------
  2329. INT 2F - CD-ROM - ABSOLUTE DISK WRITE
  2330.     AX = 1509h
  2331.     ES:BX -> buffer
  2332.     CX = drive number (0=A:)
  2333.     SI:DI = starting sector number
  2334.     DX = number of sectors to write
  2335. Note:    corresponds to INT 26h and is currently reserved and nonfunctional
  2336. SeeAlso: AX=1508h
  2337. ----------2F150A-----------------------------
  2338. INT 2F - CD-ROM - RESERVED
  2339.     AX = 150Ah
  2340. ----------2F150B-----------------------------
  2341. INT 2F - CD-ROM v2.00+ - DRIVE CHECK
  2342.     AX = 150Bh
  2343.     CX = drive number (0=A:)
  2344. Return: BX = ADADh if MSCDEX.EXE installed
  2345.         AX = 0000h if drive not supported
  2346.         nonzero if supported
  2347. SeeAlso: AX=150Dh
  2348. ----------2F150C-----------------------------
  2349. INT 2F - CD-ROM v2.00+ - GET MSCDEX.EXE VERSION
  2350.     AX = 150Ch
  2351. Return: BH = major version
  2352.     BL = minor version
  2353. Note:    MSCDEX.EXE versions prior to 2.00 return BX=0
  2354. ----------2F150D-----------------------------
  2355. INT 2F - CD-ROM v2.00+ - GET CD-ROM DRIVE LETTERS
  2356.     AX = 150Dh
  2357.     ES:BX -> buffer for drive letter list (1 byte per drive)
  2358. Return: buffer filled with drive numbers (0=A:).  Each byte corresponds
  2359.     to the drive in the same position for function 1501h
  2360. SeeAlso: AX=150Bh
  2361. ----------2F150E-----------------------------
  2362. INT 2F - CD-ROM v2.00+ - GET/SET VOLUME DESCRIPTOR PREFERENCE
  2363.     AX = 150Eh
  2364.     BX = subfunction
  2365.         00h get preference
  2366.         DX = 0000h
  2367.         Return: DX = preference settings
  2368.         01h set preference
  2369.         DH = volume descriptor preference
  2370.             01h = primary volume descriptor
  2371.             02h = supplementary volume descriptor
  2372.         DL = supplementary volume descriptor preference
  2373.             01h = shift-Kanji
  2374.     CX = drive number (0=A:)
  2375. Return: CF set on error
  2376.         AX = error code (15=invalid drive,1=invalid function)
  2377.     CF clear if successful
  2378. ----------2F150F-----------------------------
  2379. INT 2F - CD-ROM v2.00+ - GET DIRECTORY ENTRY
  2380.     AX = 150Fh
  2381.     CL = drive number (0=A:)
  2382.     CH bit 0 = copy flag
  2383.         clear if direct copy
  2384.         set if copy to structure which removed ISO/High Sierra diffs
  2385.     ES:BX -> ASCIZ path name
  2386.     SI:DI -> buffer for directory entry (see below)
  2387.          minimum 255 bytes for direct copy
  2388. Return: CF set on error
  2389.         AX = error code
  2390.     CF clear if succesful
  2391.         AX = disk format (0=High Sierra,1=ISO 9660)
  2392.  
  2393. Format of directory entry (direct copy):
  2394. Offset    Size    Description
  2395.  00h    BYTE  length of directory entry
  2396.  01h    BYTE  length of XAR in Logical Block Numbers
  2397.  02h    DWORD LBN of data, Intel (little-endian) format
  2398.  06h    DWORD LBN of data, Motorola (big-endian) format
  2399.  0Ah    DWORD length of file, Intel format
  2400.  0Eh    DWORD length of file, Motorola format
  2401. ---High Sierra---
  2402.  12h  6 BYTEs date and time
  2403.  18h    BYTE  bit flags
  2404.  19h    BYTE  reserved
  2405. ---ISO 9660---
  2406.  12h  7 BYTEs date and time
  2407.  19h    BYTE  bit flags
  2408. ---both formats---
  2409.  1Ah    BYTE  interleave size
  2410.  1Bh    BYTE  interleave skip factor
  2411.  1Ch    WORD  volume set sequence number, Intel format
  2412.  1Eh    WORD  volume set sequence number, Motorola format
  2413.  20h    BYTE  length of file name
  2414.  21h  N BYTEs file name
  2415.     BYTE (optional) padding if filename is odd length
  2416.       N BYTEs system data
  2417.  
  2418. Format of directory entry (canonicalized):
  2419. Offset    Size    Description
  2420.  00h    BYTE    length of XAR in Logical Block Numbers
  2421.  01h    DWORD    Logical Block Number of file start
  2422.  05h    WORD    size of disk in logical blocks
  2423.  07h    DWORD    file length in bytes
  2424.  0Bh  7 BYTEs    date and time
  2425.  12h    BYTE    bit flags
  2426.  13h    BYTE    interleave size
  2427.  14h    BYTE    interleave skip factor
  2428.  15h    WORD    volume set sequence number
  2429.  17h    BYTE    length of file name
  2430.  18h 38 BYTEs    ASCIZ filename
  2431.  3Eh    WORD    file version number
  2432.  40h    BYTE    number of bytes of system use data
  2433.  41h 220 BYTEs    system use data
  2434. ----------2F1510-----------------------------
  2435. INT 2F - CD-ROM v2.10+ - SEND DEVICE DRIVER REQUEST
  2436.     AX = 1510h
  2437.     CX = CD-ROM drive letter (0 = A, 1 = B, etc)
  2438.     ES:BX -> CD-ROM device driver request header (see AX=0802h)
  2439. ----------2F1600-----------------------------
  2440. INT 2F - MS WINDOWS - WINDOWS ENHANCED MODE INSTALLATION CHECK
  2441.     AX = 1600h
  2442. Return: AL = 00h if Windows 3.x enhanced mode or Windows/386 2.x not running
  2443.     AL = 80h if Windows 3.x enhanced mode or Windows/386 2.x not running
  2444.     AL = 01h if Windows/386 2.x running
  2445.     AL = FFh if Windows/386 2.x running
  2446.     AL = anything else
  2447.         AL = Windows major version number >= 3
  2448.         AH = Windows minor version number
  2449. Note:    INT 2F/AH=16h comprises an API for non-Windows programs (DOS device
  2450.       drivers, TSRs, and applications) to cooperate with multitasking
  2451.       Windows/386 2.x and Windows 3.x and higher enhanced mode.
  2452.     certain calls are also supported in the Microsoft 80286 DOS extender in
  2453.       Windows standard mode
  2454. SeeAlso: AX=4680h
  2455. ----------2F1602-----------------------------
  2456. INT 2F - MS WINDOWS/386 2.x - GET API ENTRY POINT
  2457.     AX = 1602h
  2458. Return: ES:DI -> Windows/386 2.x API procedure entry point
  2459. Notes:    this interface is supported in Windows 3.x only for 2.x compatibility
  2460.     to get the current virtual machine (VM) ID in Windows/386 2.x:
  2461.         AX = 0000h
  2462.         ES:DI -> return address
  2463.         JUMP to address returned from INT 2F/AX=1602h
  2464.     After JUMP, at return address:
  2465.         BX = current VM ID.
  2466. SeeAlso: AX=0C20h
  2467. ----------2F1603-----------------------------
  2468. INT 2F - RM Nimbus MSDOS 3.3 - ???
  2469.     AX = 1603h
  2470. Return: AX = 5248h ('RH')
  2471.     DS:SI -> first byte after INT 2F handler in IBMBIO.COM
  2472. ----------2F1605-----------------------------
  2473. INT 2F - MS WINDOWS - WINDOWS ENH MODE & 286 DOSX INIT BROADCAST
  2474.     AX = 1605h
  2475.     ES:BX = 0000h:0000h
  2476.     DS:SI = 0000h:0000h
  2477.     CX = 0000h
  2478.     DX = flags
  2479.         bit 0 = 0 if Windows enhanced-mode initialization
  2480.         bit 0 = 1 if Microsoft 286 DOS extender initialization
  2481.         bits 1-15 reserved (undefined)
  2482.     DI = version number (major in upper byte, minor in lower)
  2483. Return: CX = 0000h if okay for Windows to load
  2484.     CX <> 0 if Windows should not load
  2485.     ES:BX -> startup info structure (see below)
  2486.     DS:SI -> virtual86 mode enable/disable callback or 0000h:0000h
  2487. Notes:    the Windows enhanced mode loader and Microsoft 286 DOS extender will
  2488.       broadcast an INT 2F/AX=1605h call when initializing.    Any DOS device
  2489.       driver or TSR can watch for this broadcast and return the appropriate
  2490.       values.  If the driver or TSR returns CX <> 0, it is also its
  2491.       responsibility to display an error message.
  2492.     each handler must first chain to the prior INT 2F handler with
  2493.       registers unchanged before processing the call
  2494.     if the handler requires local data on a per-VM basis, it must store the
  2495.       returned ES:BX in the "next" field of a startup info structure and
  2496.       return a pointer to that structure in ES:BX
  2497.     a single TSR may set the V86 mode enable/disable callback; if DS:SI is
  2498.       already nonzero, the TSR must fail the initialization by setting CX
  2499.       nonzero
  2500. SeeAlso: AX=1606h,AX=1608h,AX=4B05h
  2501.  
  2502. Format of Startup Information Structure:
  2503. Offset    Size    Description
  2504.  00h  2 BYTEs    major, minor version of info structure
  2505.  02h    DWORD    pointer to next startup info structure or 0000h:0000h
  2506.  06h    DWORD    pointer to ASCIZ name of virtual device file or 0000h:0000h
  2507.  0Ah    DWORD    virtual device reference data (only used if above nonzero)
  2508.  0Eh    DWORD    pointer to instance data records or 0000h:0000h
  2509.  
  2510. Format of one Instance Item in array:
  2511. Offset    Size    Description
  2512.  00h    DWORD    address of instance data (end of array if 0000h:0000h)
  2513.  04h    WORD    size of instance data
  2514.  
  2515. Virtual mode enable/disable procedure called with:
  2516.     AX = 0000h disable V86 mode
  2517.     AX = 0001h enable V86 mode
  2518.     interrupts disabled
  2519. Return: CF set on error
  2520.     CF clear if successful
  2521.     interrupts disabled
  2522. ----------2F1606-----------------------------
  2523. INT 2F - MS WINDOWS - WINDOWS ENH MODE & 286 DOSX EXIT BROADCAST
  2524.     AX = 1606h
  2525.     DX = flags
  2526.         bit 0 = 0 if Windows enhanced-mode exit
  2527.         bit 0 = 1 if Microsoft 286 DOS extender exit
  2528.         bits 1-15 reserved (undefined)
  2529. Notes:    if the init broadcast fails (AX=1605h returned CX <> 0), then this
  2530.       broadcast will be issued immediately.
  2531.     this call will be issued in real mode
  2532. SeeAlso: AX=1605h,AX=1609h
  2533. ----------2F1607-----------------------------
  2534. INT 2F - MS WINDOWS - VIRTUAL DEVICE CALL OUT API
  2535.     AX = 1607h
  2536.     BX = virtual device ID (see INT 2F/AX=1684h)
  2537.     CX = (usually) callout subfunction
  2538. Return: (usually) AX,BX,CX,DX,ES contain results
  2539. Notes:    more of a convention than an API, this call specifies a standard
  2540.       mechanism for Windows enhanced-mode virtual devices (VxD's) to talk
  2541.       to DOS device drivers and TSRs
  2542.     see below for details on several virtual devices
  2543. SeeAlso: AX=0C20h,AX=1605h,AX=1607h/BX=000Ch,AX=1607h/BX=0014h
  2544. SeeAlso: AX=1607h/BX=0015h,AX=1684h
  2545. ----------2F1607BX000C-----------------------
  2546. INT 2F - MS WINDOWS - "VMD" VIRTUAL DEVICE API
  2547.     AX = 1607h
  2548.     BX = 000Ch (VxD identifier of "VMD")
  2549. Return: CX = nonzero if mouse driver already virtualized
  2550. Note:    VMD (Virtual Mouse Driver) calls this and then checks whether CX is
  2551.       nonzero; if yes, it will not automatically virtualize the mouse
  2552.       driver.  This would be used if MOUSE.COM already virtualizes
  2553.       itself using the Windows API.
  2554. SeeAlso: AX=1607h/BX=0014h,AX=1607h/BX=0015h
  2555. ----------2F1607BX0014-----------------------
  2556. INT 2F - MS WINDOWS - "VNETBIOS" VIRTUAL DEVICE API
  2557.     AX = 1607h
  2558.     BX = 0014H (VxD identifier of "VNETBIOS")
  2559. Return: ES:DI -> 128-byte table specifying VNETBIOS actions for each NetBIOS
  2560.         command code (see below)
  2561. Note:    VNETBIOS (Virtual NetBIOS) calls this function to determine whether
  2562.       the NetBIOS has an extensions Windows should know about
  2563. SeeAlso: AX=1607h/BX=000Ch,AX=1607h/BX=0015h
  2564.  
  2565. Values for action code:
  2566.  00h    "VN_Unknown" unknown command
  2567.  04h    "VN_No_Map"  no memory mapping necessary
  2568.  08h    "VN_Map_In"  input buffer is quickly used, so no global mapping needed
  2569.  0Ch    "VN_Map_In"  output buffer is quickly used, so no global mapping needed
  2570.  10h    "VN_Map_In_Out"  buffer is quickly used, so no global mapping needed
  2571.  14h    "VN_Chain_Send"  the chain-send command
  2572.  18h    "VN_Cancel"    special case for cancel command
  2573.  1Ch    "VN_Buffer_In"    buffer is incoming
  2574.  20h    "VN_Buffer_Out" buffer is outgoing
  2575.  24h    "VN_Buffer_In_Out" buffer used for both incoming and outgoing data
  2576. ----------2F1607BX0015-----------------------
  2577. INT 2F - MS WINDOWS - "DOSMGR" VIRTUAL DEVICE API
  2578.     AX = 1607h
  2579.     BX = 0015h (VxD identifier of "DOSMGR")
  2580.     CX = function
  2581.         0000h query instance processing
  2582.             Return: CX = state
  2583.                 0000h not instanced
  2584.                 other instanced (DOS 5.0 kernel returns 0001h)
  2585.                 DX = segment of DOS drivers
  2586.                     (unchanged if call handled by DOS 5.0)
  2587.                 ES:BX -> patch table (see below)
  2588.         0001h set patches in DOS
  2589.             DX = bit mask of patch requests
  2590.             bit 0 enable critical sections
  2591.             bit 1 NOP setting/checking user ID
  2592.             bit 2 turn INT 21/AH=3Fh on STDIN into polling loop
  2593.             bit 3 trap stack fault in "SYSINIT" to WIN386
  2594.             bit 4 BIOS patch to trap "Insert disk X:" to WIN386
  2595.         Return: AX = B97Ch
  2596.             BX = bit mask of patches applied
  2597.             DX = A2ABh
  2598.         0002h remove patches in DOS (ignored by DOS 5.0 kernel)
  2599.         DX = bit mask of patch requests (see function 0001h)
  2600.         0003h get size of DOS data structures
  2601.             DX = bit mask of request (only one bit can be set)
  2602.             bit 0: Current Directory Structure size
  2603.         Return: if supported request:
  2604.                 AX = B97Ch
  2605.                 CX = size in bytes of requested structure
  2606.                 DX = A2ABh
  2607.             else:
  2608.                 all registers preserved
  2609.         0004h determine instanced data structures
  2610.             Return: AX = B97Ch if supported
  2611.             DX = A2ABh if supported (DOS 5.0 kernel returns 0000h)
  2612.             BX = bit mask of instanced items
  2613.                 bit 0: CDS
  2614.                 bit 1: SFT
  2615.                 bit 2: device list
  2616.                 bit 3: DOS swappable data area
  2617.         0005h get device driver size
  2618.             ES = segment of device driver
  2619.         Return: DX:AX = 0000h:0000h on error (not dev. driver segment)
  2620.             DX:AX = A2ABh:B97Ch if successful
  2621.                 BX:CX = size of device driver in bytes
  2622. Notes:    the DOS 5.0 kernel provides these calls; earlier versions require a
  2623.       separate driver
  2624.     DOSMGR (DOS Manager) will check whether the OEM DOS/BIOS data has
  2625.       been instanced via INT 2F/AX=1605h and will not perform its own
  2626.       instancing of the normal DOS/BIOS data if so
  2627. SeeAlso: AX=1605h,AX=1607h/BX=000Ch,AX=1607h/BX=0014h,AX=1684h
  2628.  
  2629. Format of patch table:
  2630. Offset    Size    Description
  2631.  00h    WORD    number of items in patch table
  2632.  02h  N WORDs    offsets of ??? to be patched
  2633. ----------2F1607BX22C0-----------------------
  2634. INT 2F - Rational Systems DOS/4GW - ???
  2635.     AX = 1607h
  2636.     BX = 22C0h
  2637.     ???
  2638. Return: ???
  2639. SeeAlso: INT 15/AX=BF02h,INT 15/AX=BF04h
  2640. ----------2F1608-----------------------------
  2641. INT 2F - MS WINDOWS - WINDOWS ENHANCED MODE INIT COMPLETE BROADCAST
  2642.     AX = 1608h
  2643. Notes:    called after all installable devices have been initialized
  2644.     real-mode software may be called between the Windows enhanced-mode init
  2645.       call (AX=1605h) and this call; the software must detect this
  2646.       situation
  2647. SeeAlso: AX=1605h,AX=1609h
  2648. ----------2F1609-----------------------------
  2649. INT 2F - MS WINDOWS - WINDOWS ENHANCED MODE BEGIN EXIT BROADCAST
  2650.     AX = 1609h
  2651. Note:    called at the beginning of a normal exit sequence; not made in the
  2652.       event of a fatal system crash
  2653. SeeAlso: AX=1606h,AX=1608h
  2654. ----------2F160A-----------------------------
  2655. INT 2F - MS Windows 3.1 - IDENTIFY WINDOWS VERSION AND TYPE
  2656.     AX = 160Ah
  2657.     ???
  2658. Return: ???
  2659. ----------2F160B-----------------------------
  2660. INT 2F - MS Windows 3.1 - IDENTIFY TSRs
  2661.     AX = 160Bh
  2662.     ???
  2663. Return: ???
  2664.  
  2665. Format of TSR-to-Windows communication structure:
  2666. Offset    Size    Description
  2667.  00h    DWORD    pointer to next structure
  2668.  04h    WORD    PSP segment
  2669.  06h    WORD    API version ID (0100h)
  2670.  08h    WORD    EXEC flags
  2671.          bit 0: "WINEXEC"
  2672.         bit 1: "LOADLIBRARY"
  2673.         bit 2: "OPENDRIVER"
  2674.  0Ah    WORD    "exec_cmd_show"
  2675.  0Ch    DWORD    "exec_cmd"
  2676.  10h  4 BYTEs    reserved (0)
  2677.  14h    DWORD    TSR ID block
  2678.  18h    DWORD    TSR data block
  2679. ----------2F160C-----------------------------
  2680. INT 2F - MS Windows 3.1 - DETECT ROMs
  2681.     AX = 160Ch
  2682.     ???
  2683. Return: ???
  2684. Note:    used by ROM Windows
  2685. ----------2F1680-----------------------------
  2686. INT 2F - MS WINDOWS, DPMI, various - RELEASE CURRENT VIRTUAL MACHINE TIME-SLICE
  2687.     AX = 1680h
  2688. Return: AL = 00h if the call is supported
  2689.     AL = 80h (unchanged) if the call is not supported
  2690. Notes:    programs can use this function in idle loops to enhance performance
  2691.       under multitaskers; this call is supported by MS Windows 3.0, DOS 5+,
  2692.       DPMI 1.0+, and will be supported in OS/2 2.0 for multitasking DOS
  2693.       applications
  2694.     does not block the program; it just gives up the remainder of the time
  2695.       slice
  2696.     should not be used by Windows-specific programs
  2697. SeeAlso: INT 15/AX=1000h,INT 15/AX=5305h,INT 21/AH=89h,INT 7A/BX=000Ah
  2698. ----------2F1681-----------------------------
  2699. INT 2F - MS WINDOWS 3+ - BEGIN CRITICAL SECTION
  2700.     AX = 1681h
  2701. Notes:    used to prevent a task switch from occurring
  2702.     should be followed by an INT 2F/AX=1682h call as soon as possible
  2703.     nested calls are allowed, and must be followed by an appropriate number
  2704.       of "end critical section" calls
  2705.     not supported in Windows/386 2.x. Get INDOS flag with INT 21/AH=34h and
  2706.       and increment by hand.
  2707. SeeAlso: AX=1682h,INT 15/AX=101Bh,INT 21/AH=34h
  2708. ----------2F1682-----------------------------
  2709. INT 2F - MS WINDOWS 3+ - END CRITICAL SECTION
  2710.     AX = 1682h
  2711. Notes:    not supported in Windows/386 2.x.  Get InDOS flag with INT 21/AH=34h
  2712.       and decrement by hand, taking care not to decrement InDOS flag
  2713.       through zero
  2714. SeeAlso: AX=1681h,INT 15/AX=101Ch,INT 21/AH=34h
  2715. ----------2F1683-----------------------------
  2716. INT 2F - MS WINDOWS 3+ - GET CURRENT VIRTUAL MACHINE ID
  2717.     AX = 1683h
  2718. Return: BX = current virtual machine (VM) ID
  2719. Notes:    Windows itself currently runs in VM 1, but this can't be relied upon
  2720.     VM IDs are reused when VMs are destroyed
  2721.     an ID of 0 will never be returned
  2722. SeeAlso: AX=1684h,AX=1685h,AX=168Bh
  2723. ----------2F1684-----------------------------
  2724. INT 2F - MS WINDOWS - GET DEVICE API ENTRY POINT
  2725.     AX = 1684h
  2726.     BX = virtual device (VxD) ID (see below)
  2727.     ES:DI = 0000h:0000h
  2728. Return: ES:DI -> VxD API entry point, or 0:0 if the VxD does not support an API
  2729. Note:    some Windows enhanced-mode virtual devices provide services that
  2730.       applications can access.  For example, the Virtual Display Device
  2731.       (VDD) provides an API used in turn by WINOLDAP.
  2732. SeeAlso: AX=1683h
  2733.  
  2734. Values for VxD ID:
  2735.  01h    VMM        Virtual Machine Manager
  2736.  02h    Debug
  2737.  03h    VPICD        Virtual Prog. Interrupt Controller (PIC) Device
  2738.  04h    VDMAD        Virtual Direct Memory Access (DMA) Device
  2739.  05h    VTD        Virtual Timer Device
  2740.  06h    V86MMGR        Virtual 8086 Mode Device
  2741.  07h    PAGESWAP    Paging Device
  2742.  08h    Parity
  2743.  09h    Reboot
  2744.  0Ah    VDD        Virtual Display Device (GRABBER)
  2745.  0Bh    VSD        Virtual Sound Device
  2746.  0Ch    VMD        Virtual Mouse Device
  2747.  0Dh    VKD        Virtual Keyboard Device
  2748.  0Eh    VCD        Virtual COMM Device
  2749.  0Fh    VPD        Virtual Printer Device
  2750.  10h    VHD        Virtual Hard Disk Device
  2751.  11h    VMCPD
  2752.  12h    EBIOS        Reserve EBIOS page (e.g., on PS/2)
  2753.  13h    BIOSXLAT    Map ROM BIOS API between prot & V86 mode
  2754.  14h    VNETBIOS    Virtual NetBIOS Device
  2755.  15h    DOSMGR
  2756.  16h    WINLOAD
  2757.  17h    SHELL
  2758.  18h    VMPoll
  2759.  19h    VPROD
  2760.  1Ah    DOSNET        assures network integrity across VMs
  2761.  1Bh    VFD        Virtual Floppy Device
  2762.  1Ch    VDD2        Secondary display adapter
  2763.  1Dh    WINDEBUG
  2764.  1Eh    TSRLoad        TSR instance utility
  2765. Note:    The high bit of the VxD ID is reserved for future use. The
  2766.     next 10 bits are the OEM # which is assigned by Microsoft. The
  2767.     low 5 bits are the device number. 
  2768.  
  2769. Call VTD.386 entry point with:
  2770.     AX = 0000h get VTD version number
  2771.         Return: AH = major version
  2772.                 AL = minor version
  2773.     AX = 0100h get current clock tick time
  2774.         Return: EDX:EAX = clock tick time in 840ns units since Windows was
  2775.                     started
  2776.     AX = 0101h get current system time in milliseconds
  2777.         Return: EAX = time in milliseconds that Windows has been running
  2778.     AX = 0102h get current virtual machine time
  2779.         Return: EAX = cumulative amount of time the virtual machine has
  2780.                 been active, in milliseconds
  2781. Note:    should only be called directly when TOOLHELP.DLL TimerCount() cannot
  2782.       be called
  2783. ----------2F1685-----------------------------
  2784. INT 2F - MS WINDOWS - SWITCH VMs AND CALLBACK
  2785.     AX = 1685h
  2786.     BX = VM ID of virtual machine to switch to
  2787.     CX = flags
  2788.         bit 0 wait until interrupts enabled
  2789.         bit 1 wait until critical section unowned
  2790.         bits 2-15 reserved (zero)
  2791.     DX:SI = priority boost (see VMM.INC)
  2792.     ES:DI -> FAR procedure to callback
  2793. Return: CF set on error
  2794.         AX = error code
  2795.         01h invalid VM ID
  2796.         02h invalid priority boost
  2797.         03h invalid flags
  2798.     CF clear if successful
  2799.         event will be or has been called
  2800. Notes:    some DOS devices, such as networks, need to call functions in a
  2801.       specific VM. This call forces the appropriate VM to be installed.
  2802.     the callback procedure must preserve all registers and return with IRET
  2803. SeeAlso: AX=1683h,INT 15/AX=1117h
  2804. ----------2F1686-----------------------------
  2805. INT 2F - DOS Protected-Mode Interface - DETECT MODE
  2806.     AX = 1686h
  2807. Return: AX = 0000h if operating in protected mode under DPMI (INT 31 available)
  2808.     AX nonzero if in real/V86 mode or no DPMI (INT 31 not available)
  2809. SeeAlso: AX=1687h
  2810. ----------2F1687-----------------------------
  2811. INT 2F - DOS Protected-Mode Interface - INSTALLATION CHECK
  2812.     AX = 1687h
  2813. Return: AX = 0000h if installed
  2814.         BX = flags
  2815.         bit 0: 32-bit programs supported
  2816.         CL = processor type (02h=80286, 03h=80386, 04h=80486)
  2817.         DH = DPMI major version
  2818.         DL = two-digit DPMI minor version
  2819.         SI = number of paragraphs of DOS extender private data
  2820.         ES:DI -> DPMI mode-switch entry point
  2821.     AX nonzero if not installed
  2822. SeeAlso: AX=1686h,INT 38/AH=10h
  2823.  
  2824. Call mode switch entry point with:
  2825.     AX = flags
  2826.         bit 0: set if 32-bit program
  2827.     ES = real mode segment of buffer for DPMI private data (ignored if
  2828.         SI was zero)
  2829. Return: CF set on error
  2830.         program still in real mode
  2831.         AX = error code (DPMI 1.0+)
  2832.            8011h unable to allocate all necessary descriptors
  2833.            8021h 32-bit program specified, but 16-bit DPMI host
  2834.     CF clear if successful
  2835.         CS = 16-bit selector corresponding to real-mode CS
  2836.         SS = selector corresponding to real-mode SS (64K limit)
  2837.         DS = selector corresponding to real-mode DS (64K limit)
  2838.         ES = selector to program's PSP (100h byte limit)
  2839.         FS = GS = 0
  2840.         high word of ESP = 0 if 32-bit program
  2841.         program now in protected mode
  2842. Note:    this entry point is only called for the initial switch to protected
  2843.       mode
  2844. ----------2F1688-----------------------------
  2845. INT 2F U - MS Windows 3.0, 386MAX v6.01 - GET SELECTOR TO LDT
  2846.     AX = 1688h
  2847. Return: AX = status??? (0000h for 386MAX)
  2848.     BX = selector for ???
  2849. ----------2F1689-----------------------------
  2850. INT 2F U - MS Windows 3.0+ - KERNEL IDLE CALL
  2851.     AX = 1689h
  2852.     ???
  2853. Return: ???
  2854. ----------2F168A-----------------------------
  2855. INT 2F - DPMI 0.9+ - GET VENDOR-SPECIFIC API ENTRY POINT
  2856.     AX = 168Ah
  2857.     DS:(E)SI = selector:offset of ASCIZ vendor name
  2858. Return: AL = status
  2859.         00h successful
  2860.            ES:(E)DI -> extended API entry point
  2861.         8Ah unsuccessful
  2862. Notes:    the vendor name is used to determine which entry point to return; it is
  2863.       case-sensitive
  2864.     available in protected mode only
  2865.     32-bit applications use ESI and EDI, 16-bit applications use SI and DI
  2866.     this call is present but not documented for DPMI 0.9
  2867. SeeAlso: INT 31/AX=0A00h
  2868.  
  2869. Vendor names:
  2870.  "MS-DOS"    ??? and 386MAX v6.00+
  2871.  "386MAX"    386MAX v6.00+
  2872. ----------2F168B-----------------------------
  2873. INT 2F - MS Windows 3.1 - SET FOCUS TO SPECIFIED VIRTUAL MACHINE
  2874.     AX = 168Bh
  2875.     ???
  2876. Return: ???
  2877. SeeAlso: AX=1683h
  2878. ----------2F168C-----------------------------
  2879. INT 2F - MS Windows 3.1 - RESTART COMMAND
  2880.     AX = 168Ch
  2881.     ???
  2882. Return: ???
  2883. Note:    WIN.COM executes specified application
  2884. ----------2F1700-----------------------------
  2885. INT 2F - MS WINDOWS "WINOLDAP" - IDENTIFY WinOldAp VERSION
  2886.     AX = 1700h
  2887. Return: AX = 1700h if this version of WINOLDAP doesn't support clipboard
  2888.     AX <> 1700h
  2889.         AL = WINOLDAP major version
  2890.         AH = WINOLDAP minor version
  2891. Notes:    WinOldAp (WINOLDAP.MOD) is a Microsoft Windows extension supporting
  2892.       "old" (character-mode) application access to Dynamic Data Exchange,
  2893.       menus, and the Windows clipboard.
  2894.     this installation check DOES NOT follow the format used by other
  2895.       software
  2896. ----------2F1701-----------------------------
  2897. INT 2F - MS WINDOWS "WINOLDAP" - OPEN CLIPBOARD
  2898.     AX = 1701h
  2899. Return:    AX <> 0     success
  2900.     AX = 0     clipboard is already open
  2901. ----------2F1702-----------------------------
  2902. INT 2F - MS WINDOWS "WINOLDAP" - EMPTY CLIPBOARD
  2903.     AX = 1702h
  2904. Return: AX <> 0     clipboard has been emptied
  2905.     AX = 0     failure
  2906. ----------2F1703-----------------------------
  2907. INT 2F - MS WINDOWS "WINOLDAP" - SET CLIPBOARD DATA
  2908.     AX = 1703h
  2909.     DX = clipboard format supported by WinOldAp:
  2910.         01h text
  2911.         02h bitmap
  2912.         03h metafile picture
  2913.         04h SYLK
  2914.         05h DIF
  2915.         06h TIFF
  2916.         07h OEM text
  2917.     ES:BX -> data (see below)
  2918.     SI:CX = size of data
  2919. Return: AX <> 0 data copied into the Clipboard
  2920.     AX = 0 failure
  2921.  
  2922. Format of bitmap:
  2923. Offset    Size    Description
  2924.  00h    WORD    type (0000h)
  2925.  02h    WORD    width of bitmap in pixels
  2926.  04h    WORD    height of bitmap in pixels
  2927.  06h    WORD    bytes per line
  2928.  08h    BYTE    number of color planes
  2929.  09h    BYTE    number of adjacent color bits in pixel
  2930.  0Ah    DWORD    pointer to start of data
  2931.  0Eh    WORD    width in 0.1mm units
  2932.  10h    WORD    height in 0.1mm units
  2933.  12h  N BYTEs    bitmap data
  2934.  
  2935. Format of metafile picture:
  2936. Offset    Size    Description
  2937.  00h    WORD    mapping mode
  2938.  02h    WORD    X extent
  2939.  04h    WORD    Y extent
  2940.  06h    WORD    picture data
  2941. ----------2F1704-----------------------------
  2942. INT 2F - MS WINDOWS "WINOLDAP" - GET CLIPBOARD DATA SIZE
  2943.     AX = 1704h
  2944.     DX = clipboard format supported by WinOldAp (see AX=1703h)
  2945. Return:     DX:AX = size of data in bytes, including any headers
  2946. Failure: DX:AX = 0  no data in this format in the Clipboard
  2947. ----------2F1705-----------------------------
  2948. INT 2F - MS WINDOWS "WINOLDAP" - GET CLIPBOARD DATA
  2949.     AX = 1705h
  2950.     DX = clipboard format supported by WinOldAp (see AX=1703h)
  2951.     ES:BX -> buffer
  2952. Return: AX <> 0     success
  2953.     AX = 0     error, or no data in this format in Clipboard
  2954. ----------2F1708-----------------------------
  2955. INT 2F - MS WINDOWS "WINOLDAP" - CloseClipboard
  2956.     AX = 1708h
  2957. Return: AX <> 0 success
  2958.     AX = 0 failure
  2959. ----------2F1709-----------------------------
  2960. INT 2F - MS WINDOWS "WINOLDAP" - COMPACT CLIPBOARD
  2961.     AX = 1709h
  2962.     SI:CX = desired size in bytes
  2963. Return: DX:AX = number of bytes in largest block of free memory
  2964. Note:    WinOldAp is responsible for including the size of any headers
  2965. ----------2F170A-----------------------------
  2966. INT 2F - MS WINDOWS "WINOLDAP" - GET DEVICE CAPABILITIES
  2967.     AX = 170Ah
  2968.     DX = GDI information index
  2969.         00h device driver version
  2970.         02h device classification
  2971.         04h width in mm
  2972.         06h height in mm
  2973.         08h width in pixels
  2974.         0Ah height in pixels
  2975.         0Ch bits per pixel
  2976.         0Eh number of bit planes
  2977.         10h number of brushes supported by device
  2978.         12h number of pens supported by device
  2979.         14h number of markers supported by device
  2980.         16h number of fonts supported by device
  2981.         18h number of colors
  2982.         1Ah size required for device descriptor
  2983.         1Ch curve capabilities
  2984.         1Eh line capabilities
  2985.         20h polygon capabilities
  2986.         22h text capabilities
  2987.         24h clipping capabilities
  2988.         26h bitblt capabilities
  2989.         28h X aspect
  2990.         2Ah Y aspect
  2991.         2Ch length of hypotenuse of aspect
  2992.         58h logical pixels per inch of width
  2993.         5Ah logical pixels per inch of height
  2994. Return:     AX = integer value of the desired item
  2995.         device classification
  2996.             00h vector plotter
  2997.             01h raster display
  2998.             02h raster printer
  2999.             03h raster camera
  3000.             04h character-stream, PLP
  3001.             05h Metafile, VDM
  3002.             06h display-file
  3003.         curve capabilities
  3004.             bit 0  circles
  3005.             bit 1  pie wedges
  3006.             bit 2  chord arcs
  3007.             bit 3  ellipses
  3008.             bit 4  wide lines
  3009.             bit 5  styled lines
  3010.             bit 6  wide styled lines
  3011.             bit 7  interiors
  3012.         line capabilities
  3013.             bit 1  polylines
  3014.             bit 2  markers
  3015.             bit 3  polymarkers
  3016.             bit 4  wide lines
  3017.             bit 5  styled lines
  3018.             bit 6  wide styled lines
  3019.             bit 7  interiors
  3020.         polygon capabilities
  3021.             bit 0  polygons
  3022.             bit 1  rectangles
  3023.             bit 2  trapezoids
  3024.             bit 3  scanlines
  3025.             bit 4  wide borders
  3026.             bit 5  styled borders
  3027.             bit 6  wide styled borders
  3028.             bit 7  interiors
  3029.         text capabilities
  3030.             bit 0  output precision character
  3031.             bit 1  output precision stroke
  3032.             bit 2  clippping precision stroke
  3033.             bit 3  90-degree character rotation
  3034.             bit 4  arbitrary character rotation
  3035.             bit 5  independent X and Y scaling
  3036.             bit 6  double-size
  3037.             bit 7  integer scaling
  3038.             bit 8  continuous scaling
  3039.             bit 9  bold
  3040.             bit 10 italic
  3041.             bit 11 underline
  3042.             bit 12 strikeout
  3043.             bit 13 raster fonts
  3044.             bit 14 vector fonts
  3045.             bit 15 reserved
  3046.         clipping capabilities
  3047.             00h none
  3048.             01h clipping to rectangles
  3049.         raster capabilities
  3050.             bit 0  simple bitBLT
  3051.             bit 1  device requires banding support
  3052.             bit 2  device requires scaling support
  3053.             bit 3  supports >64K bitmap
  3054. Note:  This function returns the device-capability bits for the given display
  3055. ----------2F1900-----------------------------
  3056. INT 2F U - DOS 4.x only SHELLB.COM - INSTALLATION CHECK
  3057.     AX = 1900h
  3058. Return: AL = 00h  not installed
  3059.          FFh  installed
  3060. ----------2F1901BL00-------------------------
  3061. INT 2F U - DOS 4.x only SHELLB.COM - SHELLC.EXE INTERFACE
  3062.     AX = 1901h
  3063.     BL = 00h if SHELLC transient
  3064.          01h if SHELLC resident
  3065.     DS:DX -> far call entry point for resident SHELLC.EXE
  3066. Return: ES:DI -> SHELLC.EXE workspace within SHELLB.COM
  3067. Note:    SHELLB.COM and SHELLC.EXE are parts of the DOS 4.x shell
  3068. ----------2F1902-----------------------------
  3069. INT 2F U - DOS 4.x only SHELLB.COM - COMMAND.COM INTERFACE
  3070.     AX = 1902h
  3071.     ES:DI -> ASCIZ full filename of current batch file, with at least the
  3072.          final filename element uppercased
  3073.     DS:DX -> buffer for results
  3074. Return: AL = 00h  failed, either
  3075.           (a) final filename element quoted at ES:DI does not match
  3076.               identity of shell batch file quoted as parameter of most
  3077.               recent call of SHELLB command, or
  3078.           (b) no more Program Start Commands available.
  3079.     AL= FFh     success, then:
  3080.         memory at DS:[DX+1] onwards filled as:
  3081.         DX+1:    BYTE    count of bytes of PSC
  3082.         DX+2: N BYTEs    Program Start Command text
  3083.             BYTE    0Dh terminator 
  3084. Explanation: COMMAND.COM executes the result of this call in preference to 
  3085.     reading a command from a batch file. Thus the batch file does not
  3086.     advance in execution for so long as SHELLB provides PSCs from its
  3087.     workspace. The PSCs are planted in SHELLB workspace by SHELLC, the user
  3088.     menu interface. The final PSC of a sequence is finished with a 
  3089.     GOTO COMMON, which causes a loop back in the batch file which called
  3090.     SHELLC so as to execute SHELLC again. The check on batch file name
  3091.     permits PSCs to CALL nested batch files while PSCs are still stacked
  3092.     up for subsequent execution.
  3093. ----------2F1903-----------------------------
  3094. INT 2F U - DOS 4.x only SHELLB.COM - COMMAND.COM interface
  3095.     AX = 1903h
  3096.     ES:DI -> ASCIZ batch file name as for AX=1902h
  3097. Return: AL = FFh if quoted batch file name matches last SHELLB parameter
  3098.     AL = 00h if it does not
  3099. ----------2F1904-----------------------------
  3100. INT 2F U - DOS 4.x only SHELLB.COM - SHELLB transient to TSR intrface
  3101.     AX = 1904h
  3102. Return: ES:DI -> name of current shell batch file:
  3103.         WORD    number of bytes of name following
  3104.         BYTEs    (8 max) uppercase name of shell batch file
  3105. ----------2F1A00-----------------------------
  3106. INT 2F - DOS 4+ ANSI.SYS - INSTALLATION CHECK
  3107.     AX = 1A00h
  3108. Return: AL = FFh if installed
  3109. Notes:    AVATAR.SYS also responds to this call
  3110.     documented for DOS 5+, but undocumented for DOS 4.x
  3111. ----------2F1A00BX4156-----------------------
  3112. INT 2F - AVATAR.SYS - INSTALLATION CHECK
  3113.     AX = 1A00h
  3114.     BX = 4156h ('AV')
  3115.     CX = 4154h ('AT')
  3116.     DX = 4152h ('AR')
  3117. Return: AL = FFh if installed
  3118.         CF clear
  3119.         BX = AVATAR protocol level supported
  3120.         CX = driver type
  3121.         0000h AVATAR.SYS
  3122.         4456h DVAVATAR.COM inside DESQview window
  3123.         DX = 0016h
  3124. Notes:    AVATAR also identifies itself as ANSI.SYS if BX, CX, or DX differ from
  3125.       the magic values
  3126.     AVATAR.SYS is a CON replacement by George Adam Stanislav which
  3127.       interprets AVATAR command codes in the same way that ANSI interprets
  3128.       ANSI command codes
  3129. ----------2F1A01-----------------------------
  3130. INT 2F U - DOS 4+ ANSI.SYS internal - GET/SET DISPLAY INFORMATION
  3131.     AX = 1A01h
  3132.     CL = function
  3133.         7Fh for GET
  3134.         5Fh for SET
  3135.     DS:DX -> parm block as for INT 21,AX=440Ch,CX=037Fh/035Fh respectively
  3136. Return: CF set on error
  3137.         AX = error code (many non-standard)
  3138.     CF clear if successful
  3139.         AX destroyed
  3140. Note:    presumably this is the DOS IOCTL interface to ANSI.SYS
  3141. SeeAlso: AX=1A02h,INT 21/AX=440Ch
  3142. ----------2F1A02-----------------------------
  3143. INT 2F U - DOS 4+ ANSI.SYS internal - MISCELLANEOUS REQUESTS
  3144.     AX = 1A02h
  3145.     DS:DX -> parameter block (see below)
  3146. Note:    DOS 5.0 chains to previous handler if AL > 02h on call
  3147. SeeAlso: AX=1A01h
  3148.  
  3149. Format of parameter block:
  3150. Offset    Size    Description
  3151.  00h    BYTE    subfunction
  3152.         00h set/reset interlock
  3153.         01h get /L flag
  3154.  01h    BYTE    interlock state
  3155.         00h=reset, 01h=set
  3156.           This interlock prevents some of the ANSI.SYS post-processing
  3157.           in its hook onto INT 10, AH=00h mode set
  3158.  02h    BYTE    (returned)
  3159.         00h if /L not in effect
  3160.         01h if /L in effect
  3161. ----------2F1A21-----------------------------
  3162. INT 2F - AVATAR.SYS - SET DRIVER STATE
  3163.     AX = 1A21h (AL='!')
  3164.     DS:SI -> command string with one or more state characters
  3165.     CX = length of command string
  3166. Return: CF set on error (invalid subfunction)
  3167.     CF clear if successful
  3168. Note:    the characters in the state string are interpreted left to right, and
  3169.       need not be in any particular order
  3170. SeeAlso: AX=1A3Fh
  3171.  
  3172. Values of state characters:
  3173.  'a'    activate driver
  3174.  'd'    disable driver
  3175.  'f'    use fast screen output
  3176.  'g'    always convert gray keys (+ and -) to function keys
  3177.  'G'    never convert gray keys
  3178.  'l'    convert gray keys only when ScrollLock active
  3179.  's'    use slow screen output
  3180.  't'    Tandy 1000 keyboard (not yet implemented)
  3181. ----------2F1A3C-----------------------------
  3182. INT 2F U - AVATAR.SYS v0.11 - ???
  3183.     AX = 1A3Ch
  3184.     ???
  3185. Return: CX = 0000h
  3186. ----------2F1A3E-----------------------------
  3187. INT 2F U - AVATAR.SYS v0.11 - ???
  3188.     AX = 1A3Eh
  3189.     CL = ???
  3190.     CH = ???
  3191.     DL = ???
  3192.     DH = ???
  3193. Return: CL = ???
  3194.     CH = ???
  3195.     DL = ???
  3196.     DH = ???
  3197. ----------2F1A3F-----------------------------
  3198. INT 2F - AVATAR.SYS - QUERY DRIVER STATE
  3199.     AX = 1A3Fh (AL='?')
  3200.     ES:DI -> buffer
  3201.     CX = length of buffer in bytes
  3202. Return: CF clear
  3203.     CX = actual size of returned info
  3204. Note:    the returned information consists of multiple letters whose meanings
  3205.       are described under AX=1A21h
  3206. SeeAlso: AX=1A21h
  3207. ----------2F1A42BX4156-----------------------
  3208. INT 2F - AVATAR Serial Dispatcher - INSTALL IRQ3 HANDLER
  3209.     AX = 1A42h
  3210.     BX = 4156h ('AV')
  3211.     ES:DI -> FAR handler for serial port using IRQ3
  3212.     DS = data segment needed by handler
  3213. Return: AX = 1A42h if ASD not installed
  3214.        = 0000h if no more room
  3215.        else handle to use when uninstalling
  3216. Notes:    the handler need not save/restore registers or signal EOI to the
  3217.       interrupt controller
  3218.     the handler should return AX=0000h if the interrupt was meant for it,
  3219.       and either leave AX unchanged or return a non-zero value otherwise
  3220.     the most recently installed handler will be called first, continuing
  3221.       to earlier handlers until one returns AX=0000h
  3222. SeeAlso: AX=1A43h,AX=1A62h
  3223. ----------2F1A43BX4156-----------------------
  3224. INT 2F - AVATAR Serial Dispatcher - INSTALL IRQ4 HANDLER
  3225.     AX = 1A43h
  3226.     BX = 4156h ('AV')
  3227.     ES:DI -> FAR handler for serial port using IRQ4
  3228.     DS = data segment needed by handler
  3229. Return: AX = 1A43h if ASD not installed
  3230.        = 0000h if no more room
  3231.        else handle to use when uninstalling
  3232. Notes:    (see AX=1A42h)
  3233. SeeAlso: AX=1A42h,AX=1A63h
  3234. ----------2F1A44BX4156-----------------------
  3235. INT 2F - AVATAR.SYS v0.11+ - GET DATA SEGMENT
  3236.     AX = 1A44h
  3237.     BX = 4156h ('AV')
  3238. Return: AX = 0000h
  3239.     DS = data segment
  3240.     CX = size of data segment
  3241. Note:    AVATAR.SYS calls this function whenever it is invoked.    If each
  3242.       process under a multitasker hooks this function and provides a
  3243.       separate data segment, AVATAR.SYS becomes fully reentrant.
  3244. SeeAlso: AX=1A21h,AX=1A3Fh
  3245. ----------2F1A52-----------------------------
  3246. INT 2F U - AVATAR.SYS v0.11 - GET ???
  3247.     AX = 1A52h
  3248.     CX = size of buffer
  3249.     ES:DI -> buffer
  3250. Return: ??? copied into user buffer
  3251. Note:    the maximum size of the data which may be copied is returned by
  3252.       AX=1A72h
  3253. SeeAlso: AX=1A72h
  3254. ----------2F1A53-----------------------------
  3255. INT 2F U - AVATAR.SYS v0.11 - ???
  3256.     AX = 1A53h
  3257.     CL = ??? (00h-05h)
  3258.     ???
  3259. Return: ???
  3260. ----------2F1A62BX4156-----------------------
  3261. INT 2F - AVATAR Serial Dispatcher - UNINSTALL IRQ3 HANDLER
  3262.     AX = 1A62h
  3263.     BX = 4156h ('AV')
  3264.     CX = handle for IRQ routine returned by AX=1A42h
  3265. SeeAlso: AX=1A42h,AX=1A63h
  3266. ----------2F1A63BX4156-----------------------
  3267. INT 2F - AVATAR Serial Dispatcher - UNINSTALL IRQ4 HANDLER
  3268.     AX = 1A63h
  3269.     BX = 4156h ('AV')
  3270.     CX = handle for IRQ routine returned by AX=1A43h
  3271. SeeAlso: AX=1A43h,AX=1A62h
  3272. ----------2F1A72-----------------------------
  3273. INT 2F U - AVATAR.SYS v0.11 - GET ??? SIZE
  3274.     AX = 1A72h
  3275. Return: CX = maximum size of ???
  3276. SeeAlso: AX=1A52h
  3277. ----------2F1A7B-----------------------------
  3278. INT 2F U - AVATAR.SYS v0.11 - ???
  3279.     AX = 1A7Bh
  3280. Return: AX = 0000h
  3281.     CX = 0000h
  3282. ----------2F1A7D-----------------------------
  3283. INT 2F U - AVATAR.SYS v0.11 - ???
  3284.     AX = 1A7Dh
  3285. Return: AX = ???
  3286. ----------2F1AADDX0000-----------------------
  3287. INT 2F U - AVATAR.SYS v0.11 - ???
  3288.     AX = 1AADh
  3289.     DX = 0000h
  3290.     CX = subfunction (00h-0Ch)
  3291.     ???
  3292. Return: AX = 0000h if DX was nonzero
  3293.     ???
  3294. ----------2F1B00-----------------------------
  3295. INT 2F U - DOS 4+ XMA2EMS.SYS extension internal - INSTALLATION CHECK
  3296.     AX = 1B00h
  3297. Return: AL = FFh if installed
  3298. Note:    XMA2EMS.SYS extension is only installed if DOS has page frames to hide.
  3299.     This extension hooks onto INT 67/AH=58h and returns from that call data
  3300.       which excludes the physical pages being used by DOS.
  3301. SeeAlso: AH=1Bh"FRAME INFO"
  3302. ----------2F1B-------------------------------
  3303. INT 2F U - DOS 4+ XMA2EMS.SYS extension internal - GET HIDDEN FRAME INFORMATION
  3304.     AH = 1Bh
  3305.     AL <> 00h
  3306.     DI = hidden physical page number
  3307. Return: AX = FFFFh if failed (no such hidden page)
  3308.     AX = 0000h if OK, then
  3309.          ES = segment of page frame
  3310.          DI = physical page number
  3311. Notes:    this corresponds to the data edited out of the INT 67/AH=58h call
  3312.     FASTOPEN makes this call with AL = FFh
  3313. SeeAlso: AX=1B00h
  3314. ----------2F2300-----------------------------
  3315. INT 2F - DR-DOS 5.0 GRAFTABL - INSTALLATION CHECK
  3316.     AX = 2300h
  3317. Return: AH = FFh
  3318. Note:    this installation check does not follow the usual format
  3319. SeeAlso: AH=23h
  3320. ----------2F23-------------------------------
  3321. INT 2F - DR-DOS 5.0 GRAFTABL - GET GRAPHICS DATA
  3322.     AH = 23h
  3323.     AL nonzero
  3324. Return: AH = FFh
  3325.     ES:BX -> graphics data
  3326. SeeAlso: AX=2300h
  3327. ----------2F2700-----------------------------
  3328. INT 2F - DR-DOS 6.0 TaskMAX - INSTALLATION CHECK
  3329.     AX = 2700h
  3330. Return: AL = 00h not installed
  3331.        = FFh installed
  3332. ----------2F2701-----------------------------
  3333. INT 2F - DR-DOS 6.0 TaskMAX - GET STATUS
  3334.     AX = 2701h
  3335. Return: AX = maximum simultaneous tasks
  3336.     BX = index into TASK_IDS of current foreground task
  3337.     CX = currently-active tasks
  3338.     DX = version number (DR-DOS 6.0 = 0001h)
  3339.     ES:SI -> TASK_IDS
  3340.     ES:DI -> name table (array of 8-byte names, NUL-terminated if <8 chars)
  3341. Notes:    do not attempt to create a new task if CX == AX
  3342.     the task's index is its position on the task menu, while its ID is the
  3343.       position within the internal task name table
  3344. SeeAlso: AX=2714h,AX=2716h
  3345. ----------2F2702-----------------------------
  3346. INT 2F - DR-DOS 6.0 TaskMAX - GET PER-TASK EMS LIMIT
  3347.     AX = 2702h
  3348. Return: DX = maximum pages INT 67/AH=42h will report available
  3349. Note:    TaskMAX does not limit EMS allocations other than by limiting the
  3350.       amount which is reported as being available at a given time
  3351. SeeAlso: AX=2703h,INT 67/AH=42h
  3352. ----------2F2703-----------------------------
  3353. INT 2F - DR-DOS 6.0 TaskMAX - SET PER-TASK EMS LIMIT
  3354.     AX = 2703h
  3355.     DX = maximum pages INT 67/AH=42h should report available
  3356. Return: DX = new maximum for reporting
  3357. SeeAlso: AX=2702h,INT 67/AH=42h
  3358. ----------2F2704-----------------------------
  3359. INT 2F - DR-DOS 6.0 TaskMAX - REGISTER/UNREGISTER TASK MANAGER
  3360.     AX = 2704h
  3361.     DL = subfunction
  3362.         00h unregister task manager
  3363.         01h register task manager
  3364. Return: DL = status
  3365.         00h registered
  3366.         01h unregistered
  3367. Notes:    a task manager replaces TaskMAX's menu system with its own user
  3368.       interface; while one is registered, the TaskMAX hotkeys and
  3369.       Ctrl-Alt-Del invoke the manager rather than the built-in menu system
  3370.     unregister the task manager before terminating it
  3371. SeeAlso: AX=2705h
  3372. ----------2F2705-----------------------------
  3373. INT 2F - DR-DOS 6.0 TaskMAX - ENABLE/DISABLE DIRECT SWITCHING
  3374.     AX = 2705h
  3375.     DL = subfunction
  3376.         00h disable keystrokes for switching to next/prev/specified task
  3377.         01h enable
  3378. Return: nothing
  3379. Note:    should only be called by a registered task manager (see AX=2704h)
  3380. SeeAlso: AX=2704h,AX=2706h
  3381. ----------2F2706-----------------------------
  3382. INT 2F - DR-DOS 6.0 TaskMAX - SWITCH TO SPECIFIED TASK
  3383.     AX = 2706h
  3384.     DX = task index (see AX=2701h) of task to be activated
  3385. Return: DX = task index of previously-active task
  3386. SeeAlso: AX=2705h,AX=2707h,AX=2715h
  3387. ----------2F2707-----------------------------
  3388. INT 2F - DR-DOS 6.0 TaskMAX - CREATE NEW TASK
  3389.     AX = 2707h
  3390.     DS:DX -> ASCIZ pathname of executable
  3391.     ES:BX -> parameter block (see below)
  3392.     CX = number of ticks before automatic return to task manager
  3393.         (0000h = run until termination or explicitly switched)
  3394. Return: DX = new task's task index (FFFFh if task terminated)
  3395. SeeAlso: AX=2706h,AX=2708h
  3396.  
  3397. Format of parameter block:
  3398. Offset    Size    Description
  3399.  00h    WORD    reserved, should be 0000h
  3400.  02h    DWORD    pointer to command tail to be copied into child's PSP
  3401.  06h    DWORD    pointer to first FCB to be copied into child's PSP
  3402.  0Ah    DWORD    pointer to second FCB to be copied into child's PSP
  3403. ----------2F2708-----------------------------
  3404. INT 2F - DR-DOS 6.0 TaskMAX - DELETE TASK
  3405.     AX = 2708h
  3406.     DX = task index
  3407. Return: DX = FFFFh (task deleted)
  3408. Notes:    this call should only be used for abnormal task termination, after
  3409.       first checking for open files with AX=270Ch; should not be used
  3410.       with programs that allocate EMS or XMS memory
  3411.     switches to specified task first
  3412. SeeAlso: AX=2707h
  3413. ----------2F2709-----------------------------
  3414. INT 2F - DR-DOS 6.0 TaskMAX - NAME TASK
  3415.     AX = 2709h
  3416.     DX = task index
  3417.     DS:SI -> 8-byte name (8 NULs = remove name)
  3418. Return: AL = task flags
  3419.         00h ID unused or task terminated
  3420.         01h ID in use, task name table entry valid
  3421.         81h ID in use, task name fixed
  3422.     BX = task ID
  3423.     ES:DI -> name in task name table (see AX=2701h)
  3424. Note:    the task retains the given name until it terminates or the name is
  3425.       removed by specifying a name of 8 NULs.
  3426. SeeAlso: AX=2701h,AX=2707h
  3427. ----------2F270A-----------------------------
  3428. INT 2F - DR-DOS 6.0 TaskMAX - CONVERT TASK INDEX TO TASK ID
  3429.     AX = 270Ah
  3430.     DX = task index
  3431. Return: DX = task ID (FFFFh if index invalid)
  3432. Note:    task IDs stay constant, while indexes can change when other tasks are
  3433.       deleted
  3434. SeeAlso: AX=2701h,AX=270Bh
  3435. ----------2F270B-----------------------------
  3436. INT 2F - DR-DOS 6.0 TaskMAX - CONVERT TASK ID TO TASK INDEX
  3437.     AX = 270Bh
  3438.     DX = task ID
  3439. Return: DX = task index (FFFFh if task not active)
  3440. SeeAlso: AX=270Ah
  3441. ----------2F270C-----------------------------
  3442. INT 2F - DR-DOS 6.0 TaskMAX - CHECK OPEN FILES
  3443.     AX = 270Ch
  3444.     DX = task index
  3445. Return: AX = number of files currently open for specified task
  3446. SeeAlso: AX=2708h
  3447. ----------2F270D-----------------------------
  3448. INT 2F - DR-DOS 6.0 TaskMAX - CHECK IF TASK RUNNING PRIMARY COMMAND INTERPRETER
  3449.     AX = 270Dh
  3450.     DX = task index
  3451. Return: DX = status
  3452.         0000h if primary command interpreter (COMMAND.COM, etc.) running
  3453.         0001h if not in root shell for task
  3454. Note:    TaskMAX will return 0001h if the specified task has spawned another
  3455.       command interpreter with AX=2707h
  3456. SeeAlso: AX=2707h,AX=270Ch
  3457. ----------2F270E-----------------------------
  3458. INT 2F - DR-DOS 6.0 TaskMAX - GET/SET TEXT PASTE LEAD-IN
  3459.     AX = 270Eh
  3460.     CX = length of string (max 15 keystrokes, 0000h to get current string)
  3461.     DS:SI -> pasting lead-in string (character/scan-code pairs)
  3462. Return: ES:DI -> current lead-in string
  3463. Note:    the specified sequence of keystrokes is sent to the application before
  3464.       every line of a text-mode spreadsheet paste
  3465. SeeAlso: AX=270Fh,AX=2710h,AX=2713h
  3466. ----------2F270F-----------------------------
  3467. INT 2F - DR-DOS 6.0 TaskMAX - GET/SET NUMERIC PASTE LEAD-IN
  3468.     AX = 270Fh
  3469.     CX = length of string (max 15 keystrokes, 0000h to get current string)
  3470.     DS:SI -> pasting lead-in string (character/scan-code pairs)
  3471. Return: ES:DI -> current lead-in string
  3472. Note:    the specified sequence of keystrokes is sent to the application before
  3473.       every number in a numeric-mode spreadsheet paste
  3474. SeeAlso: AX=270Eh,AX=2710h,AX=2711h,AX=2713h
  3475. ----------2F2710-----------------------------
  3476. INT 2F - DR-DOS 6.0 TaskMAX - GET/SET PASTE LINE TERMINATOR STRING
  3477.     AX = 2710h
  3478.     CX = length of string (max 15 keystrokes, 0000h to get current string)
  3479.     DS:SI -> pasting lead-in string (character/scan-code pairs)
  3480. Return: ES:DI -> current lead-in string
  3481. Note:    the specified sequence of keystrokes is sent to the application after
  3482.       every line of a spreadsheet paste operation
  3483. SeeAlso: AX=270Eh,AX=270Fh,AX=2713h
  3484. ----------2F2711-----------------------------
  3485. INT 2F - DR-DOS 6.0 TaskMAX - GET/SET NUMERIC PASTE DECIMAL POINT
  3486.     AX = 2711h
  3487.     DX = ASCII code for separator (FFFFh to get current)
  3488. Return: DL = current separator character
  3489. SeeAlso: AX=270Fh
  3490. ----------2F2712-----------------------------
  3491. INT 2F - DR-DOS 6.0 TaskMAX - INITIATE EXPORTING TASK DATA
  3492.     AX = 2712h
  3493.     DX = task index
  3494. ----------2F2713-----------------------------
  3495. INT 2F - DR-DOS 6.0 TaskMAX - INITIATE PASTE OPERATION
  3496.     AX = 2713h
  3497.     DX = task index
  3498.     CX = past mode
  3499.         0000h alphanumeric
  3500.         0001h numeric
  3501.         0002h text
  3502. SeeAlso: AX=270Eh,AX=270Fh,AX=2710h,AX=2711h
  3503. ----------2F2714-----------------------------
  3504. INT 2F - DR-DOS 6.0 TaskMAX - GET SWAP SPACE INFO
  3505.     AX = 2714h
  3506. Return: CX = total KB of swap space
  3507.     DX = available KB of swap space
  3508. SeeAlso: AX=2701h
  3509. ----------2F2715-----------------------------
  3510. INT 2F - DR-DOS 6.0 TaskMAX - SWITCH TO TASK MANAGER
  3511.     AX = 2715h
  3512. Return: only after calling task is again selected
  3513. SeeAlso: AX=2706h
  3514. ----------2F2716-----------------------------
  3515. INT 2F - DR-DOS 6.0 TaskMAX - GET PASTE BUFFER STATUS
  3516.     AX = 2716h
  3517. Return: AX = 0000h if AX=2716h,AX=2717h,AX=2718h supported
  3518.         CX = bytes in paste buffer
  3519.         DX = current generation number (updated after every copy operation)
  3520. SeeAlso: AX=2701h,AX=2713h,AX=2714h,AX=2717h,AX=2718h
  3521. ----------2F2717-----------------------------
  3522. INT 2F - DR-DOS 6.0 TaskMAX - PASTE DATA DIRECTLY TO APPLICATION BUFFER
  3523.     AX = 2717h
  3524.     CX = bytes in destination buffer
  3525.     ES:DI -> destination buffer
  3526. Return: AX = 0000h if function supported
  3527.         CX = bytes actually copied (FFFFh if buffer too small)
  3528.         DX = current generation number for paste buffer
  3529. Note:    the destination buffer may be too small if another task adds more data
  3530.       to the paste buffer after the AX=2716h call but before this call
  3531. SeeAlso: AX=2713h,AX=2716h,AX=2718h
  3532. ----------2F2718-----------------------------
  3533. INT 2F - DR-DOS 6.0 TaskMAX - COPY DATA DIRECTLY INTO PASTE BUFFER
  3534.     AX = 2718h
  3535.     CX = bytes in source buffer
  3536.     DS:SI -> source buffer (plain ASCII, lines terminated with CR LF)
  3537. Return: AX = 0000h if function supported
  3538.         CX = bytes actually copied
  3539.         DX = current generation number for paste buffer
  3540. SeeAlso: AX=2712h,AX=2716h,AX=2717h
  3541. ----------2F2A-------------------------------
  3542. INT 2F - Gammafax DOS Dispatcher INTERFACE
  3543.     AH = 2Ah
  3544. Note:    details not available at this time
  3545. SeeAlso: AX=8000h"FaxBIOS",AX=C000h"MTEZ",AX=CB00h,AX=CBDDh,INT 66"BitFax"
  3546. ----------2F3900-----------------------------
  3547. INT 2F - Kingswood TSR INTERFACE - COMPATIBILITY MODE
  3548.     AX = 3900h
  3549. Return: AL = status
  3550.         00h not installed
  3551.         FFh one or more TSRs using this interface is installed
  3552. Note:    this function is provided to that the multiplex number will appear used
  3553.       to other programs
  3554. SeeAlso: AH=39h/BL=00h
  3555. ----------2F39--BL00-------------------------
  3556. INT 2F - Kingswood TSR INTERFACE - INSTALLATION CHECK
  3557.     AH = 39h
  3558.     BL = 00h
  3559.     AL = TSR ID number (01h-FFh, currently only 01h-0Eh used) (see below)
  3560. Return: AL = status
  3561.         00h not installed
  3562.         FFh installed
  3563.         DX = segment address of resident module
  3564. Note:    All of Kingswood Software's TSRs use this interface.  Usually the
  3565.       resident module is installed by allocating a block of upper memory,
  3566.       setting its owner ID to 0008h (DOS data), and filling the MCB name
  3567.       field with the TSR's name.
  3568. SeeAlso: AX=3900h,AH=39h/BL=01h
  3569.  
  3570. Values for TSR ID number:
  3571.  01h TSR Windows
  3572.  02h NOBUSY
  3573.  03h CD STACK
  3574.  04h DISK WATCH
  3575.  05h PUSHBP
  3576.  06h ALIAS
  3577.  07h KEYMACRO
  3578.  08h SLOWDOWN
  3579.  09h ANSIGRAB
  3580.  0Ah TEE
  3581.  0Bh FASTMOUS
  3582.  0Ch EXTWILD
  3583.  0Dh BREAKOUT
  3584.  0Eh STOPDISK
  3585.  
  3586. Format of TSR modules:
  3587. Offset    Size    Description
  3588.  00h  4 BYTEs    signature "FTSR"
  3589.  04h    WORD    segment address of this module
  3590.  06h    WORD    number of words to skip (usually 0000h if no PSP present)
  3591.  08h  N WORDs    module-defined data that must be at a fixed segment offset
  3592.         (usually only a PSP if file access is required)
  3593.      5N BYTEs    interrupt list (see below)
  3594.     BYTE    FFh terminator
  3595.  
  3596. Format of interrupt list entry:
  3597. Offset    Size    Description
  3598.  00h    BYTE    interrupt number (00h-FEh)
  3599.  01h    WORD    offset within segment of DWORD pointer to previous interrupt
  3600.  03h    WORD    offset within segment of begin of interrupt handler code
  3601. ----------2F39--BL01-------------------------
  3602. INT 2F - Kingswood TSR INTERFACE - REMOVAL CHECK
  3603.     AH = 39h
  3604.     BL = 01h
  3605.     AL = TSR ID number (01h-FFh) (see AH=39h/BL=00h)
  3606. Return: AL = status
  3607.         00h not ready to be removed
  3608.         FFh resident module may be removed by deassigning the interrupts
  3609.         hooked by the TSR and deallocating the TSR's memory block
  3610.     AH,BX,CX,DX,ES may be destroyed
  3611. SeeAlso: AX=3900h,AH=39h/BL=00h
  3612. ----------2F39-------------------------------
  3613. INT 2F - Kingswood TSR INTERFACE - APPLICATION-SPECIFIC FUNCTION CALLS
  3614.     AH = 39h
  3615.     BL = function number (02h-FFh)
  3616.     AL = TSR ID number (01h-FFh)
  3617.     CX,DX,SI,DI,DS,ES may contain parameters
  3618. Return: as appropriate for the called function
  3619. SeeAlso: AX=3900h,AH=39h/BL=00h,AX=3901h/BL=02h
  3620. ----------2F3901BL02-------------------------
  3621. INT 2F - Kingswood TSR Windows - OPEN WINDOW
  3622.     AX = 3901h
  3623.     BL = 02h
  3624. Return: AX = error code (0000h if successful)
  3625. Notes:    opens the next TSR window on top of any others.     Only three
  3626.       TSR windows can be opened at any one time.  The three windows
  3627.       are all 40x11 characters, partly overlapping.
  3628. SeeAlso: AH=39h/BL=00h,AX=3901h/BL=03h,AX=3901h/BL=05h,AX=3901h/BL=06h
  3629. ----------2F3901BL03-------------------------
  3630. INT 2F - Kingswood TSR Windows - HIDE WINDOWS
  3631.     AX = 3901h
  3632.     BL = 03h
  3633. Return: AX = error code (0000h if successful)
  3634. Notes:    Hide any visible TSR windows from view.
  3635. SeeAlso: AH=39h/BL=00h,AX=3901h/BL=02h,AX=3901h/BL=05h
  3636. ----------2F3901BL04-------------------------
  3637. INT 2F - Kingswood TSR Windows - SHOW WINDOWS
  3638.     AX = 3901h
  3639.     BL = 04h
  3640. Return: AX = error code (0000h if successful)
  3641. Notes:    Re-display all TSR windows after a HIDE WINDOWS call.
  3642. SeeAlso: AH=39h/BL=00h,AX=3901h/BL=02h,AX=3901h/BL=03h
  3643. ----------2F3901BL05-------------------------
  3644. INT 2F - Kingswood TSR Windows - CLOSE WINDOW
  3645.     AX = 3901h
  3646.     BL = 05h
  3647. Return: AX = error code (0000h if successful)
  3648. Notes:    Close the last opened TSR window.
  3649. SeeAlso: AH=39h/BL=00h,AX=3901h/BL=02h
  3650. ----------2F3901BL06-------------------------
  3651. INT 2F - Kingswood TSR Windows - SET WINDOW TITLE
  3652.     AX = 3901h
  3653.     BL = 06h
  3654.     DS:SI -> title string
  3655. Return: AX = error code (0000h if successful)
  3656. SeeAlso: AH=39h/BL=00h,AX=3901h/BL=02h
  3657. ----------2F3901BL07-------------------------
  3658. INT 2F - Kingswood TSR Windows - POSITION CURSOR
  3659.     AX = 3901h
  3660.     BL = 07h
  3661.     CH = Y coordinate (0-10)
  3662.     CL = X coordinate (0-39)
  3663. Return: AX = error code (0000h if successful)
  3664. Note:    the hardware cursor is always disabled when a TSR window is opened;
  3665.       this call only sets a text position
  3666. SeeAlso: AH=39h/BL=00h,AX=3901h/BL=08h,AX=3901h/BL=09h
  3667. ----------2F3901BL08-------------------------
  3668. INT 2F - Kingswood TSR Windows - DISPLAY STRING
  3669.     AX = 3901h
  3670.     BL = 08h
  3671.     DS:SI -> string
  3672. Return: AX = error code (0000h if successful)
  3673. Notes:    The text is not clipped.
  3674.     This routine understands Tab, NewLine and Carriage Return
  3675. SeeAlso: AH=39h/BL=00h,AX=3901h/BL=07h
  3676. ----------2F3901BL09-------------------------
  3677. INT 2F - Kingswood TSR Windows - SCROLL WINDOW
  3678.     AX = 3901h
  3679.     BL = 09h
  3680.     CL = scroll direction: 00h up, FFh down, 00h clear window
  3681. Return: AX = error code (0000h if successful)
  3682. SeeAlso: AH=39h/BL=00h,AX=3901h/BL=07h
  3683. ----------2F3901BL0A-------------------------
  3684. INT 2F - Kingswood TSR Windows - SOUND BEEPER
  3685.     AX = 3901h
  3686.     BL = 0Ah
  3687.     DX = sound divisor, or 0 for silence.
  3688.          (divide 1843200 by required frequency to get value for DX)
  3689.     CL = sound length in 18.2 Hz clock ticks
  3690. Return: AX = error code (0000h if successful)
  3691. SeeAlso: AH=39h/BL=00h
  3692. ----------2F3901BL0B-------------------------
  3693. INT 2F - Kingswood TSR Windows - ADD OR REMOVE USER
  3694.     AX = 3901h
  3695.     BL = 0Bh
  3696.     CL = number of users increment: +1 if adding a new user
  3697.                     -1 if removing a user
  3698. Return: AX = error code (0000h if successful)
  3699. Note:    the TSR windows resident module may only be removed when the internal
  3700.       user count is zero
  3701. SeeAlso: AH=39h/BL=00h,AX=3901h/BL=02h
  3702. ----------2F4000-----------------------------
  3703. INT 2F - Windows 3.x (OS/2 2.x???) - GET VIRTUAL DEVICE DRIVER (VDD) CAPABLTIES
  3704.     AX = 4000h
  3705. Return: AL = 01h does not virtualize video access
  3706.          02h virtualizes the video when in text mode
  3707.          03h virtualizes the video when in text mode or single plane
  3708.          graphics modes
  3709.          04h virtualizes the video when in text mode, single plane
  3710.          graphics modes, and VGA multiplane modes
  3711.          FFh virtualizes the video fully
  3712. Note:    this function is used by display drivers to find out what capabilities
  3713.       exist for the VDD driver and also trigger then VDD driver to call
  3714.       functions 4005h and 4006h.  This function also gives the Video Driver
  3715.       hardware access to the video registers.
  3716. ----------2F4001-----------------------------
  3717. INT 2F - OS/2 compatibility box - SWITCHING DOS TO BACKGROUND
  3718.     AX = 4001h
  3719. Note:    called by OS/2 when the DOS box is about to be placed in the background
  3720.       and the video driver should save any necessary state
  3721. SeeAlso: AX=4002h,AX=4005h
  3722. ----------2F4002-----------------------------
  3723. INT 2F - OS/2 compatibility box - SWITCHING DOS TO FOREGROUND
  3724.     AX = 4002h
  3725. Note:    called by OS/2 when the DOS box is about to be placed in the foreground
  3726.       and the video driver should restore the previously-saved state
  3727. SeeAlso: AX=4001h,AX=4006h
  3728. ----------2F4003-----------------------------
  3729. INT 2F - Windows 3.x - ENTERING VIDEO DRIVER CRITICAL SECTION
  3730.     AX = 4003h
  3731. Note:    This critical section must be exited within 1 second.
  3732. SeeAlso: AX=4004h
  3733. ----------2F4004-----------------------------
  3734. INT 2F - Windows 3.x - EXITING VIDEO DRIVER CRITICAL SECTION
  3735.     AX = 4004h
  3736. SeeAlso: AX=4003h
  3737. ----------2F4005-----------------------------
  3738. INT 2F - Windows 3.x - SWITCHING DOS TO BACKGROUND
  3739.     AX = 4005h
  3740. Note:    called by Windows when the DOS box is about to be placed in the
  3741.       background and the video driver should save any necessary state
  3742.       information
  3743. SeeAlso: AX=4001h,AX=4006h
  3744. ----------2F4006-----------------------------
  3745. INT 2F - Windows 3.x - SWITCHING DOS TO FOREGROUND
  3746.     AX = 4006h
  3747. Note:    called by Windows when the DOS box is about to be placed in the
  3748.       foreground and the video driver should restore any necessary state
  3749.       information
  3750. SeeAlso: AX=4002h,AX=4005h
  3751. ----------2F4007-----------------------------
  3752. INT 2F - Windows 3.x - ENABLE VDD TRAPPING OF VIDEO REGISTERS
  3753.     AX = 4007h
  3754. ----------2F4040-----------------------------
  3755. INT 2F - PharLap 286|DOS-Extender Lite v2.5 - ???
  3756.     AX = 4040h
  3757. Return: BX:CX -> ???
  3758. ----------2F41-------------------------------
  3759. INT 2F - LAN Manager 2.0 DOS Enhanced NETPOPUP.EXE - NETWORK POP-UP SERVICE
  3760.     AH = 41h
  3761.     ???
  3762. Return: ???
  3763. Note:    LAN Manager enhanced mode adds features beyond the standard redirector
  3764.       file/printer services
  3765. SeeAlso: AX=118Ah,AH=42h,AH=4Bh
  3766. ----------2F42-------------------------------
  3767. INT 2F - LAN Manager 2.0 DOS Enhanced MSRV.EXE - MESSENGER SERVICE
  3768.     AH = 42h
  3769.     ???
  3770. Return: ???
  3771. Note:    LAN Manager enhanced mode adds features beyond the standard redirector
  3772.       file/printer services
  3773. SeeAlso: AX=118Ah,AH=41h,AH=4Bh
  3774. ----------2F4300-----------------------------
  3775. INT 2F - EXTENDED MEMORY SPECIFICATION (XMS) - INSTALLATION CHECK
  3776.     AX = 4300h
  3777. Return: AL = 80h XMS driver installed
  3778.     AL <> 80h no driver
  3779. Notes:    XMS gives access to extended memory and noncontiguous/nonEMS memory
  3780.       above 640K
  3781.     this installation check DOES NOT follow the format used by other
  3782.       software
  3783. SeeAlso: AX=4310h
  3784. ----------2F4310-----------------------------
  3785. INT 2F - EXTENDED MEMORY SPECIFICATION (XMS) - GET DRIVER ADDRESS
  3786.     AX = 4310h
  3787. Return: ES:BX -> driver entry point
  3788. Note:    HIMEM.SYS v2.77 chains to previous handler if AH is not 00h or 10h
  3789. SeeAlso: AX=4300h
  3790.  
  3791. Perform a FAR call to the driver entry point with AH set to the function code
  3792.     AH    function
  3793.     00h  Get XMS version number
  3794.          Return: AX = XMS version (in BCD, AH=major, AL=minor)
  3795.              BX = internal revision number
  3796.              DX = 0001h if HMA (1M to 1M + 64K) exists
  3797.               0000h if HMA does not exist
  3798.     01h  Request High Memory Area (1M to 1M + 64K)
  3799.          DX = memory in bytes (for TSR or device drivers)
  3800.           FFFFh if application program
  3801.          Return: AX = 0001h success
  3802.             = 0000h failure
  3803.                BL = error code (80h,81h,90h,91h,92h) (see below)
  3804.     02h  Release High Memory Area
  3805.          Return: AX = 0001h success
  3806.             = 0000h failure
  3807.                BL = error code (80h,81h,90h,93h) (see below)
  3808.     03h  Global enable A20, for using the HMA
  3809.          Return: AX = 0001h success
  3810.             = 0000h failure
  3811.                BL = error code (80h,81h,82h) (see below)
  3812.     04h  Global disable A20
  3813.          Return: AX = 0001h success
  3814.             = 0000h failure
  3815.                BL = error code (80h,81h,82h,94h) (see below)
  3816.     05h  Local enable A20, for direct access to extended memory
  3817.          Return: AX = 0001h success
  3818.             = 0000h failure
  3819.                BL = error code (80h,81h,82h) (see below)
  3820.     06h  Local disable A20
  3821.          Return: AX = 0001h success
  3822.             = 0000h failure
  3823.                BL = error code (80h,81h,82h,94h) (see below)
  3824.     07h  Query A20 state
  3825.          Return: AX = 0001h enabled
  3826.             = 0000h disabled
  3827.              BL = error code (00h,80h,81h) (see below)
  3828.     08h  Query free extended memory, not counting HMA
  3829.          BL = 00h (some implementations leave BL unchanged on success)
  3830.          Return: AX = size of largest extended memory block in K
  3831.              DX = total extended memory in K
  3832.              BL = error code (00h,80h,81h,A0h) (see below)
  3833.     09h  Allocate extended memory block
  3834.          DX = Kbytes needed
  3835.          Return: AX = 0001h success
  3836.                DX = handle for memory block
  3837.             = 0000h failure
  3838.                BL = error code (80h,81h,A0h) (see below)
  3839.     0Ah  Free extended memory block
  3840.          DX = handle of block to free
  3841.          Return: AX = 0001h success
  3842.             = 0000h failure
  3843.                BL = error code (80h,81h,A2h,ABh) (see below)
  3844.     0Bh  Move extended memory block
  3845.          DS:SI -> EMM structure (see below)
  3846.          Note: if either handle is 0000h, the corresponding offset is
  3847.            considered to be an absolute segment:offset address in
  3848.            directly addressable memory
  3849.          Return: AX = 0001h success
  3850.             = 0000h failure
  3851.                BL = error code (80h-82h,A3h-A9h) (see below)
  3852.     0Ch  Lock extended memory block
  3853.          DX = handle of block to lock
  3854.          Return: AX = 0001h success
  3855.                DX:BX = 32-bit linear address of locked block
  3856.             = 0000h failure
  3857.                BL = error code (80h,81h,A2h,ACh,ADh) (see below)
  3858.     0Dh  Unlock extended memory block
  3859.          DX = handle of block to unlock
  3860.          Return: AX = 0001h success
  3861.             = 0000h failure
  3862.                BL = error code (80h,81h,A2h,AAh) (see below)
  3863.     0Eh  Get handle information
  3864.          DX = handle for which to get info
  3865.          Return: AX = 0001h success
  3866.                BH = block's lock count
  3867.                BL = number of free handles left
  3868.                DX = block size in K
  3869.             = 0000h failure
  3870.                BL = error code (80h,81h,A2h) (see below)
  3871.     0Fh  Reallocate extended memory block
  3872.          DX = handle of block
  3873.          BX = new size of block in K
  3874.          Return: AX = 0001h success
  3875.             = 0000h failure
  3876.                BL = error code (80h,81h,A0h-A2h,ABh) (see below)
  3877.     10h  Request upper memory block (nonEMS memory above 640K)
  3878.          DX = size of block in paragraphs
  3879.          Return: AX = 0001h success
  3880.                BX = segment address of UMB
  3881.                DX = actual size of block
  3882.             = 0000h failure
  3883.                BL = error code (80h,B0h,B1h) (see below)
  3884.                DX = largest available block
  3885.     11h  Release upper memory block
  3886.          DX = segment address of UMB to release
  3887.          Return: AX = 0001h success
  3888.             = 0000h failure
  3889.                BL = error code (80h,B2h) (see below)
  3890.     12h  (XMS v3.0) Reallocate upper memory block
  3891.          DX = segment address of UMB to resize
  3892.          BX = new size of block in paragraphs
  3893.          Return: AX = 0001h success
  3894.             = 0000h failure
  3895.                BL = error code (80h,B0h,B2h) (see below)
  3896.     34h  (QEMM 5.11 only, undocumented) ???
  3897.     44h  (QEMM 5.11 only, undocumented) ???
  3898.     88h  (XMS v3.0) Query free extended memory
  3899.          Return: EAX = largest block of extended memory, in K
  3900.              BL = status
  3901.              00h success
  3902.              80h not implemented (i.e. on a 286 system)
  3903.              81h VDISK detected
  3904.              A0h all extended memory allocated
  3905.                   ECX = physical address of highest byte of memory
  3906.                      (valid even on error codes 81h and A0h)
  3907.              EDX = total Kbytes of extended memory (0 if status A0h)
  3908.     89h  (XMS v3.0) Allocate any extended memory
  3909.          EDX = Kbytes needed
  3910.          Return: AX = 0001h success
  3911.                      DX = handle for allocated block (free with AH=0Ah)
  3912.             = 0000h failure
  3913.                 BL = status (80h,81h,A0h,A1h,A2h) (see below)
  3914.     8Eh  (XMS v3.0) Get extended EMB handle information
  3915.          DX = handle
  3916.          Return: AX = 0001h success
  3917.                      BH = block's lock count
  3918.                 CX = number of free handles left
  3919.                 EDX = block size in K
  3920.                  = 0000h failure
  3921.                      BL = status (80h,81h,A2h) (see below)
  3922.     8Fh  (XMS v3.0) Reallocate any extended memory block
  3923.          DX = unlocked handle
  3924.          EBX = new size in K
  3925.          Return: AX = 0001h success
  3926.                  = 0000h failure
  3927.                 BL = status (80h,81h,A0h-A2h,ABh) (see below)
  3928. Notes:    HIMEM.SYS requires at least 256 bytes free stack space
  3929.     the XMS driver need not implement functions 10h through 12h to be
  3930.       considered compliant with the standard
  3931.  
  3932. Format of EMM structure:
  3933. Offset    Size    Description
  3934.  00h    DWORD    number of bytes to move (must be even)
  3935.  04h    WORD    source handle
  3936.  06h    DWORD    offset into source block
  3937.  0Ah    WORD    destination handle
  3938.  0Ch    DWORD    offset into destination block
  3939. Notes:    if source and destination overlap, only forward moves (source base
  3940.       less than destination base) are guaranteed to work properly
  3941.     if either handle is zero, the corresponding offset is interpreted
  3942.       as a real-mode address referring to memory directly addressable
  3943.       by the processor
  3944.  
  3945. Error codes returned in BL:
  3946.     00h successful
  3947.     80h function not implemented
  3948.     81h Vdisk was detected
  3949.     82h an A20 error occurred
  3950.     8Eh a general driver error
  3951.     8Fh unrecoverable driver error
  3952.     90h HMA does not exist
  3953.     91h HMA is already in use
  3954.     92h DX is less than the /HMAMIN= parameter
  3955.     93h HMA is not allocated
  3956.     94h A20 line still enabled
  3957.     A0h all extended memory is allocated
  3958.     A1h all available extended memory handles are allocated
  3959.     A2h invalid handle
  3960.     A3h source handle is invalid
  3961.     A4h source offset is invalid
  3962.     A5h destination handle is invalid
  3963.     A6h destination offset is invalid
  3964.     A7h length is invalid
  3965.     A8h move has an invalid overlap
  3966.     A9h parity error occurred
  3967.     AAh block is not locked
  3968.     ABh block is locked
  3969.     ACh block lock count overflowed
  3970.     ADh lock failed
  3971.     B0h only a smaller UMB is available
  3972.     B1h no UMB's are available
  3973.     B2h UMB segment number is invalid
  3974. ----------2F44-------------------------------
  3975. INT 2F U - ???
  3976.     AH = 44h
  3977.     AL = function (at least 0Bh, 15h, 17h)
  3978.     ???
  3979. Return: ???
  3980. Note:    called by Codeview for Windows
  3981. SeeAlso: AH=86h
  3982. ----------2F4500-----------------------------
  3983. INT 2F U - Microsoft Profiler (PROF.COM/VPROD.386) - INSTALLATION CHECK
  3984.     AX = 4500h
  3985. Return: AL = 01h if PROF.COM installed
  3986.     AL = 02h if VPROD.386 installed
  3987. SeeAlso: AX=4501h,AX=4502h
  3988. ----------2F4501-----------------------------
  3989. INT 2F U - Microsoft Profiler (PROF.COM/VPROD.386) - SETUP PROFILER
  3990.     AX = 4501h
  3991.     BX = CSIPS buffer size in KB (first parameter for ProfSetup)
  3992.     CX = output limit in KB (second parameter for ProfSetup)
  3993. Note:    this call is not supported by PROF.COM
  3994. SeeAlso: AX=4502h,AX=4503h
  3995. ----------2F4502-----------------------------
  3996. INT 2F U - Microsoft Profiler (PROF.COM/VPROD.386) - SET SAMPLING RATE
  3997.     AX = 4502h
  3998.     BL = sampling rate for PROF.COM (0 < BL <= 13)
  3999.         (01h = 8192/s, 04h = 1024/s, 08h = 32/s, 0Dh = 1/s)
  4000.     CX = sampling rate for VPROD.386
  4001. Note:    for PROF.COM, this programs the CMOS clock by setting BL+2 as the
  4002.       low four bits of CMOS register 0Ah.  The interruption rate is
  4003.       1 SHL (15 - BL) per second.
  4004. SeeAlso: AX=4501h,AX=4503h
  4005. ----------2F4503-----------------------------
  4006. INT 2F U - Microsoft Profiler (PROF.COM/VPROD.386) - START PROFILING
  4007.     AX = 4503h
  4008. Notes:    Profiling is also turned on by the key combinations
  4009.       LeftShift + RightShift + Alt
  4010.       LeftShift + RightShift + Ctrl
  4011.     for PROF.COM, this call programs the CMOS clock by reading register
  4012.       0Ch, and setting bit 6 of register 0Bh.  It then makes sure that IRQ8
  4013.       is unmasked
  4014. SeeAlso: AX=4504h
  4015. ----------2F4504-----------------------------
  4016. INT 2F U - Microsoft Profiler (PROF.COM/VPROD.386) - STOP PROFILING
  4017.     AX = 4504h
  4018. Notes:    profiling is also turned off by the key combination
  4019.       LeftShift + RightShift
  4020.     for PROF.COM, this programs the CMOS clock by reading register 0Ch
  4021.       and clearing bit 6 of register 0Bh.  It then masks IRQ8.
  4022. SeeAlso: AX=4503h,AX=4505h,AX=4506h,AX=4507h
  4023. ----------2F4505-----------------------------
  4024. INT 2F U - Microsoft Profiler (PROF.COM/VPROD.386) - CLEAR PROFILING DATA
  4025.     AX = 4505h
  4026. SeeAlso: AX=4503h,AX=4504h,AX=4506h
  4027. ----------2F4506-----------------------------
  4028. INT 2F U - Microsoft Profiler (PROF.COM/VPROD.386) - "ProfFlush"
  4029.     AX = 4506h
  4030. SeeAlso: AX=4505h,AX=4507h
  4031. ----------2F4507-----------------------------
  4032. INT 2F U - Microsoft Profiler (PROF.COM/VPROD.386) - "ProfFinish"
  4033.     AX = 4507h
  4034. Note:    this call is essentially a "ProfStop" (AX=4504h) followed by
  4035.       "ProfFlush" (AX=4506h)
  4036. SeeAlso: AX=4504h,AX=4505h,AX=4506h
  4037. ----------2F4508-----------------------------
  4038. INT 2F U - Microsoft Profiler (PROF.COM/VPROD.386) - ALTERNATE SEGDEBUG IFACE
  4039.     AX = 4508h
  4040.     BX = ordinal (or 0000h)
  4041.     CX = segment
  4042.     DX = instance (or 0000h)
  4043.     SI = type (or 0000h)
  4044.     ES:DI -> ASCIZ module name
  4045. Notes:    this call is an alternate entry to the profiler's SEGDEBUG
  4046.       interface, but only to function 0, for notifying the profiler of
  4047.       each new segment loaded.  The SHOWHITS utility then examines the
  4048.       profiler's output files (CSIPS.DAT and SEGENTRY.DAT) in conjunction
  4049.       with symbol files to provide information in a useful form.
  4050.     this call does not have a corresponding Windows function
  4051. SeeAlso: AX=4500h 
  4052. ----------2F4601-----------------------------
  4053. INT 2F U - DOS 5.0 kernel - ???
  4054.     AX = 4601h
  4055. Return: ???
  4056. Note:    copies the MCB following the caller's PSP memory block into DOS data
  4057.       segment
  4058. SeeAlso: AX=4602h
  4059. ----------2F4602-----------------------------
  4060. INT 2F U - DOS 5.0 kernel - ???
  4061.     AX = 4602h
  4062. Return: ???
  4063. Note:    copies previously copied MCB from DOS data segment into MCB following
  4064.       caller's PSP memory block
  4065. SeeAlso: AX=4601h
  4066. ----------2F46-------------------------------
  4067. INT 2F U - ???
  4068.     AH = 46h
  4069.     AL = subfunction (03h,04h)
  4070. Return: ???
  4071. Note:    these two subfunctions are called by MS Windows 3.0
  4072. ----------2F4653CX0002-----------------------
  4073. INT 2F - F-PROT v1.x only - F-LOCK.EXE 
  4074.     AX = 4653h
  4075.     CX = 0002h
  4076.     BX = subfunction
  4077.         0000h  installation check
  4078.         Return: AX = FFFFh
  4079.         0001h  uninstall
  4080.         Return: AX,BX,ES destroyed
  4081.         0002h  disable (v1.08 and below only)
  4082.         0003h  enable (v1.08 and below only)
  4083. Note:    F-LOCK is part of the F-PROT virus/trojan protection package by Fridrik
  4084.       Skulason
  4085. SeeAlso: AX=4653h/CX=0003h,AX=CA00h,INT 21/AX=4BEEh
  4086. ----------2F4653CX0003-----------------------
  4087. INT 2F - F-PROT v1.x only - F-XCHK.EXE
  4088.     AX = 4653h
  4089.     CX = 0003h
  4090.     BX = subfunction
  4091.         0000h  installation check
  4092.         Return: AX = FFFFh
  4093.         0001h  uninstall
  4094.         Return: AX,BX,ES destroyed
  4095. Note:    F-XCHK is part of the F-PROT virus/trojan protection package by Fridrik
  4096.       Skulason
  4097. SeeAlso: AX=4653h/CX=0002h,AX=4653h/CX=0004h,AX=CA00h
  4098. ----------2F4653CX0004-----------------------
  4099. INT 2F - F-PROT v1.x only - F-POPUP.EXE
  4100.     AX = 4653h
  4101.     CX = 0004h
  4102.     BX = subfunction
  4103.         0000h  installation check
  4104.         Return: AX = FFFFh
  4105.         0001h  uninstall
  4106.         Return: AX,BX,ES destroyed
  4107.         0002h  disable (v1.08 and below only)
  4108.            display message (v1.14+)
  4109.             other registers: ???
  4110.         0003h  enable (v1.08 and below only)
  4111.            display message (v1.14+)
  4112.             other registers: ???
  4113.             Return: AX = key pressed by user
  4114. Note:    F-POPUP is part of the F-PROT virus/trojan protection package by
  4115.       Fridrik Skulason
  4116. SeeAlso: AX=4653h/CX=0003h,AX=4653h/CX=0005h,AX=CA00h
  4117. ----------2F4653CX0005-----------------------
  4118. INT 2F - F-PROT v1.x only - F-DLOCK.EXE
  4119.     AX = 4653h
  4120.     CX = 0005h
  4121.     BX = subfunction
  4122.         0000h installation check
  4123.         Return: AX = FFFFh
  4124.         0001h uninstall
  4125.         Return: AX,BX,ES destroyed
  4126. Note:    F-DLOCK is part of the F-PROT virus/trojan protection package by
  4127.       Fridrik Skulason
  4128. SeeAlso: AX=4653h/CX=0004h,AX=CA00h
  4129. ----------2F4680-----------------------------
  4130. INT 2F - MS Windows v3.0 - INSTALLATION CHECK
  4131.     AX = 4680h
  4132. Return: AX = 0000h MS Windows 3.0 running in real (/R) or standard (/S) mode,
  4133.            or DOS 5 DOSSHELL active
  4134.        nonzero  no Windows, Windows prior to 3.0, or Windows3 in enhanced
  4135.             mode
  4136. Note:    not officially documented, but Microsoft has indicated that they
  4137.       intend to provide an installation check which works in all modes
  4138. SeeAlso: AX=1600h
  4139. ----------2F4800-----------------------------
  4140. INT 2F - DOS v5.0 DOSKEY - INSTALLATION CHECK
  4141.     AX = 4800h
  4142. Return: AL = nonzero if installed
  4143. SeeAlso: AX=4810h
  4144. ----------2F4810-----------------------------
  4145. INT 2F - DOS v5.0 DOSKEY - READ INPUT LINE FROM CONSOLE
  4146.     AX = 4810h
  4147.     DS:DX -> line buffer (see INT 21/AH=0Ah)
  4148. Return: AX = 0000h if successful
  4149. Notes:    the first byte (length) of the buffer MUST be 80h, or DOSKEY chains to
  4150.       the previous handler
  4151.     if the user's input is a macro name, no text is placed in the buffer
  4152.       even though AX=0000h on return; the program must immediately issue
  4153.       this call again to retrieve the expansion of the macro.  Similarly,
  4154.       if the user enters a special parameter such as $*, this call must
  4155.       be repeated to retrieve the expansion; on the second call, DOSKEY
  4156.       overwrites the macro name on the screen with its expansion.
  4157. SeeAlso: AX=4800h,INT 21/AH=0Ah
  4158. ----------2F4A00CX0000-----------------------
  4159. INT 2F U - DOS v5.0 - SINGLE-FLOPPY LOGICAL DRIVE CHANGE NOTIFICATION
  4160.     AX = 4A00h
  4161.     CX = 0000h
  4162.     DH = new drive number
  4163.     DL = current drive number
  4164. Return: CX = FFFFh to skip "Insert diskette for drive X:" message
  4165. Note:    called by MSDOS 5.00 IO.SYS just before displaying the message
  4166.       "Insert diskette for drive X:" on single-floppy systems
  4167. ----------2F4A01-----------------------------
  4168. INT 2F - DOS 5.0 - QUERY FREE HMA SPACE
  4169.     AX = 4A01h
  4170. Return: BX = number of bytes available in HMA (0000h if DOS not using HMA)
  4171.     ES:DI -> start of available HMA area (FFFFh:FFFFh if not using HMA)
  4172. Note:    called by Windows 3.1 DOSX.EXE
  4173. SeeAlso: AX=4310h,AX=4A02h
  4174. ----------2F4A02-----------------------------
  4175. INT 2F - DOS 5.0 - ALLOCATE HMA SPACE
  4176.     AX = 4A02h
  4177.     BX = number of bytes
  4178. Return: ES:DI -> start of allocated HMA block or FFFFh:FFFFh
  4179.     BX destroyed
  4180. Notes:    this call is not valid unless DOS is loaded in the HMA (DOS=HIGH)
  4181.     called by Windows 3.1 DOSX.EXE
  4182. SeeAlso: AX=4A01h
  4183. ----------2F4A05-----------------------------
  4184. INT 2F U - DOS 5.0 DOSSHELL - TASK SWITCHING API???
  4185.     AX = 4A05h
  4186.     SI = function
  4187.         0000h reset???
  4188.         0001h ???
  4189.         0002h ???
  4190.         0003h ???
  4191.         0004h ???
  4192.         BL = ???
  4193.         0005h ???
  4194.         0006h get ???
  4195.         Return: ES:DI -> ???
  4196.         0007h get ???
  4197.         Return: AX = ???
  4198.         0008h get ???
  4199.         Return: DX:AX -> ???
  4200.         0009h get ???
  4201.         Return: ES = ???
  4202.         000Ah ???
  4203.         BL = ???
  4204.         ES:DI -> ???
  4205.         000Bh get ???
  4206.         Return: AX = ???
  4207.         000Ch ???
  4208.         BL = ???
  4209.         Return: DX:AX -> ???
  4210. Notes:    DOSSHELL chains to the previous handler if SI is not one of the values
  4211.       listed above
  4212.     the DOSSWAP.EXE module calls functions 03h,04h,05h,07h,08h,09h,0Ch
  4213.     the Windows 3.1 DSWAP.EXE and WSWAP.EXE task switchers use these calls
  4214. SeeAlso: AX=4B01h
  4215. ----------2F4A06-----------------------------
  4216. INT 2F U - ??? - GET MEMORY SIZE
  4217.     AX = 4A06h
  4218.     DX = segment following last byte of conventional memory
  4219. Return: DX = segment following last byte of memory available for use by DOS
  4220. Note:    called by MSDOS 5.00 IO.SYS startup code if the signature "RPL" is
  4221.       present three bytes beyond the INT 2F handler; this call overrides
  4222.       the value returned by INT 12
  4223. SeeAlso: INT 12
  4224. ----------2F4A10-----------------------------
  4225. INT 2F - SMARTDRV v4.00+ - API
  4226.     AX = 4A10h
  4227.     BX = command
  4228.         0000h installation check and hit ratios
  4229.         Return: AX = BABEh if installed
  4230.                 DX:BX = cache hits
  4231.                 DI:SI = cache misses
  4232.                 CX = ???
  4233.                 BP = version (4.00 = 0400h)
  4234.         0001h reset cache
  4235.         0002h flush buffers
  4236.         0003h status
  4237.         BP = drive # (0=A, 1=B, etc.)
  4238.         DL = subfunction
  4239.             00h only get information
  4240.             01h turn on read cache
  4241.             02h turn off read cache
  4242.             03h turn on write cache
  4243.             04h turn off write cache
  4244.             Return: AX = BABEh if OK
  4245.                    DL = status
  4246.                 bit 7  not cached
  4247.                 bit 6  write-through
  4248.                 bit 5  ???
  4249.                 bits 0-4 drive # (0=A, 1=B...)
  4250.             DL = FFh if drive does not exist
  4251.         Note:    If the read cache is off, reads will not be cached,
  4252.               but writes will continue to be cached if the write-
  4253.               cache is enabled.
  4254.         0004h cache size
  4255.         Return: AX = ???
  4256.             BX = largest number of elements
  4257.             CX = size of elements in bytes
  4258.             DX = number of elements under Windows
  4259.         0005h double-buffer status
  4260.         BP = drive # (0=A, 1=B...)
  4261.         Return: AX = BABEh if double-buffered
  4262.         0007h ???
  4263.         Return: DI = random number???
  4264.         000Ah get table pointer???
  4265.         Return: ES:BX -> table of about 10 bytes or 5 words. Seems to
  4266.                 be words pointing to memory addresses 
  4267.                 containing info??? (see below)
  4268.         1234h signal serious error
  4269.         pops up a message box saying that a serious error occurred and
  4270.           to hit R to retry.
  4271. SeeAlso: INT 21/AX=4402h"SMARTDRV",INT 21/AX=4403h"SMARTDRV"
  4272.  
  4273. Format of data table:
  4274. Offset    Size    Description
  4275.  00h  8 BYTEs    ???
  4276.  08h    WORD    offset of WORD containing number of elements in cache
  4277. ----------2F4B-------------------------------
  4278. INT 2F - LAN Manager 2.0 DOS Enh NETWKSTA.EXE - NETWORK WORKSTATION REDIRECTOR
  4279.     AH = 4Bh
  4280.     ???
  4281. Return: ???
  4282. Note:    LAN Manager enhanced mode adds features beyond the standard redirector
  4283.       file/printer services
  4284. SeeAlso: AX=118Ah,AH=41h,AH=42h
  4285. ----------2F4B01-----------------------------
  4286. INT 2F - DOS v5.0 TASK SWITCHER - BUILD CALLOUT CHAIN
  4287.     AX = 4B01h
  4288.     CX:DX -> task switcher entry point (see AX=4B02h)
  4289.     ES:BX = 0000h:0000h
  4290. Return: ES:BX -> callback info structure (see below) or 0000h:0000h
  4291. Notes:    called by the task switcher
  4292.     this function is hooked by clients which require notification of task
  4293.       switcher activities; the call must first be passed on to the prior
  4294.       handler with registers unchanged using a simulated interrupt.     On
  4295.       return, the client must build a callback info structure and store
  4296.       the returned ES:BX in the "next" field, then return the address of
  4297.       its own callback info structure.
  4298.     a client program must add itself to the notification chain if it
  4299.       provides services to other programs; before terminating, it must
  4300.       remove itself from the chain by calling the task switcher's entry
  4301.       point with AX=0005h (see AX=4B02h)
  4302.     the task switcher entry point should not be saved, as it is subject to
  4303.       change and will be provided on any notification call
  4304.     the Windows 3.1 Standard Mode supports this API
  4305. SeeAlso: AX=4B02h
  4306.  
  4307. Format of callback info structure:
  4308. Offset    Size    Description
  4309.  00h    DWORD    pointer to next callback info structure
  4310.  04h    DWORD    pointer to notification function (see below)
  4311.  08h    DWORD    reserved
  4312.  0Ch    DWORD    address of zero-terminated list of API info structures
  4313.         (see AX=4B02h)
  4314.  
  4315. Notification function is called with:
  4316.     AX = function
  4317.         0000h switcher initialization
  4318.         Return: AX = 0000h if OK to load
  4319.                = nonzero to abort task switcher
  4320.         0001h query suspend
  4321.         BX = session ID
  4322.         Return: AX = 0000h if OK to switch session
  4323.                = 0001h if not
  4324.         0002h suspend session
  4325.         BX = session ID
  4326.         interrupts disabled
  4327.         Return: AX = 0000h if OK to switch session
  4328.                = 0001h if not
  4329.         0003h activate session
  4330.         BX = session ID
  4331.         CX = session status flags
  4332.             bit 0: set if first activation of session
  4333.             bits 1-15: reserved (0)
  4334.         interrupts disabled
  4335.         Return: AX = 0000h
  4336.         0004h session active
  4337.         BX = session ID
  4338.         CX = session status flags
  4339.             bit 0: set if first activation of session
  4340.             bits 1-15: reserved (0)
  4341.         Return: AX = 0000h
  4342.         0005h create session
  4343.         BX = session ID
  4344.         Return: AX = 0000h if OK to create session
  4345.                = 0001h if not
  4346.         0006h destroy session
  4347.         BX = session ID
  4348.         Return: AX = 0000h
  4349.         0007h switcher termination
  4350.         BX = flags
  4351.             bit 0: set if calling switcher is only switcher loaded
  4352.             bits 1-15: reserved (0)
  4353.         Return: AX = 0000h
  4354.     ES:DI -> task switcher entry point (see AX=4B02h)
  4355. Notes:    function 0000h is generally called by the program which controls or
  4356.       invokes the task switcher, rather than by the task switcher itself;
  4357.       the entry point supplied to this function is not necessarily the
  4358.       entry point to the task switcher itself, and may be 0000h:0000h.  If
  4359.       any client indicates that loading is not possible, all clients will
  4360.       be called with function 0007h; thus it is possible for a client to
  4361.       receive a termination notice without a corresponding initialization
  4362.       notice.
  4363.     except for functions 0002h and 0003h, the notification handler is
  4364.       called with interrupts enabled and may make any INT 21h function
  4365.       call; interrupts must not be enabled in functions 0002h and 0003h
  4366.     function 0007h may be called with ES:DI = 0000h:0000h if the entry
  4367.       point is no longer valid
  4368. ----------2F4B02BX0000-----------------------
  4369. INT 2F - DOS v5.0 TASK SWITCHER - INSTALLATION CHECK
  4370.     AX = 4B02h
  4371.     BX = 0000h
  4372.     ES:DI = 0000h:0000h
  4373. Return: ES:DI = 0000h:0000h if task switcher not loaded
  4374.     ES:DI -> task switcher entry point (see below) if loaded
  4375.         AX = 0000h
  4376. Note:    the returned entry point is that for the most-recently loaded task
  4377.       switcher; the entry points for prior task switchers may be determined
  4378.       with the "get version" call (see below)
  4379. SeeAlso: AX=4A05h,AX=4B03h
  4380.  
  4381. Call task switcher entry point with:
  4382.     AX = 0000h get version
  4383.         Return: CF clear if successful
  4384.                 AX = 0000h
  4385.                 ES:BX -> task switcher version struct (see below)
  4386.             CF set if unsupported function
  4387.     AX = 0001h test memory region
  4388.         ES:DI -> first byte to be tested
  4389.         CX = size of region to test
  4390.         Return: CF clear if successful
  4391.                 AX = memory type of tested region
  4392.                 0000h global
  4393.                 0001h global and local
  4394.                 0002h local (replaced on session switch)
  4395.             CF set if unsupported function
  4396.     AX = 0002h suspend switcher
  4397.         ES:DI -> new task switcher's entry point
  4398.         Return: CF clear if successful
  4399.                 AX = state
  4400.                 0000h switcher has been suspended
  4401.                 0001h switcher not suspended, new switcher must
  4402.                     abort
  4403.                 0002h switcher not suspended, but new switcher
  4404.                     may run anyway
  4405.             CF set if unsupported function
  4406.     AX = 0003h resume switcher
  4407.         ES:DI -> new task switcher's entry point
  4408.         Return: CF clear if successful
  4409.                 AX = 0000h
  4410.             CF set if unsupported function
  4411.     AX = 0004h hook notification chain
  4412.         ES:DI -> callback info structure to be added to chain
  4413.             (see AX=4B01h)
  4414.         Return: CF clear if successful
  4415.                 AX = 0000h
  4416.             CF set if unsupported function
  4417.     AX = 0005h unhook notification chain
  4418.         ES:DI -> callback info structure to be removed from chain
  4419.             (see AX=4B01h)
  4420.         Return: CF clear if successful
  4421.                 AX = 0000h
  4422.             CF set if unsupported function
  4423.     AX = 0006h query API support
  4424.         BX = asynchronous API identifier
  4425.         Return: CF clear if successful
  4426.                 AX = 0000h
  4427.                 ES:BX -> API info structure (see below) for the
  4428.                     client which provides the highest
  4429.                     level of 
  4430.             CF set if unsupported function
  4431.  
  4432. Format of task switcher version structure:
  4433. Offset    Size    Description
  4434.  00h    WORD    major version of supported protocol  (current protocol is 1.0)
  4435.  02h    WORD    minor version of supported protocol
  4436.  04h    WORD    major version of task switcher
  4437.  06h    WORD    minor version of task switcher
  4438.  08h    WORD    task switcher ID (see AX=4B03h)
  4439.  0Ah    WORD    operation flags
  4440.         bit 0: set if task switcher disabled
  4441.         bits 1-15: reserved (0)
  4442.  0Ch    DWORD    pointer to ASCIZ task switcher name
  4443.         ("MS-DOS Shell Task Switcher" for DOSSHELL task switcher)
  4444.  10h    DWORD    pointer to previous task switcher's entry point or 0000h:0000h
  4445.  
  4446. Format of API info structure:
  4447. Offset    Size    Description
  4448.  00h    WORD    size of structure in bytes (000Ah)
  4449.  02h    WORD    API identifier
  4450.         0001h NetBIOS
  4451.         0002h 802.2
  4452.         0003h TCP/IP
  4453.         0004h LAN Manager named pipes
  4454.         0005h Novell NetWare IPX
  4455.  04h    WORD    major version \ of highest version of API for which the support
  4456.  06h    WORD    minor version / level specified in the next field is provided
  4457.  08h    WORD    support level
  4458.         0001h minimal support
  4459.         0002h API-level support
  4460.         0003h switcher compatibility
  4461.         0004h seamless compatibility
  4462. ----------2F4B03-----------------------------
  4463. INT 2F - DOS v5.0 TASK SWITCHER - ALLOCATE SWITCHER ID
  4464.     AX = 4B03h
  4465.     ES:DI -> task switcher entry point (see AX=4B02h)
  4466. Return: AX = 0000h
  4467.     BX = switcher ID (0001h-000Fh), or 0000h if no more available
  4468. Notes:    if a task switcher has determined that it is the first to be loaded, it
  4469.       must allocate an identifier for itself and provide this function to
  4470.       all subsequent task switchers; if it is not the first to be loaded,
  4471.       it must call this function to allocate an ID.     The switcher ID is
  4472.       used as the high four bits of all session identifiers to ensure
  4473.       unique session IDs.
  4474.     if no more switcher IDs are available, the new task switcher making the
  4475.       call must terminate or disable itself
  4476.     the task switcher providing the identifiers may call the new task
  4477.       switcher's entry point as needed
  4478.     this call is available from within DOSSHELL even if the task switcher
  4479.       is not installed
  4480. SeeAlso: AX=4B02h,AX=4B04h
  4481. ----------2F4B04-----------------------------
  4482. INT 2F - DOS v5.0 TASK SWITCHER - FREE SWITCHER ID
  4483.     AX = 4B04h
  4484.     BX = switcher ID
  4485.     ES:DI -> task switcher entry point (see AX=4B02h)
  4486. Return: AX = 0000h
  4487.     BX = status
  4488.         0000h successful
  4489.         other error (invalid ID or ID not allocated)
  4490. Notes:    called by a task switcher when it exits, unless it was the first loaded
  4491.       and is providing the support for AX=4B03h and AX=4B04h
  4492.     the task switcher providing the identifiers may call the terminating
  4493.       task switcher's entry point as needed
  4494.     this call is available from within DOSSHELL even if the task switcher
  4495.       is not installed
  4496. SeeAlso: AX=4B02h,AX=4B03h
  4497. ----------2F4B05-----------------------------
  4498. INT 2F - DOS v5.0 DOSSHELL TASK SWITCHER - IDENTIFY INSTANCE DATA
  4499.     AX = 4B05h
  4500.     ES:BX = 0000h:0000h
  4501.     CX:DX -> task switcher entry point (see AX=4B02h)
  4502. Return: ES:BX -> startup info structure (see below) or 0000h:0000h
  4503. Notes:    called by task switcher
  4504.     clients with instance data should hook this call, pass it through to
  4505.       the previous handler with unchanged registers using a simulated
  4506.       interrupt.  On return, the client should create a startup info
  4507.       structure (see below), store the returned ES:BX in the "next"
  4508.       field, and return the address of the created structure in ES:BX
  4509.     all MSDOS function calls are available from within this call
  4510. SeeAlso: AX=1605h,AX=4B02h
  4511.  
  4512. Format of startup info structure:
  4513. Offset    Size    Description
  4514.  00h  2 BYTEs    major, minor version of info structure (03h,00h)
  4515.  02h    DWORD    pointer to next startup info structure or 0000h:0000h
  4516.  06h    DWORD    0000h:0000h (ignored)
  4517.  0Ah    DWORD    ignored
  4518.  0Eh    DWORD    pointer to instance data records
  4519.  
  4520. Format of one instance data record in array:
  4521. Offset    Size    Description
  4522.  00h    DWORD    address of instance data (end of array if 0000h:0000h)
  4523.  04h    WORD    size of instance data
  4524. ----------2F53-------------------------------
  4525. INT 2F U - ???
  4526.     AH = 53h
  4527.     AL = subfunction (0Bh, maybe others???)
  4528. Return: ???
  4529. Note:    called by MS Windows 3.1 POWER.DRV; hooked by MS Mouse driver v8.20+
  4530. SeeAlso: AH=54h,INT 33/AX=002Fh
  4531. ----------2F54-------------------------------
  4532. INT 2F U - ???
  4533.     AH = 54h
  4534.     AL = subfunction (00h, 01h, maybe others???)
  4535. Return: ???
  4536. Note:    called by MS Windows 3.1 POWER.DRV
  4537. SeeAlso: AH=53h
  4538. ----------2F5453-----------------------------
  4539. INT 2F - TesSeRact RAM-RESIDENT PROGRAM INTERFACE
  4540.     AX = 5453h
  4541.     BX = subfunction
  4542.         00h installation check
  4543.         CX = 0000h
  4544.         DS:SI -> 8-char blank-padded name
  4545.         Return: AX = FFFFh installed
  4546.                 CX = ID number of already-installed copy
  4547.                = anything else, not installed
  4548.                 CX = ID number for TSR when installed
  4549.         01h get user parameters
  4550.         CX = TSR ID number
  4551.         Return: AX = 0000h successful
  4552.                ES:BX -> user parameter block (see below)
  4553.                = nonzero failed
  4554.         02h check if hotkey in use
  4555.         CL = scan code of hot key
  4556.         Return: AX = FFFFh hot key conflicts with another TSR
  4557.                  otherwise safe to use the hotkey
  4558.         03h replace default critical error handler
  4559.         CX = TSR ID number
  4560.         DS:SI -> new routine for INT 24h
  4561.         Return: AX = nonzero, unable to install new handler
  4562.         04h get internal data area
  4563.         CX = TSR ID number
  4564.         Return: AX = 0000h
  4565.                 ES:BX -> TSR's internal data area (see below)
  4566.                = nonzero, TSR not found
  4567.         05h set multiple hot keys
  4568.         CX = TSR ID number
  4569.         DL = number of additional hot keys to allocate
  4570.         DS:SI -> table of hot keys
  4571.             BYTE  hotkey scan code
  4572.             BYTE  hotkey shift state
  4573.             BYTE  flag value to pass to TSR (nonzero)
  4574.         Return: AX = nonzero, unable to install hot keys
  4575.         06h - 0Fh reserved
  4576.         10h enable TSR
  4577.         CX = TSR ID number
  4578.         Return: AX = nonzero, unable to enable
  4579.         11h disable TSR
  4580.         CX = TSR ID number
  4581.         Return: AX = nonzero, unable to disable
  4582.         12h unload TSR
  4583.         CX = TSR ID number
  4584.         Return: AX = nonzero, invalid TSR number
  4585.         Note: if any interrupts used by TSR have been grabbed by
  4586.             another TSR, the TesSeRact routines will wait until
  4587.             it is safe to remove the indicated TSR from memory
  4588.         13h restart TSR
  4589.         CX = TSR ID number of TSR which was unloaded but is still in
  4590.              memory
  4591.         Return: AX = nonzero, unable to restart TSR
  4592.         14h get status word
  4593.         CX = TSR ID number
  4594.         Return: AX = FFFFh invalid ID number
  4595.                = other, successful
  4596.                 BX = bit flags
  4597.         15h set status word
  4598.         CX = TSR ID number
  4599.         DX = new bit flags
  4600.         Return: AX = nonzero, unable to set status word
  4601.         16h get INDOS state at popup
  4602.         CX = TSR ID number
  4603.         Return: AX = 0000h successful
  4604.                 BX = value of INDOS flag
  4605.         17h - 1Fh reserved
  4606.         20h call user procedure
  4607.         CX = TSR ID number
  4608.         ES:DI -> user-defined data
  4609.         Return: AX = 0000h successful
  4610.         21h stuff keystrokes into keyboard buffer
  4611.         CX = TSR ID number
  4612.         DL = speed
  4613.             00h stuff keystrokes only when buffer is empty
  4614.             01h stuff up to four keystrokes per clock tick
  4615.             02h stuff up to 15 keystrokes per clock tick
  4616.         DH = scan code flag
  4617.             if zero, buffer contains alternating ASCII and scan codes
  4618.             if nonzero, buffer contains only ASCII codes
  4619.         SI = number of keystrokes
  4620.         ES:DI -> buffer to stuff
  4621.         Return: AX = 0000h success
  4622.                  F0F0h user aborted with ^C or ^Break
  4623.                  other unable to stuff keystrokes
  4624.         22h (v1.10) trigger popup
  4625.         CX = TSR ID number
  4626.         Return: AX = 0000h success, TSR will either pop up or beep to
  4627.                    indicate that it is unable to pop up
  4628.                  nonzero invalid ID number
  4629.         23h (v1.10) invoke TSR's background function
  4630.         CX = TSR ID number
  4631.         Return: AX = 0000h success
  4632.                  FFFFh not safe to call background function
  4633.                  nonzero invalid ID number
  4634.         24h - 2Fh reserved
  4635. Notes:    Borland's THELP.COM popup help system for Turbo Pascal and Turbo C
  4636.       (versions 1.x and 2.x only) fully supports the TesSeRact API, as
  4637.       do the SWAP?? programs by Innovative Data Concepts.
  4638.     AVATAR.SYS supports functions 00h and 01h (only the first three fields
  4639.       of the user parameter block) using the name "AVATAR  "
  4640. SeeAlso: AX=CAFEh
  4641.  
  4642. Format of User Parameter Block:
  4643. Offset    Size    Description
  4644.  00h  8 BYTEs    blank-padded TSR name
  4645.  08h    WORD    TSR ID number
  4646.  0Ah    DWORD    bitmap of supported functions
  4647.  0Eh    BYTE    scan code of primary hotkey
  4648.             00h = pop up when shift states match
  4649.             FFh = no popup (if shift state also FFh)
  4650.  0Fh    BYTE    shift state of primary hotkey
  4651.             FFh = no popup (if scan code also FFh)
  4652.  10h    BYTE    number of secondary hotkeys
  4653.  11h    DWORD    pointer to extra hotkeys set by func 05h
  4654.  15h    WORD    current TSR status flags
  4655.  17h    WORD    PSP segment of TSR
  4656.  19h    DWORD    DTA for TSR
  4657.  1Dh    WORD    default DS for TSR
  4658.  1Fh    DWORD    stack at popup
  4659.  23h    DWORD    stack at background invocation
  4660.  
  4661. Format of TSR internal data area:
  4662. Offset    Size    Description
  4663.  00h    BYTE    revision level of TesSeRact library
  4664.  01h    BYTE    type of popup in effect
  4665.  02h    BYTE    INT 08 occurred since last invocation
  4666.  03h    BYTE    INT 13 occurred since last invocation
  4667.  04h    BYTE    active interrupts
  4668.  05h    BYTE    active soft interrupts
  4669.  06h    BYTE    DOS major version
  4670.  07h    BYTE    how long to wait before popping up
  4671.  08h    DWORD    pointer to INDOS flag
  4672.  0CH    DWORD    pointer to DOS critical error flag
  4673.  10h    WORD    PSP segment of interrupted program
  4674.  12h    WORD    PSP segment of prog interrupted by INT 28
  4675.  14h    DWORD    DTA of interrupted program
  4676.  18h    DWORD    DTA of program interrupted by INT 28
  4677.  1Ch    WORD    SS of interrupted program
  4678.  1Eh    WORD    SP of interrupted program
  4679.  20h    WORD    SS of program interrupted by INT 28
  4680.  22h    WORD    SP of program interrupted by INT 28
  4681.  24h    DWORD    INT 24 of interrupted program
  4682.  28h  3 WORDs    DOS 3+ extended error info
  4683.  2Eh    BYTE    old BREAK setting
  4684.  2Fh    BYTE    old VERIFY setting
  4685.  30h    BYTE    were running MS WORD 4.0 before popup
  4686.  31h    BYTE    MS WORD 4.0 special popup flag
  4687.  32h    BYTE    enhanced keyboard call in use
  4688.  33h    BYTE    delay for MS WORD 4.0
  4689. 11 times (for INTs 08h,09h,13h,16h,1Ch,21h,28h,2Fh,1Bh,23h, and 24h):
  4690.     DWORD    old interrupt vector
  4691.     BYTE    interrupt number
  4692.     WORD    offset in TesSeRact code segment of new interrupt handler
  4693. ----------2F5500-----------------------------
  4694. INT 2F U - DOS v5.0 - COMMAND.COM INTERFACE
  4695.     AX = 5500h
  4696. Return: AX = 0000h
  4697.     DS:SI -> entry point table
  4698. Notes:    used to access the shareable portion of COMMAND.COM, which may have
  4699.       been moved into the HMA; only the primary COMMAND.COM retains this
  4700.       portion
  4701.     procedures called from a dispatcher in COMMAND's resident portion;
  4702.       most assume that the segment address of the resident portion is on
  4703.       the stack and are thus not of general use
  4704. ----------2F6282-----------------------------
  4705. INT 2F U - PC Tools v7.0+ VDEFEND, DATAMON - SET ??? ADDRESS
  4706.     AX = 6282h
  4707.     CX:DX -> ??? or 0000h:0000h
  4708.     DI = 0000h ???
  4709.          FFFFh ???
  4710.          other segment of ???
  4711. Return: BX = 0062h
  4712. Note:    if CX:DX = 0000h:0000h on entry, the ??? address is not changed
  4713.       (DATAMON only)
  4714. SeeAlso: INT 21/AH=FAh"VDEFEND"
  4715. ----------2F6284BX0000-----------------------
  4716. INT 2F U - PC Tools v7.0+ DATAMON - INSTALLATION CHECK
  4717.     AX = 6284h
  4718.     BX = 0000h
  4719.     CX = 0000h
  4720. Return: AX = segment of resident code
  4721.     BX = 5555h
  4722.     CX = 5555h
  4723. ----------2F6284BX0001-----------------------
  4724. INT 2F U - PC Tools v7.0+ DATAMON - GET ???
  4725.     AX = 6284h
  4726.     BX = 0001h
  4727.     CX = 0001h
  4728. Return: AX:BX -> ???
  4729.     CX = BX
  4730. ----------2F6284BX0002-----------------------
  4731. INT 2F U - PC Tools v7.0+ DATAMON - GET ???
  4732.     AX = 6284h
  4733.     BX = 0002h
  4734.     CX = 0002h
  4735. Return: AX = ???
  4736.     BX = ???
  4737.     CX = AX
  4738.     DX = BX
  4739. ----------2F6284BX0003-----------------------
  4740. INT 2F U - PC Tools v7.0+ DATAMON - SET ??? FLAGS
  4741.     AX = 6284h
  4742.     BX = 0003h
  4743.     CX = flags
  4744.         bit 12: ???
  4745.         10: ???
  4746.          5: ???
  4747.          3: ???
  4748.     DX = flags
  4749.         bit 15: ???
  4750. ----------2F6400-----------------------------
  4751. INT 2F - SCRNSAV2.COM - INSTALLATION CHECK
  4752.     AX = 6400h
  4753. Return: AL = 00h not installed
  4754.          FFh installed
  4755. Note:    SCRNSAV2.COM is a screen saver for PS/2's with VGA by Alan Ballard
  4756. SeeAlso: INT 10/AX=5555h
  4757. ----------2F7000------------------------------
  4758. INT 2F - License Service API - INSTALLATION CHECK
  4759.     AX = 7000h
  4760.     CX = license server index (0000h to 001Fh)
  4761. Return: AL = status
  4762.         00h not installed
  4763.         FFh installed
  4764. Notes:    The License Service API is being maintained by Microsoft but is being
  4765.       supported by a large number of companies including Apple, Banyan,
  4766.       DEC, HP, Lotus, Microsoft, Novell, Software Publishers Association,
  4767.       and Wordperfect (not a complete list!)
  4768.     Each license service provider must search for the next free index
  4769.       slot to use
  4770. SeeAlso: AX=7001h,AX=7003h,AX=7004h,AX=7005h
  4771. ----------2F7001------------------------------
  4772. INT 2F - License Service API - REQUEST License
  4773.     AX = 7001h
  4774.     CX = license server index (0000h to 001Fh)
  4775.     DS:DX -> SLSREQEUST structure (see below)
  4776. Return: AX = status
  4777.         0000h success
  4778.         else  provider error code
  4779.     ES:BX = provider specific handle for the license context
  4780. SeeAlso: AX=7002h,AX=7004h,AX=7005h
  4781.  
  4782. Format of SLSREQUEST structure:
  4783. Offset    Size    Description
  4784.  00h    DWORD    (return) status code
  4785.  04h    DWORD    (return) handle identifying context
  4786.  08h    DWORD    (call) address of Publisher string
  4787.  0Ch    DWORD    (call) address of Product string
  4788.  10h    DWORD    (call) address of Version string
  4789.  14h    DWORD    units required
  4790.  18h    DWORD    address of comment string
  4791.  1Ch    DWORD    address of SLSCHALLENGE structure (see below)
  4792.  
  4793. Format of SLSCHALLENGE structure:
  4794. Offset    Size    Description
  4795.  00h    DWORD    algorithm (currently always 1)
  4796.  04h    DWORD    secret to be challenged (1-255)
  4797.  08h    DWORD    size of challenge in bytes (1-255)
  4798.  0Ch  N BYTEs    challenge data
  4799. ----------2F7002------------------------------
  4800. INT 2F - License Service API - RELEASE License
  4801.     AX = 7002h
  4802.     CX = license server index (0000h to 001Fh)
  4803.     DS:DX -> SLSRELEASE structure (see below)
  4804.     ES:BX = provider specific handle for the license context
  4805. Return: AL = status
  4806.         00h not installed
  4807.         FFh installed
  4808. SeeAlso: AX=7001h,AX=7005h
  4809.  
  4810. Format of SLSRELEASE structure:
  4811. Offset    Size    Description
  4812.  00h    DWORD    handle indentifying license context
  4813.  04h    DWORD    total units consumed
  4814.  08h    DWORD    address of comment string
  4815. ----------2F7003------------------------------
  4816. INT 2F - License Service API - UPDATE
  4817.     AX = 7003h
  4818.     CX = license server index (0000h to 001Fh)
  4819.     DS:DX -> SLSUPDATE structure
  4820.     ES:BX = provider specific handle for the license context
  4821. Return: AL = status
  4822.         00h not installed
  4823.         FFh installed
  4824. SeeAlso: AX=7004h,AX=7005h
  4825.  
  4826. Format of SLSUPDATE structure:
  4827. Offset    Size    Description
  4828.  00h    DWORD    (return) status code
  4829.  04h    DWORD    (call) handle identifying license context
  4830.  08h    DWORD    (call) total units consumed
  4831.  0Ch    DWORD    additional units required
  4832.  10h    DWORD    address of comment string
  4833.  14h    DWORD    address of SLSCHALLENGE structure (see AX=7001h)
  4834. ----------2F7004------------------------------
  4835. INT 2F - License Service API - GET ERROR
  4836.     AX = 7004h
  4837.     CX = license server index (0000h to 001Fh)
  4838.     DS:DX -> SLSGETERROR structure (see below)
  4839.     ES:BX = provider specific handle for the license context
  4840. Return: AL = status
  4841.         00h not installed
  4842.         FFh installed
  4843. SeeAlso: AX=7000h,AX=7001h
  4844.  
  4845. Format of SLSGETERROR structure:
  4846. Offset    Size    Description
  4847.  00h    DWORD    (return) status code
  4848.  04h    DWORD    handle identifying license context
  4849.  08h    DWORD    error code
  4850.  0Ch    DWORD    buffer size in bytes
  4851.  10h  N BYTEs    data buffer
  4852. ----------2F7005------------------------------
  4853. INT 2F - License Service API - QUERY License
  4854.     AX = 7005h
  4855.     CX = license server index (0000h to 001Fh)
  4856.     DS:DX -> SLSQUERY structure (see below)
  4857.     ES:BX = provider specific handle for the license context
  4858. Return: AL = status
  4859.         00h not installed
  4860.         FFh installed
  4861. SeeAlso: AX=7001h,AX=7002h
  4862.  
  4863. Format of SLSQUERY structure:
  4864. Offset    Size    Description
  4865.  00h    DWORD    (return) status code
  4866.  04h    DWORD    handle identifying license context
  4867.  08h    DWORD    information index
  4868.  0Ch    DWORD    buffer size in bytes
  4869.  10h  N BYTEs    data buffer
  4870. ----------2F7200-----------------------------
  4871. INT 2F - SRDISK v1.30 - INSTALLATION CHECK
  4872.     AX = 7200h
  4873. Return: AL = FFh if installed
  4874.         ES = segment of device driver header (see below)
  4875. Note:    SRDISK is a freeware resizeable RAMdisk by Marko Kohtala
  4876.  
  4877. Format of device driver header:
  4878. Offset    Size    Description
  4879.  00h 10 BYTEs    same as standard device driver header (see INT 21/AH=52h)
  4880.  0Ah    BYTE    number of subunits (drives) supported by driver
  4881.  0Bh  3 BYTEs    signature "SRD"
  4882.  0Eh  4 BYTEs    memory type string (currently only "XMS ")
  4883.  12h  4 BYTEs    ASCII driver version string "N.NN"
  4884.  16h    BYTE    00h
  4885.  17h    BYTE    configuration format version (currently 00h)
  4886.  18h    WORD    offset of drive configuration data
  4887. ----------2F7A00-----------------------------
  4888. INT 2F - Novell NetWare - LOW-LEVEL API (IPX) INSTALLATION CHECK
  4889.     AX = 7A00h
  4890. Return: AL = 00h not installed
  4891.        = FFh installed
  4892.         ES:DI -> FAR entry point for routines accessed exclusively
  4893.             through INT 7A in NetWare versions through 2.0a.  Call
  4894.             with same values as INT 7A
  4895. SeeAlso: AX=7AFFh/BX=0000h,AX=D800h,INT 64"Novell",INT 7A"Novell"
  4896. ----------2F7A10-----------------------------
  4897. INT 2F - Novell NetWare - TBMI v2.0 - GET TBMI STATUS
  4898.     AX = 7A10h
  4899. Return: DH = major TBMI version number
  4900.     DL = minor TBMI version number
  4901.     CX = segment address of TBMI resident part
  4902.     BX = status word of TBMI
  4903.         bit 0: INT2F intercepted by TBMI
  4904.         bit 1: INT7A intercepted by TBMI
  4905.         bit 2: INT64 intercepted by TBMI
  4906.         bits 3-14: reserved or unused ???
  4907.         bit 15: outstanding task ID was detected
  4908. Note:    TBMI is the Task-Switched Buffer Manager Interface
  4909. SeeAlso: AX=7A11h,AX=7A12h,AX=7A13h,AX=7A14h
  4910. ----------2F7A11-----------------------------
  4911. INT 2F - Novell NetWare - TBMI v2.0 - GET INT2F HANDLERS
  4912.     AX = 7A11h
  4913. Return: ES:BX -> old INT 2F handler
  4914.     DS:DX -> TBMI INT 2F handler
  4915. SeeAlso: AX=7A10h,AX=7A12h,AX=7A13h
  4916. ----------2F7A12-----------------------------
  4917. INT 2F - Novell NetWare - TBMI v2.0 - GET INT64 HANDLERS
  4918.     AX = 7A12h
  4919. Return: ES:BX -> old INT 64 handler
  4920.     DS:DX -> TBMI INT 64 handler
  4921. SeeAlso: AX=7A10h,AX=7A11h,AX=7A13h
  4922. ----------2F7A13-----------------------------
  4923. INT 2F - Novell NetWare - TBMI v2.0 - GET INT7A HANDLERS
  4924.     AX = 7A13h
  4925. Return: ES:BX = old INT 7A handler
  4926.     DS:DX = TBMI INT 7A handler
  4927. SeeAlso: AX=7A10h,AX=7A11h,AX=7A12h
  4928. ----------2F7A14-----------------------------
  4929. INT 2F - Novell NetWare - TBMI v2.0 - GET STATISTICS
  4930.     AX = 7A14h
  4931.     CX = statistic to retrieve
  4932.         0000h available diagnostic functions???
  4933.         Return: CX = maximum available function??? (000Ch for v2.0)
  4934.         0001h buffers in use
  4935.         Return: CX = TBMI buffers currently in use
  4936.         0002h maximum buffers used
  4937.         Return: CX = maximum number of buffers ever in use
  4938.         0003h unavailable buffers
  4939.         Return: CX = count of unavailable TBMI buffers
  4940.         0004h old interrupt usage
  4941.         Return: CX = TBMI accesses to intercepted old vectors INT 2F,
  4942.                 INT 64, and INT 7A
  4943.         0005h far call usage
  4944.         Return: CX = TBMI accesses to IPX/SPX far call handler (not
  4945.                 including internal accesses)
  4946.         0006h task buffering
  4947.         Return: CX = TBMI task buffering status (enabled/disabled or
  4948.                 disable/enable switch count???)
  4949.         0007h current task ID
  4950.         Return: CX = TBMI current task ID number (0000h if ???)
  4951.         0008h outstanding ID count
  4952.         Return: CX = number of outstanding TBMI IDs
  4953.         0009h configured ECBs
  4954.         Return: CX = number of TBMI Event Control Blocks configured
  4955.         000Ah configured data ECBs
  4956.         Return: CX = number of TBMI data ECBs configured
  4957.         000Bh configured sockets
  4958.         Return: CX = number of TBMI sockets configured (from NETCFG)
  4959.         000Ch current sockets
  4960.         Return: CX = number of TBMI sockets currently in use
  4961. SeeAlso: AX=7A10h
  4962. ----------2F7A1B-----------------------------
  4963. INT 2F - Novell NetWare - TBMI v2.0 - RESERVED???
  4964.     AX = 7A1Bh
  4965. Note:    this call merely performs an IRET
  4966. ----------2F7A80-----------------------------
  4967. INT 2F - Novell NetWare - SHELL 3.01d BROADCAST - ABNORMAL EXIT
  4968.     AX = 7A80h
  4969. Return: nothing
  4970. Notes:    called on abnormal exit of the NetWare shell to notify other Novell
  4971.       TSRs that it is unsafe to call the shell in the future.
  4972.     must be passed through so that all interested programs see the exit
  4973.     on receiving this call, IPXODI clears an internal pointer to a
  4974.       default value; Novell's NETBIOS.EXE clears its INT 21h pointer to
  4975.       0000h:0000h and stops calling it
  4976. SeeAlso: AX=7A81h
  4977. ----------2F7A81-----------------------------
  4978. INT 2F - Novell NetWare - SHELL 3.01d BROADCAST - SET SHELL INT 21 HANDLER
  4979.     AX = 7A81h
  4980.     CX:DX -> shell's INT 21h entry point
  4981. Return: nothing
  4982. Notes:    the shell calls this function as it loads to allow interested TSRs
  4983.       and drivers to make a local copy of the shell's entry point
  4984.     must be passed through so that all interested programs see it
  4985. ----------2F7A85-----------------------------
  4986. INT 2F - Novell NetWare - shell 3.01 - BROADCAST INFORM
  4987.     AX = 7A85h
  4988.     CX = broadcast server number
  4989. Return: CX = 0000h if broadcast message handled by another program
  4990.     CX unchanged if broadcast not handled
  4991. ----------2F7A90-----------------------------
  4992. INT 2F U - Novell NetWare - NETBIOS.EXE 3+ - INSTALLATION CHECK
  4993.     AX = 7A90h
  4994. Return: AL = 00h if present
  4995.         BX = ???
  4996.         CX = PSP segment of NETBIOS resident code
  4997. SeeAlso: AX=7AFEh
  4998. ----------2F7AFE-----------------------------
  4999. INT 2F - Novell NetWare - DOSNP.EXE - INSTALLATION CHECK
  5000.     AX = 7AFEh
  5001. Return: AL = FFh if present
  5002.         ES = (data???) segment of DOSNP
  5003. Program: DOSNP.EXE provides "named pipes" support for DOS workstations running
  5004.        NetWare
  5005. Note:    the NetWare shell calls this function and refuses to load if DOSNP is
  5006.       present
  5007. SeeAlso: AX=7A90h
  5008. ----------2F7AFFBX0000-----------------------
  5009. INT 2F - Novell NetWare - TBMI v2.0 - INSTALLATION CHECK???
  5010.     AX = 7AFFh
  5011.     BX = 0000h
  5012.     CX = 4E65h ("Ne")
  5013.     DX = 7457h ("tW")
  5014.     ES:DI -> IPX/SPX special handler (XMS/EMS ???)
  5015. Return: AL = FFh if installed
  5016.         CX = configured sockets (14h)
  5017.         DS:SI -> data table ???
  5018.         ES:DI -> IPX far call handler
  5019. Note:    for IPX/SPX this call reportedly returns DS:DI pointing to the table
  5020.       of pointers to service events queue head and tail
  5021. SeeAlso: AX=7AFFh/BX=0001h
  5022. ----------2F7AFFBX0001-----------------------
  5023. INT 2F - Novell NetWare - TBMI v2.0, shell v3.01d - INSTALLATION CHECK???
  5024.     AX = 7AFFh
  5025.     BX = 0001h
  5026.     CX = 4E65h ("Ne")
  5027.     DX = 7457h ("tW")
  5028. Return: AL = FFh if installed
  5029.         CX = ???  (8000h)
  5030.         SI = ??? (or -> ???) (0002h)
  5031.         ES:DI -> IPX far call handler
  5032.         ES:DX -> 6-byte data area ???
  5033. SeeAlso: AX=7AFFh/BX=0000h
  5034. ----------2F7F24-----------------------------
  5035. INT 2F - Multiplex - ???
  5036.     AX = 7F24h
  5037.     ???
  5038. Return: ???
  5039. Note:    called by PC/370, an IBM 370 emulator by Donald S. Higgins
  5040. ----------2F7F26-----------------------------
  5041. INT 2F - Multiplex - ???
  5042.     AX = 7F26h
  5043.     ???
  5044. Return: ???
  5045. Note:    called by PC/370, an IBM 370 emulator by Donald S. Higgins
  5046. ----------2F8000-----------------------------
  5047. INT 2F - EASY-NET - INSTALLATION CHECK
  5048.     AX = 8000h
  5049. Return: AL = 00h not installed
  5050.          FFh installed
  5051. Note:    EASY-NET is a shareware two-machine serial-port network
  5052. ----------2F8000-----------------------------
  5053. INT 2F - Nanosoft, Inc. TurboNET server - INSTALLATION CHECK
  5054.     AX = 8000h
  5055. Return: AL = FFh if installed
  5056.         BX = CS of resident code
  5057.         CX = ??? (03FCh)
  5058. Note:    TurboNET is a NetBIOS-based file redirector and server; a demonstration
  5059.       version may be downloaded from Nanosoft's BBS
  5060. SeeAlso: AX=8100h
  5061. ----------2F8000DX0000-----------------------
  5062. INT 2F - FaxBIOS interface - INSTALLATION CHECK
  5063.     AX = 8000h
  5064.     DX = 0000h
  5065.     DI = 0000h
  5066. Return: AL = FFh if installed
  5067.     DX:DI -> signature "FaxBiosjpc"
  5068. Note:    FaxBIOS may use any multiplex number from 80h through FFh; to determine
  5069.       whether it is installed, it is necessary to poll all multiplex
  5070.       numbers for one which returns the above signature
  5071. SeeAlso: AH=2Ah,AX=80FBh
  5072. ----------2F8001-----------------------------
  5073. INT 2F - Nanosoft, Inc. TurboNET server - ???
  5074.     AX = 8001h
  5075.     DS:SI -> 16-byte buffer for ???
  5076. Return: AH = status
  5077.         00h successful
  5078.         01h error
  5079. Note:    makes NetBIOS calls
  5080. ----------2F80FB-----------------------------
  5081. INT 2F - FaxBIOS interface - COMMAND SUBMISSION
  5082.     AX = 80FBh
  5083.     BX = function number (see below)
  5084.     DX:DI -> command buffer (see below)
  5085. Return: AL = FFh if submitted OK
  5086.     CX = result code (see below)
  5087. Note:    FaxBIOS may use any multiplex number from 80h through FFh
  5088. SeeAlso: AX=8000h"FaxBIOS",AX=CBDDh
  5089.  
  5090. Values for function number:
  5091.  0001h    SYS_LOGIN
  5092.  0002h    SYS_LOGOUT
  5093.  0003h    SYS_GET_FAXAPP_INFO
  5094.  0004h    STAT_IO_GET
  5095.  0005h    STAT_FAXBIOS_GET
  5096.  0006h    PDIR_OPEN
  5097.  0007h    PDIR_CLOSE
  5098.  0008h    PDIR_READ_PERSON
  5099.  0009h    PDIR_PARTIAL_READ
  5100.  000Ah    PDIR_READ_GROUP
  5101.  000Bh    PDIR_READ_MEMBER_LIST
  5102.  000Ch    PDIR_WRITE_PERSON
  5103.  000Dh    PDIR_WRITE_GROUP
  5104.  000Eh    PDIR_DELETE_PERSON
  5105.  000Fh    PDIR_DELETE_GROUP
  5106.  0010h    PDIR_READ_GROUP_LIST
  5107.  0011h    PDIR_IN_GROUP
  5108.  0012h    PDIR_OUT_GROUP
  5109.  0013h    SCHED_OPEN
  5110.  0014h    SCHED_ADD_DEST
  5111.  0015h    SCHED_ADD_FILE
  5112.  0016h    SCHED_SET_PARAMS
  5113.  0017h    SCHED_CANCEL
  5114.  0018h    SCHED_CLOSE
  5115.  0019h    SLOG_OPEN
  5116.  001Ah    SLOG_CLOSE
  5117.  001Bh    SLOG_SHORT_ENV_STAT
  5118.  001Ch    SLOG_LONG_ENV_STAT
  5119.  001Dh    SLOG_DEST_STAT
  5120.  001Eh    SLOG_FILE_STAT
  5121.  001Fh    SLOG_CANCEL_ENV
  5122.  0020h    RLOG_OPEN
  5123.  0021h    RLOG_CLOSE
  5124.  0022h    RLOG_READ
  5125.  0023h    GRAPH_GET_FILE_TYPE
  5126.  0024h    GRAPH_EXPORT_FILE
  5127.  0025h    GRAPH_GET_LAYOUT_INFO
  5128.  0026h    GRAPH_CREATE_FILE
  5129.  0027h    GRAPH_CLOSE_FILE
  5130.  0028h    GRAPH_CREATE_PAGE
  5131.  0029h    GRAPH_WRITE
  5132.  002Ah    GRAPH_END_PAGE
  5133.  002Bh    GRAPH_OPEN_FILE
  5134.  002Ch    GRAPH_GOTO_PAGE
  5135.  002Dh    GRAPH_READ
  5136.  002Eh    IOCTL_GET
  5137.  002Fh    IOCTL_SET
  5138.  0030h    IOCTL_ANSWER_FAX
  5139.  0031h    IOCTL_DIAL
  5140.  
  5141. Values for result code:
  5142.  0000h    successful
  5143.  0001h    not prepared or servicing another client (busy)
  5144.  0002h    call failed due to sharing (LOCKED)
  5145.  0003h    logged-in client limit reached (FULL)
  5146.  0004h    transport denied (TRANSPORT_DENIED)
  5147.  0005h    not implemented (NOT_IMPLEMENTED)
  5148.  0006h    aborted while in progress (ABORTED)
  5149.  0007h    permissions denied (PERMISSION_DENIED)
  5150.  0008h    requested data is no longer valid (NO_LONGER_VALID)
  5151.  0080h    unspecified system error occurred
  5152.  0081h    an internal file was not found
  5153.  0082h    an internal file could not be created
  5154.  0083h    an internal file could not be opened
  5155.  0084h    an internal file could not be closed
  5156.  0085h    error occurred writing to an internal file
  5157.  0086h    error occurred reading from an internal file
  5158.  0087h    bad or corrupted file encountered
  5159.  0088h    an access violation occurred
  5160.  0089h    an internal file is empty
  5161.  008Ah    insufficient memory to process request
  5162.  008Bh    FaxBIOS was unable to issue a handle
  5163.  008Ch    an error internal to FaxBIOS occurred
  5164.  008Dh    no room on disk
  5165.  0100h    unspecified error accessing client file
  5166.  0101h    file not found
  5167.  0102h    creation fault
  5168.  0103h    open fault
  5169.  0104h    close fault
  5170.  0105h    write fault
  5171.  0106h    read fault
  5172.  0107h    file corrupted
  5173.  0108h    access violation
  5174.  0109h    empty file
  5175.  0200h    unspecified argument error
  5176.  0201h    bad function
  5177.  0202h    bad option
  5178.  0203h    bad structure size
  5179.  0204h    bad buffer size
  5180.  0205h    bad client ID
  5181.  0300h    unspecified error with token
  5182.  0301h    cover sheet token was invalid
  5183.  0302h    logo token was invalid
  5184.  0303h    signature token was invalid
  5185.  0304h    font token was invalid
  5186.  0305h    phone directory token was invalid
  5187.  0306h    outbound route token was invalid
  5188.  0307h    priority token was invalid
  5189.  0308h    sort token was invalid
  5190.  0309h    billing token was invalid
  5191.  0400h    unspecified handle error
  5192.  0401h    bad Phone Directory handle
  5193.  0402h    bad scheduling handle
  5194.  0403h    bad read send log handle
  5195.  0404h    bad read receive log handle
  5196.  0405h    bad graphics handle
  5197.  0500h    data passed in structure was invalid
  5198.  0501h    name field given is invalid
  5199.  0502h    phone number given is invalid
  5200.  0503h    poll code submitted is invalid
  5201.  0504h    file type constant was invalid
  5202.  0505h    BFT constant not defined or supported
  5203.  0506h    resolution not defined or supported
  5204.  0507h    page length not defined or supported
  5205.  0508h    page width not defined or supported
  5206.  0509h    date & time requested are ridiculous
  5207.  050Ah    Subject text was not an ASCIIZ string
  5208.  050Bh    From text was not an ASCIIZ string
  5209.  050Ch    requested envelope ID was not found
  5210.  050Dh    requested envelope ID is not valid
  5211.  050Eh    envelope requested was not found
  5212.  050Fh    destination index is out of range
  5213.  0510h    file index is out of range
  5214.  0511h    index into receive log is out of range
  5215.  0512h    file name specified was incomplete or invalid
  5216.  0513h    page selected was out of range
  5217.  0514h    bit width more than byte width 
  5218.  0515h    mode for open is not defined
  5219.  0516h    person index is out of range
  5220.  0517h    person ID is out of range
  5221.  0518h    group index out of range or invalid
  5222.  0519h    group ID out of range or invalid
  5223.  051Ah    range of indices to read is invalid
  5224.  051Bh    group name given is invalid
  5225.  051Ch    field_to_use is badly specified
  5226.  051Dh    predicate invalid for field specified
  5227.  0600h    unspecified client procedure error
  5228.  0601h    device of interest is not present
  5229.  0602h    device of interest has been removed
  5230.  0603h    device of interest is not responding
  5231.  0604h    device of interest is disabled
  5232.  0605h    could not dial because device was in use
  5233.  0606h    maximum destination limit exceeded
  5234.  0607h    maximum file limit exceeded
  5235.  0608h    scheduling closed with no destination
  5236.  0609h    scheduling closed with no files or poll
  5237.  060Ah    scheduling closed with no parameters specified
  5238.  060Bh    file type specified does not match file
  5239.  060Ch    file type specified is not supported
  5240.  060Dh    file submitted is not exportable
  5241.  060Eh    file type specified is not imageable
  5242.  060Fh    error converting file
  5243.  0610h    envelope could not be cancelled
  5244.  0611h    Phone Directory is full
  5245.  0612h    record is already in the Phone Directory
  5246.  0613h    selected group in Phone Directory is full
  5247.  0614h    person is already in the group
  5248.  0615h    person is not in the group & cannot be removed
  5249.  0616h    a graphics file to be created already exists
  5250.  0617h    a grphics file to be read is empty
  5251.  0618h    GRAPH_CREATE_PAGE called before GRAPH_END_PAGE
  5252.  0619h    graph read or write attempted without goto or create
  5253.  061Ah    graph page contains no data
  5254.  061Bh    Phone Directory is already open for this client
  5255.  061Ch    schedule log is already open for this client
  5256.  061Dh    receive log is aready open for this client
  5257.  061Eh    Phone Directory function requires write mode
  5258.  0800h    denied exclusive use of the API
  5259.  
  5260. Format of SYS_LOGIN command buffer:
  5261. Offset    Size    Description
  5262.  00h    WORD    structure size
  5263.  02h    WORD    function number
  5264.  04h    WORD    return code
  5265.  06h    WORD    client ID
  5266.  08h    WORD    API Major Version
  5267.  0Ah    WORD    API Minor Version
  5268.  0Ch    DWORD    reserved for manufacturer's use
  5269.  10h 22 BYTEs    manufacturer's ID
  5270.  26h    WORD    highest possible device number
  5271.  28h    WORD    maximum destinations per envelope
  5272.  2Ah    WORD    maximum files per envelope
  5273.  2Ch    WORD    FaxBIOS capabilities bitmap
  5274.          bit 0: transmit supported
  5275.         bit 1: receive supported
  5276.         bit 2: IOCTL supported
  5277.         bit 3: IOCTL_DIAL supported
  5278.         bit 4: IOCTL_ANSWER_FAX supported
  5279.         bit 5: manual transmit supported
  5280.         bit 6: optional phone services supported
  5281.         bit 7: canonical phone objects
  5282.         bit 8: seam with next supported
  5283.  2Eh    DWORD    T.30 capabilities bitmap
  5284.          bit 0:    low vertical resolution (minimum)
  5285.         bit 1:    high vertical resolution
  5286.         bit 2:    page width 107mm (4.21 in)
  5287.         bit 3:    page width 151mm (5.91 in)
  5288.         bit 4:    page width 215mm (8.46 in) (minimum)
  5289.         bit 5:    page width 255mm (10.04 in)
  5290.         bit 6:    page width 303mm (11.93 in)
  5291.         bit 7:    unused
  5292.         bit 8:    page length 297mm (11.69 in) (minimum)
  5293.         bit 9:    page length 364mm (14.33 in)
  5294.         bit 10: page length 279mm (11 in)
  5295.         bit 11: page length unlimited
  5296.         bit 12: Group 4 resolution 300x300
  5297.         bit 13: Group 4 resolution 400x400
  5298.         bit 14: able to respond to poll from remote
  5299.         bit 15: able to poll remote
  5300.         bit 16: binary file transfer supported
  5301.  32h    WORD    IPC handle
  5302.  34h    DWORD    amount of memory needed to load
  5303.  38h    WORD    scope (00h for public, nonzero for private)
  5304.  3Ah  6 BYTEs    future expansion
  5305.  40h    WORD    structure size
  5306.  
  5307. Format of SYS_LOGOUT command buffer:
  5308. Offset    Size    Description
  5309.  00h    WORD    structure size
  5310.  02h    WORD    function number
  5311.  04h    WORD    return code
  5312.  06h    WORD    client ID
  5313.  08h    DWORD    client tag (for client's internal use)
  5314.  0Ch  6 BYTEs    future expansion
  5315.  12h    WORD    structure size
  5316.  
  5317. Format of SYS_GET_FAXAPP_INFO command buffer:
  5318. Offset    Size    Description
  5319.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5320.  0Ch 80 BYTEs    FaxBIOS data
  5321.  5Ch 80 BYTEs    default cover
  5322.  ACh 80 BYTEs    default logo
  5323.  FCh 80 BYTEs    default signature
  5324. 14Ch 80 BYTEs    default font 10
  5325. 19Ch 80 BYTEs    default font 165
  5326. 1ECh 80 BYTEs    default user font
  5327. 23Ch 80 BYTEs    default Pdir
  5328. 28Ch 80 BYTEs    default sort
  5329. 2DCh 10 BYTEs    default bill
  5330. 2E6h 10 BYTEs    default route
  5331. 2F0h 40 BYTEs    default cover sheet form
  5332. 318h 34 BYTEs    valid dial characters
  5333. 33Ah  6 BYTEs    local country code
  5334. 340h  6 BYTEs    local city or area code
  5335. 346h  6 BYTEs    future expansion
  5336. 34Ch    WORD    structure size
  5337.  
  5338. Format of STAT_IO_GET command buffer:
  5339. Offset    Size    Description
  5340.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5341.  0Ch    WORD    device number
  5342.  0Eh    WORD    current activity
  5343.  10h    WORD    number of rings (if ringing)
  5344.  12h    WORD    number of fascimiles transmitted
  5345.  14h    WORD    number of fascimiles received
  5346.  16h    WORD    status of last transmission
  5347.  18h    WORD    envelope number of last transmission
  5348.  1Ah    WORD    index of last destination in envelope
  5349.  1Ch    WORD    status of last reception
  5350.  1Eh    WORD    current page (if session in progress)
  5351.  20h 80 BYTEs    current file
  5352.  70h104 BYTEs    remote number
  5353.  D8h 20 BYTEs    last name
  5354.  ECh 20 BYTEs    first name
  5355. 100h 32 BYTEs    company name
  5356. 120h 32 BYTEs    notes
  5357. 140h    WORD    current envelope ID (if sending)
  5358. 142h    WORD    total pages in transmission (if sending)
  5359. 144h  6 BYTEs    future expansion
  5360. 14h    WORD    structure size
  5361.  
  5362. Format of STAT_FAXBIOS_GET command buffer:
  5363. Offset    Size    Description
  5364.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5365.  0Ch    WORD    status ID
  5366.  0Eh    WORD    currenty FaxBIOS function number
  5367.  10h    WORD    current Client ID being serviced
  5368.  12h    WORD    number of things to do
  5369.  14h    WORD    number of them done
  5370.  16h    WORD    number of pages to do (if any)
  5371.  18h    WORD    number of them done
  5372.  1Ah    WORD    number of files to do
  5373.  1Ch    WORD    number of them done
  5374.  1Eh 80 BYTEs    current File
  5375.  6Eh    WORD    0 if all devices are idle
  5376.  70h    WORD    number of fascimiles transmitted
  5377.  72h    WORD    number of fascimiles received
  5378.  74h    WORD    status of last transmission in system
  5379.  76h    WORD    envelope ID of last transmission
  5380.  78h    WORD    index of last destination in envelope
  5381.  7Ah    WORD    status of last reception in system
  5382.  7Ch    DWORD    time of next transmission
  5383.  80h  6 BYTEs    future expansion
  5384.  86h    WORD    structure size
  5385.  
  5386. Format of PDIR_OPEN command buffer:
  5387. Offset    Size    Description
  5388.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5389.  0Ch 80 BYTEs    Phone Directory token
  5390.  5Ch 80 BYTEs    sort order token
  5391.  ACh    WORD    open Mode (0 = read, 1 = write)
  5392.  AEh    WORD    Phone Directory handle
  5393.  B0h    WORD    number of people
  5394.  B2h    WORD    number of groups
  5395.  B4h    WORD    bitmap of fields supported by partial read
  5396.  B6h  6 BYTEs    future expansion
  5397.  BCh    WORD    structure size
  5398.  
  5399. Format of PDIR_CLOSE command buffer:
  5400. Offset    Size    Description
  5401.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5402.  0Ch    WORD    Phone Directory handle
  5403.  0Eh  6 BYTEs    future expansion
  5404.  14h    WORD    structure size
  5405.  
  5406. Format of PDIR_READ_PERSON command buffer:
  5407. Offset    Size    Description
  5408.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5409.  0Ch    WORD    Phone Directory handle
  5410.  0Eh    WORD    retrieve by index
  5411.  10h    WORD    person ID or index
  5412.  12h    WORD    how many groups person is in
  5413.  14h    WORD    person ID
  5414.  16h 20 BYTEs    last name
  5415.  2Ah 20 BYTEs    first name
  5416.  3Eh 32 BYTEs    company
  5417.  5Eh 32 BYTEs    notes
  5418.  7Eh  6 BYTEs    FAX country code
  5419.  84h  6 BYTEs    FAX city/area code
  5420.  8Ah 14 BYTEs    FAX local number
  5421.  98h 14 BYTEs    FAX extension
  5422.  A6h 24 BYTEs    reserved
  5423.  BEh  6 BYTEs    voice country code
  5424.  C4h  6 BYTEs    voice city/area code
  5425.  CAh 14 BYTEs    voice local number
  5426.  D8h 14 BYTEs    voice extension
  5427.  E6h 24 BYTEs    reserved
  5428.  FEh 10 BYTEs    outbound routing information
  5429. 108h 10 BYTEs    billing information, credit card etc
  5430. 112h    DWORD    remote FAX capabilities
  5431. 116h 21 BYTEs    T.30 poll code of FAX number
  5432. 12Bh 15 BYTEs    reserved
  5433. 13Ah  6 BYTEs    future expansion
  5434. 140h    WORD    structure size
  5435.  
  5436. Format of SCHED_OPEN, SCHED_CANCEL command buffer:
  5437. Offset    Size    Description
  5438.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5439.  0Ch    WORD    scheduler handle
  5440.  0Eh  6 BYTEs    future expansion
  5441.  14h    WORD    structure size
  5442.  
  5443. Format of SCHED_ADD_DEST command buffer:
  5444. Offset    Size    Description
  5445.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5446.  0Ch    WORD    schedule handle
  5447.  0Eh    WORD    device number if manual send wanted
  5448.  10h    WORD    non-zero if poll desired
  5449.  12h    WORD    person ID
  5450.  14h 20 BYTEs    last name
  5451.  28h 20 BYTEs    first name
  5452.  3Ch 32 BYTEs    company
  5453.  5Ch 32 BYTEs    notes
  5454.  7Ch  6 BYTEs    FAX country code
  5455.  82h  6 BYTEs    FAX city/area code
  5456.  88h 14 BYTEs    FAX local number
  5457.  96h 14 BYTEs    FAX extension
  5458.  A4h 24 BYTEs    reserved
  5459.  BCh  6 BYTEs    voice country code
  5460.  C2h  6 BYTEs    voice city/area code
  5461.  C8h 14 BYTEs    voice local number
  5462.  D6h 14 BYTEs    voice extension
  5463.  E4h 24 BYTEs    reserved
  5464.  FCh 10 BYTEs    outbound routing information
  5465. 106h 10 BYTEs    billing information, credit card etc
  5466. 110h    DWORD    remote FAX capabilities
  5467. 114h 21 BYTEs    T.30 poll code of FAX number
  5468. 129h 15 BYTEs    reserved
  5469. 138h  6 BYTEs    future expansion
  5470. 13Eh    WORD    structure size
  5471.  
  5472. Format of SCHED_ADD_FILE command buffer:
  5473. Offset    Size    Description
  5474.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5475.  0Ch    WORD    schedule handle
  5476.  0Eh    WORD    file type
  5477.         0000h unidentified
  5478.         0001h native file format
  5479.         0002h ASCII
  5480.         0003h FaxBIOS Tiff Class F
  5481.  10h 80 BYTEs    file name
  5482.  60h 80 BYTEs    font token
  5483.  B0h    WORD    conversion options bitmap
  5484.  B2h    WORD    resolution
  5485.         0000h standard 98 lines per inch, 204 dpi
  5486.         0001h fine 196 lines per inch, 204 dpi
  5487.         0002h Group4 300 dpi
  5488.         0003h Group4 400 dpi
  5489.  B4h    WORD    page length
  5490.         0000h 279 mm (11 in)
  5491.         0001h 297 mm (11.69 in)
  5492.         0002h 364 mm (14.33 in)
  5493.         0003h unlimited
  5494.  B6h    WORD    page width
  5495.         0000h 215 mm (8.46 in)
  5496.         0001h 255 mm (10.04 in)
  5497.         0002h 303 mm (11.93 in)
  5498.         0003h 151 mm (5.91 in)
  5499.         0004h 107 mm (4.21 in)
  5500.  B8h    WORD    binary file transfer specification
  5501.         0000h only as FAX
  5502.         0001h only as file (for non-faxable files)
  5503.         0002h as file when possible else FAX
  5504.  BAh    WORD    seam flag (nonzero for seam with next)
  5505.  BCh    WORD    delete flag (nonzero to delete when done)
  5506.  BEh  6 BYTEs    future expansion
  5507.  C4h    WORD    structure size
  5508.  
  5509. Format of SCHED_SET_PARAMS command buffer:
  5510. Offset    Size    Description
  5511.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5512.  0Ch    WORD    scheduler handle
  5513.  0Eh    DWORD    time to send
  5514.  10h 10 BYTEs    priority token
  5515.  1Ch 80 BYTEs    logo file token
  5516.  6Ch 80 BYTEs    signature file token
  5517.  BCh 80 BYTEs    cover page token
  5518. 10Ch 40 BYTEs    Subject text
  5519. 134h 40 BYTEs    From text
  5520. 15Ch    WORD    user ID
  5521. 15Eh  6 BYTEs    future expansion
  5522. 164h    WORD    structure size
  5523.  
  5524. Format of SCHED_CLOSE command buffer:
  5525. Offset    Size    Description
  5526.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5527.  0Ch    WORD    scheduler handle
  5528.  0Eh    WORD    envelope ID generated
  5529.  10h  6 BYTEs    future expansion
  5530.  16h    WORD    structure size
  5531.  
  5532. Format of SLOG_OPEN, SLOG_CLOSE, RLOG_OPEN, RLOG_CLOSE command buffer:
  5533. Offset    Size    Description
  5534.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5535.  0Ch    WORD    log handle
  5536.  0Eh    WORD    number of entries 
  5537.  10h  6 BYTEs    future expansion
  5538.  16h    WORD    structure size
  5539.  
  5540. Format of GRAPH_GET_FILE_TYPE command buffer:
  5541. Offset    Size    Description
  5542.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5543.  0Ch 80 BYTEs    filename
  5544.  5Ch    WORD    file type
  5545.         0000h unidentified
  5546.         0001h native file format
  5547.         0002h ASCII
  5548.         0003h FaxBIOS Tiff Class F
  5549.  5Eh    WORD    bitmap of supported capabilities
  5550.  60h  6 BYTEs    future expansion
  5551.  66h    WORD    structure size
  5552.  
  5553. Format of GRAPH_CREATE_FILE command buffer:
  5554. Offset    Size    Description
  5555.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5556.  0Ch 80 BYTEs    filename
  5557.  5Ch    WORD    graph handle
  5558.  5Eh  6 BYTEs    future expansion
  5559.  64h    WORD    structure size
  5560.  
  5561. Format of GRAPH_CLOSE_FILE, GRAPH_END_PAGE command buffer:
  5562. Offset    Size    Description
  5563.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5564.  0Ch    WORD    graph handle
  5565.  0Eh  6 BYTEs    future expansion
  5566.  14h    WORD    structure size
  5567.  
  5568. Format of GRAPH_CREATE_PAGE command buffer:
  5569. Offset    Size    Description
  5570.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5571.  0Ch    WORD    graph handle
  5572.  0Eh    WORD    resolution
  5573.  10h    WORD    page width
  5574.  12h  6 BYTEs    future expansion
  5575.  18h    WORD    structure size
  5576.  
  5577. Format of GRAPH_WRITE_PAGE command buffer:
  5578. Offset    Size    Description
  5579.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5580.  0Ch    WORD    graph handle
  5581.  0Eh    DWORD    pointer to storage for image
  5582.  12h    WORD    band height in lines
  5583.  14h    WORD    width of page image in bytes
  5584.  16h    WORD    facsimile page width constant
  5585.  18h    WORD    width of page image in bits
  5586.  1Ah    WORD    number of bytes actually processed
  5587.  1Ch  6 BYTEs    future expansion
  5588.  22h    WORD    structure size
  5589.  
  5590. Format of GRAPH_OPEN_FILE command buffer:
  5591. Offset    Size    Description
  5592.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5593.  0Ch 80 BYTEs    filename
  5594.  5Ch    WORD    file type
  5595.  5Eh    WORD    graph handle
  5596.  60h    WORD    number of pages
  5597.  62h  6 BYTEs    future expansion
  5598.  68h    WORD    structure size
  5599.  
  5600. Format of GRAPH_GOTO_PAGE command buffer:
  5601. Offset    Size    Description
  5602.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5603.  0Ch    WORD    graph handle
  5604.  0Eh    WORD    page number
  5605.  10h    WORD    vertical resolution
  5606.  12h    WORD    page width
  5607.  14h    DWORD    page length
  5608.  18h  6 BYTEs    future expansion
  5609.  1Eh    WORD    structure size
  5610.  
  5611. Format of GRAPH_READ_PAGE command buffer:
  5612. Offset    Size    Description
  5613.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5614.  0Ch    WORD    graph handle
  5615.  0Eh    DWORD    pointer to storage for image
  5616.  12h    WORD    band height in lines
  5617.  14h    WORD    width of page image in bytes
  5618.  16h    WORD    facsimile page width constant
  5619.  18h    WORD    width of page image in bits
  5620.  1Ah    WORD    number of bytes actually processed
  5621.  1Ch  6 BYTEs    future expansion
  5622.  22h    WORD    structure size
  5623.  
  5624. Format of IOCTL_ANSWER_FAX command buffer:
  5625. Offset    Size    Description
  5626.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5627.  0Ch    WORD    device number
  5628.  0Eh  6 BYTEs    future expansion
  5629.  14h    WORD    structure size
  5630.  
  5631. Format of IOCTL_DIAL command buffer:
  5632. Offset    Size    Description
  5633.  00h 12 BYTEs    common data (see SYS_LOGOUT above)
  5634.  0Ch    WORD    device number
  5635.  0Eh  6 BYTEs    country code
  5636.  14h  6 BYTEs    city or area code
  5637.  1Ah 14 BYTEs    local number
  5638.  28h 14 BYTEs    extension
  5639.  36h 14 BYTEs    reserved
  5640.  4Eh  6 BYTEs    future expansion
  5641.  54h    WORD    structure size
  5642. ----------2F8100-----------------------------
  5643. INT 2F U - Nanosoft, Inc. TurboNET redirector - INSTALLATION CHECK
  5644.     AX = 8100h
  5645. Return: AL = FFh if installed
  5646. Note:    TurboNET is a NetBIOS-based file redirector and server; a demonstration
  5647.       version may be downloaded from Nanosoft's BBS
  5648. SeeAlso: AX=8000h"TurboNET"
  5649. ----------2F8101-----------------------------
  5650. INT 2F U - Nanosoft, Inc. TurboNET redirector - ???
  5651.     AX = 8101h
  5652. Return: AL = ???
  5653.     DL = ???
  5654. ----------2F8102-----------------------------
  5655. INT 2F U - Nanosoft, Inc. TurboNET redirector - ???
  5656.     AX = 8102h
  5657. Return: AL = ???
  5658.     DL = ???
  5659. ----------2F8103-----------------------------
  5660. INT 2F U - Nanosoft, Inc. TurboNET redirector - GET MACHINE NAME???
  5661.     AX = 8103h
  5662.     ES:DI -> 17-byte buffer
  5663. Return: buffer filled
  5664. ----------2F8104-----------------------------
  5665. INT 2F U - Nanosoft, Inc. TurboNET redirector - ???
  5666.     AX = 8104h
  5667.     BL = ???
  5668.     BH = ???
  5669.     CX = ???
  5670.     DX = ???
  5671.     DS:SI -> 16-byte buffer containing ???
  5672. Return: AL = 00h ???
  5673. ----------2F8105-----------------------------
  5674. INT 2F U - Nanosoft, Inc. TurboNET redirector - ???
  5675.     AX = 8105h
  5676.     CX = ??? (don't change current value if 0000h)
  5677.     DX = ??? (don't change current value if 0000h)
  5678. Return: AL = 00h successful
  5679. ----------2F82-------------------------------
  5680. INT 2F U - Nanosoft, Inc. TurboNET - ???
  5681.     AH = 82h
  5682.     ???
  5683. Return: ???
  5684. Note:    called by TNR.EXE, the TurboNET redirector configuration program
  5685. SeeAlso: AX=8100h
  5686. ----------2F8200-----------------------------
  5687. INT 2F - RESPLAY - SAMPLE/PLAYBACK
  5688.     AX = 8200h
  5689.     DX:DI -> start of sample space
  5690.     CX:BX = length in bytes
  5691. Return: AX = status
  5692.         1000h successful
  5693.         2000h not initialized (see AX=8210h)
  5694.         other RESPLAY not installed
  5695. Note:    RESPLAY is a freeware sound sampling/playback utility by Mark J. Cox
  5696. SeeAlso: AX=8201h,AX=8210h
  5697. ----------2F8201-----------------------------
  5698. INT 2F - RESPLAY - INSTALLATION CHECK
  5699.     AX = 8201h
  5700. Return: AX = 7746h if installed
  5701. SeeAlso: AX=8202h
  5702. ----------2F8202-----------------------------
  5703. INT 2F - RESPLAY - UNINSTALL
  5704.     AX = 8202h
  5705. Return:    AX = status
  5706.         1000h successful
  5707. SeeAlso: AX=8201h
  5708. ----------2F8210-----------------------------
  5709. INT 2F - RESPLAY - INITIALIZE
  5710.     AX = 8210h
  5711.     BL = sound device
  5712.         00h printer port LPT1
  5713.         01h printer port LPT2
  5714.         02h prototype board at I/O address 0300h
  5715.         03h printer port (alternative LPT1)
  5716.         04h internal speaker
  5717.     BH = sample rate in multiples of 250 Hz (14h to A0h)
  5718.     CL = direction
  5719.         00h playback
  5720.         01h sample
  5721. Return: AX = status
  5722.         1000h successful
  5723.         2000h parameter out of range
  5724.         other RESPLAY not installed
  5725. SeeAlso: AX=8200h
  5726. ----------2F86-------------------------------
  5727. INT 2F U - ???
  5728.     AH = 86h
  5729.     AL = function (at least 06h and 07h)
  5730.     ???
  5731. Return: ???
  5732. Note:    called by Codeview for Windows
  5733. SeeAlso: AH=44h
  5734. ----------2F8900-----------------------------
  5735. INT 2F - WHOA!.COM - INSTALLATION CHECK
  5736.     AX = 8900h
  5737. Return: AL = 00h not installed
  5738.        = FFh installed
  5739. Note:    WHOA!.COM is a system slow-down utility by Brad D Crandall
  5740. SeeAlso: AX=8901h,AX=8902h
  5741. ----------2F8901-----------------------------
  5742. INT 2F - WHOA!.COM - UNINSTALL
  5743.     AX = 8901h
  5744. Return: AL = FDh successful
  5745.        = FEh error
  5746. Note:    WHOA!.COM is a system slow-down utility by Brad D Crandall
  5747. SeeAlso: AX=8900h
  5748. ----------2F8902-----------------------------
  5749. INT 2F - WHOA!.COM - SET DELAY COUNT
  5750.     AX = 8902h
  5751.     BX = delay count (larger values slow system down more)
  5752. Return: AL = FDh successful
  5753.        = FEh error
  5754. Note:    WHOA!.COM is a system slow-down utility by Brad D Crandall
  5755. SeeAlso: AX=8900h
  5756. ----------2F9000-----------------------------
  5757. INT 2F U - RAID - INSTALLATION CHECK
  5758.     AX = 9000h
  5759. Return: AL = FFh if installed
  5760. Note:    RAID (Resident AID) is a TSR utility program by Ross Neilson Wentworth
  5761.       that resides mostly in EMS
  5762. ----------2F9001-----------------------------
  5763. INT 2F U - RAID - GET ???
  5764.     AX = 9001h
  5765. Return: DX:AX -> ???
  5766. SeeAlso: AX=9000h
  5767. ----------2F9002-----------------------------
  5768. INT 2F U - RAID - GET RESIDENT SEGMENT
  5769.     AX = 9002h
  5770. Return: AX = segment of resident (conventional memory) portion
  5771. SeeAlso: AX=9000h
  5772. ----------2F9003-----------------------------
  5773. INT 2F U - RAID - UNINSTALL
  5774.     AX = 9003h
  5775. Return: ???
  5776. SeeAlso: AX=9000h
  5777. ----------2F9004-----------------------------
  5778. INT 2F U - RAID - GET ???
  5779.     AX = 9004h
  5780. Return: AX = first available paragraph past end of resident portion???
  5781.     CX destroyed
  5782. SeeAlso: AX=9000h
  5783. ----------2F92-------------------------------
  5784. INT 2F - Couriers LAN E-Mail - API
  5785.     AH = 92h
  5786.     AL = function
  5787.         00h installation check
  5788.         01h uninstall
  5789.         02h pop down MICRO.EXE notification window
  5790.         03h ???
  5791.         04h ???
  5792.         05h ???
  5793. Return: ???
  5794. SeeAlso: AH=9Ch
  5795. ----------2F93-------------------------------
  5796. INT 2F - InnerMission v1.7+ - INSTALLATION CHECK
  5797.     AH = 93h
  5798.     BX = CX = AX
  5799. Return: AL = FFh if installed and BX=CX=AX on entry
  5800.         BX = segment of resident code
  5801.        = 01h if installed but BX or CX differ from AX
  5802. Note:    InnerMission is a shareware graphical screen blanker by Kevin Stokes
  5803. ----------2F9C-------------------------------
  5804. INT 2F - Couriers LAN E-Mail OPERATOR.EXE - API
  5805.     AH = 9Ch
  5806.     AL = subfunction
  5807.         01h uninstall
  5808. Return: ???
  5809. SeeAlso: AH=92h
  5810. ----------2FA1--BX0081-----------------------
  5811. INT 2F - Ergo DOS extenders - INSTALLATION CHECK
  5812.     AH = A1h
  5813.     BX = 0081h
  5814.     AL = which
  5815.         FEh OS/286,OS/386
  5816.         FFh HummingBoard DOS extender
  5817.     ES:DI -> 16-byte buffer
  5818. Return: if installed, first four bytes of ES:DI buffer are "IABH"
  5819. Note:    since TKERNEL is a licensed version, it is likely that subfunctions
  5820.       BX=0082h and BX=0084h are present and function identically to the
  5821.       AX=FBA1h/BX=008xh calls
  5822. SeeAlso: AX=ED00h,AX=FBA1h,INT 15/AX=BF02h
  5823. ----------2FA189-----------------------------
  5824. INT 2F U - Biologic HRAMDEV.SYS - API
  5825.     AX = A189h
  5826.     BX = subfunction
  5827.         0000h set ???
  5828.         0001h remove ???
  5829.         0002h get status ???
  5830.         0003h enable ???
  5831.         0004h disable ???
  5832.         0005h set ??? flag
  5833.         0006h clear ??? flag
  5834.         0007h set ??? flag
  5835.         0008h clear ??? flag
  5836.         0009h set ???
  5837.     ES:DI -> function-specific arguments
  5838.         if func 0000h: 20-byte buffer containing ???
  5839.         if func 0001h: 20-byte buffer for returned ???
  5840.         if func 0002h: 16-byte buffer for returned ???
  5841.         if func 0009h: WORD containing ???
  5842. Return: BX = A189h if installed
  5843.     AH = status
  5844.         00h successful
  5845.         FFh failed or invalid function number
  5846. Notes:    HRAMDEV.SYS is a part of the shareware package HRAM by Biologic which
  5847.       provides improved high memory access under MSDOS 5.0
  5848.     functions 00h and 01h use a stack of four entries; function 01h always
  5849.       removes the values stored with the most recent function 00h call
  5850.       which has not yet been matched with a function 01h call.
  5851. ----------2FA4E0-----------------------------
  5852. INT 2F - Futurus Team - INSTALLATION CHECK
  5853.     AX = A4E0h
  5854. Return: AL = 52h ("R") if installed
  5855.         AH = major version plus 30h ("0")
  5856.         ES:BX -> ??? (INT A4 handler???)
  5857. Note:    older versions of Right Hand Man (from which Team evolved) store the
  5858.       signature "RH" at offset 103h in the INT 2F handler's segment
  5859. SeeAlso: INT A4"Right Hand Man"
  5860. ----------2FA900-----------------------------
  5861. INT 2F - METZTSR.COM - INSTALLATION CHECK
  5862.     AX = A900h
  5863.     CF set
  5864. Return: CF clear if resident
  5865.         AX = 97FFh
  5866.     CF set if not present
  5867. Notes:    METZTSR.COM prevents METZ applications (such as the MAGIC screen
  5868.       saver) inactivity timeout while running a DOSapp under MS Windows.
  5869.     the default multiplex number is A9h, but may be set to any value from
  5870.       80h to FFh with a commandline switch
  5871. SeeAlso: AX=A901h,AX=A902h
  5872. ----------2FA901-----------------------------
  5873. INT 2F - METZTSR.COM - GET TIME OF LAST KEYBOARD ACTIVITY
  5874.     AX = A901h
  5875.     CF set
  5876. Return: CF clear if successful
  5877.         AX:DX = BIOS time at which INT 09 was last invoked
  5878.     CF set if not present
  5879. SeeAlso: INT 09,INT 1A/AH=00h
  5880. ----------2FA902-----------------------------
  5881. INT 2F - METZTSR.COM - SET METZ Ctrl-Alt-Del FLAG
  5882.     AX = A902h
  5883.     BL = new value
  5884.         00h Ctrl-Alt-Del not allowed
  5885.         else Ctrl-Alt-Del allowed (startup default is 01h)
  5886.     CF set
  5887. Return: CF clear if successful
  5888.         AX = 97FFh
  5889.     CF set if not resident
  5890. SeeAlso: AX=A903h
  5891. ----------2FA903-----------------------------
  5892. INT 2F - METZTSR.COM - GET METZ Ctrl-Alt-Del FLAG
  5893.     AX = A903h
  5894.     CF set
  5895. Return: CF clear if successful    
  5896.         AX = 97FFh if Ctrl-Alt-Del allowed
  5897.         AX = 0000h if Ctrl-Alt-Del not allowed
  5898.     CF set if not resident
  5899. SeeAlso: AX=A902h
  5900. ----------2FAA00-----------------------------
  5901. INT 2F - VIDCLOCK.COM - INSTALLATION CHECK
  5902.     AX = AA00h
  5903. Return: AL = 00h not installed
  5904.          FFh installed
  5905. Note:    VIDCLOCK.COM is a memory-resident clock by Thomas G. Hanlin III
  5906. ----------2FAB00-----------------------------
  5907. INT 2F - Btrieve Multi-User - INSTALLATION CHECK
  5908.     AX = AB00h
  5909. Return: AL = 4Dh if installed
  5910. SeeAlso: AX=AB01h,AX=AB02h,INT 21/AX=3000h"Btrieve",INT 7B"Btrieve"
  5911. ----------2FAB01-----------------------------
  5912. INT 2F - Btrieve Multi-User - EXECUTE Btrieve OPERATION
  5913.     AX = AB01h
  5914.     BX = process ID
  5915.     DS:DX -> 38-byte parameter record (see INT 7B"Btrieve")
  5916. Return: AL = 00h OK
  5917.        = other retry after calling INT 7F/AX=0200h
  5918. SeeAlso: AX=AB00h,AX=AB02h,INT 7B"Btrieve",INT 7F/AX=0200h
  5919. ----------2FAB02-----------------------------
  5920. INT 2F - Btrieve Multi-User - GET NEW PROCESS ID
  5921.     AX = AB02h
  5922. Return: AL = 00h succesful
  5923.         BX = process ID
  5924.     AL > 00h failed, retry after calling INT 7F/AX=0200h
  5925. SeeAlso: AX=AB00h,AX=AB01h,INT 7B"Btrieve",INT 7F/AX=0200h
  5926. ----------2FAC00-----------------------------
  5927. INT 2F - DOS 4.01+ GRAPHICS.COM - INSTALLATION CHECK
  5928.     AX = AC00h
  5929. Return: AX = FFFFh
  5930.     ES:DI -> ??? (graphics data?) (not documented)
  5931. Note:    this installation check was moved here to avoid the conflict with the
  5932.       CD-ROM extensions that occurred in DOS 4.00
  5933. SeeAlso: AX=1500h"GRAPHICS"
  5934. ----------2FAD00-----------------------------
  5935. INT 2F U - DOS 3.3+ DISPLAY.SYS internal - INSTALLATION CHECK
  5936.     AX = AD00h
  5937. Return: AL = FFh if installed
  5938.         BX = ??? (0100h in MS-DOS 3.30, PCDOS 4.01)
  5939. Note:    DOS 5.0 DISPLAY.SYS chains to previous handler if AL is not one of the
  5940.       subfunctions listed here
  5941. ----------2FAD01-----------------------------
  5942. INT 2F U - DOS 3.3+ DISPLAY.SYS internal - SET ACTIVE CODE PAGE
  5943.     AX = AD01h
  5944.     BX = new code page
  5945. Return: CF clear if successful
  5946.         AX = 0001h
  5947.     CF set on error (unsupported code page)
  5948.         AX = 0000h
  5949. SeeAlso: AX=AD02h
  5950. ----------2FAD02-----------------------------
  5951. INT 2F U - DOS 3.3+ DISPLAY.SYS internal - GET ACTIVE CODE PAGE
  5952.     AX = AD02h
  5953. Return: CF set if code page never set
  5954.         AX = 0001h
  5955.         BX = FFFFh (assume first hardware code page)
  5956.     CF clear if successful
  5957.         BX = current code page
  5958. SeeAlso: AX=AD01h,AX=AD03h
  5959. ----------2FAD03-----------------------------
  5960. INT 2F U - DOS 3.3+ DISPLAY.SYS internal - GET CODE PAGE INFORMATION
  5961.     AX = AD03h
  5962.     ES:DI -> buffer for code page information (see below)
  5963.     CX = size of buffer in bytes
  5964. Return: CF set if buffer too small
  5965.     CF clear if successful
  5966.         ES:DI buffer filled
  5967. SeeAlso: AX=AD01h,AX=AD02h
  5968.  
  5969. Format of DOS 5.0 code page information:
  5970. Offset    Size    Description
  5971.  00h    WORD    number of software code pages
  5972.  02h    WORD    ??? (0003h)
  5973.  04h    WORD    number of hardware code pages
  5974.  06h  N WORDs    hardware code page numbers
  5975.       N WORDs    software (prepared) code pages (FFFFh if not yet prepared)
  5976. ----------2FAD04-----------------------------
  5977. INT 2F U - DOS 4.x only DISPLAY.SYS internal - ???
  5978.     AX = AD04h
  5979.     ???
  5980. Return: ???
  5981. ----------2FAD10-----------------------------
  5982. INT 2F U - DOS 4.x DISPLAY.SYS internal - INSTALLATION CHECK???
  5983.     AX = AD10h
  5984.     ???
  5985. Return: AX = FFFFh
  5986.     BX = ??? (0100h in PCDOS 4.01)
  5987. ----------2FAD10-----------------------------
  5988. INT 2F U - DOS 5.0 DISPLAY.SYS internal - ???
  5989.     AX = AD10h
  5990.     ???
  5991. Return: CF clear if successful
  5992.     CF set on error
  5993. Note:    this function is a NOP if the active code page has never been set
  5994.       (AX=AD02h returns BX=FFFFh); its purpose otherwise is not known
  5995. ----------2FAD40-----------------------------
  5996. INT 2F - DOS 4.0 - ???
  5997.     AX = AD40h
  5998.     DX = ???
  5999.     ???
  6000. Return: ???
  6001. Note:    called by PCDOS 4.01 PRINT.COM
  6002. ----------2FAD80-----------------------------
  6003. INT 2F u - DOS 3.3+ KEYB.COM internal - INSTALLATION CHECK
  6004.     AX = AD80h
  6005. Return: AL = FFh if installed
  6006.         BX = version number (BH = major, BL = minor)
  6007.         ES:DI -> internal data (see below)
  6008. Notes:    MSDOS 3.30, PCDOS 4.01, and MSDOS 5.00 all report version 1.00.
  6009.     undocumented prior to the release of DOS 5.0
  6010.  
  6011. Format of KEYB internal data:
  6012. Offset    Size    Description
  6013.  00h    DWORD    original INT 09
  6014.  04h    DWORD    original INT 2F
  6015.  08h  6 BYTEs    ???
  6016.  0Eh    WORD    flags
  6017.  10h    BYTE    ???
  6018.  11h    BYTE    ???
  6019.  12h  4 BYTEs    ???
  6020.  16h  2 BYTEs    country ID letters
  6021.  18h    WORD    current code page
  6022. ---DOS 3.3---
  6023.  1Ah    WORD    pointer to first item in list of code page tables???
  6024.  1Ch    WORD    pointer to ??? item in list of code page tables
  6025.  1Eh  2 BYTEs    ???
  6026.  20h    WORD    pointer to key translation data
  6027.  22h    WORD    pointer to last item in code page table list (see below)
  6028.  24h  9 BYTEs    ???
  6029. ---DOS 4.01---
  6030.  1Ah  2 BYTEs    ???
  6031.  1Ch    WORD    pointer to first item in list of code page tables???
  6032.  1Eh    WORD    pointer to ??? item in list of code page tables
  6033.  20h  2 BYTEs    ???
  6034.  22h    WORD    pointer to key translation data
  6035.  24h    WORD    pointer to last item in code page table list (see below)
  6036.  26h  9 BYTEs    ???
  6037.  
  6038. Format of code page table list entries:
  6039. Offset    Size    Description
  6040.  00h    WORD    pointer to next item, FFFFh = last
  6041.  02h    WORD    code page
  6042.  04h  2 BYTEs    ???
  6043.  
  6044. Format of translation data:
  6045. Offset    Size    Description
  6046.  00h    WORD    size of data in bytes, including this word
  6047.  02h N-2 BYTEs    ???
  6048. ----------2FAD81-----------------------------
  6049. INT 2F - DOS 3.3+ KEYB.COM - SET KEYBOARD CODE PAGE
  6050.     AX = AD81h
  6051.     BX = code page (see INT 21/AX=6601h)
  6052. Return: CF set on error
  6053.         AX = 0001h (code page not available)
  6054.     CF clear if successful
  6055. Notes:    called by DISPLAY.SYS
  6056.     undocumented prior to the release of DOS 5.0
  6057. SeeAlso: AX=AD82h
  6058. ----------2FAD82-----------------------------
  6059. INT 2F - DOS 3.3+ KEYB.COM - SET KEYBOARD MAPPING
  6060.     AX = AD82h
  6061.     BL = new state
  6062.         00h US keyboard (Control-Alt-F1)
  6063.         FFh foreign keyboard (Control-Alt-F2)
  6064. Return: CF set on error (BL not 00h or FFh)
  6065.     CF clear if successful
  6066. Note:    undocumented prior to the release of DOS 5.0
  6067. SeeAlso: AX=AD81h,AX=AD83h
  6068. ----------2FAD83-----------------------------
  6069. INT 2F - DOS 5.0 KEYB.COM - GET KEYBOARD MAPPING
  6070.     AX = AD83h
  6071. Return: BL = current state
  6072.         00h US keyboard
  6073.         FFh foreign keyboard
  6074. SeeAlso: AX=AD82h
  6075. ----------2FAE00DXFFFF-----------------------
  6076. INT 2F U - DOS 3.3+ internal - INSTALLABLE COMMAND - INSTALLATION CHECK
  6077.     AX = AE00h
  6078.     DX = FFFFh
  6079.     CH = FFh
  6080.     CL = length of command line tail (4DOS v4.0)
  6081.     DS:BX -> command line buffer (see below)
  6082.     DS:SI -> command name buffer (see below)
  6083.     DI = 0000h (4DOS v4.0)
  6084. Return: AL = FFh if this command is a TSR extension to COMMAND.COM
  6085.     AL = 00h if the command should be executed as usual
  6086. Notes:    This call provides a mechanism for TSRs to install permanent
  6087.       extensions to the command repertoire of COMMAND.COM.    It appears
  6088.       that COMMAND.COM makes this call before executing the current
  6089.       command line, and does not execute it itself if the return is FFh.
  6090.     APPEND hooks this call, to allow subsequent APPEND commands to
  6091.       execute without re-running APPEND
  6092.  
  6093. Format of command line buffer:
  6094. Offset    Size    Description
  6095.  00h    BYTE    max length of command line, as in INT 21/AH=0Ah
  6096.  01h    BYTE    count of bytes to follow, excluding terminating 0Dh
  6097.       N BYTEs    command line text, terminated by 0Dh
  6098.  
  6099. Format of command name buffer:
  6100. Offset    Size    Description
  6101.  00h    BYTE    length of command name
  6102.  01h  N BYTEs    uppercased command name (blank-padded to 11 chars by 4DOS v4)
  6103. ----------2FAE01DXFFFF-----------------------
  6104. INT 2F U - DOS 3.3+ internal - INSTALLABLE COMMAND - EXECUTE
  6105.     AX = AE01h
  6106.     DX = FFFFh
  6107.     CH = 00h
  6108.     CL = length of command name (4DOS v4.0)
  6109.     DS:SI -> command name buffer (see AX=AE00h)
  6110.     DS:BX -> command line buffer (see AX=AE00h)
  6111. Return: DS:SI buffer updated
  6112.       if length byte is nonzero, the following bytes contain the uppercase
  6113.       internal command to execute and the command line buffer contains the
  6114.       command's parameters (the first DS:[SI] bytes are ignored)
  6115. Notes:    this call requests execution of the command which a previous call to
  6116.       AX=AE00h indicated was resident
  6117.     APPEND hooks this call
  6118. ----------2FB000-----------------------------
  6119. INT 2F - DOS 3.3+ GRAFTABL.COM - INSTALLATION CHECK
  6120.     AX = B000h
  6121. Return: AL = 00h not installed, OK to install
  6122.        = 01h not installed, not OK to install
  6123.        = FFh installed
  6124. Notes:    called by DISPLAY.SYS
  6125.     documented for DOS 5.0, but undocumented in prior versions
  6126. SeeAlso: AX=B001h
  6127. ----------2FB001-----------------------------
  6128. INT 2F - DOS 3.3+ GRAFTABL.COM - GET GRAPHICS FONT TABLE
  6129.     AX = B001h
  6130.     DS:BX -> DWORD buffer for address of 8x8 font table
  6131. Return: buffer filled
  6132.     AL = FFh
  6133. Note:    PCDOS 3.30/4.01 set the font table offset to 0130h, MSDOS 3.30 to 0030h
  6134. SeeAlso: AX=B000h
  6135. ----------2FB400-----------------------------
  6136. INT 2F - IBM PC3270 EMULATION PROG v3 - INSTALLATION CHECK
  6137.     AX = B400h
  6138. Return: AL = FFh if installed
  6139. ----------2FB401-----------------------------
  6140. INT 2F - IBM PC3270 EMULATION PROG v3 - GET HOST BUFFER ADDRESS
  6141.     AX = B401h
  6142. Return: ES -> host screen buffer (PC ASCII format)
  6143.     ES unchanged if communications not started
  6144. ----------2FB402-----------------------------
  6145. INT 2F - IBM PC3270 EMULATION PROG v3 - ???
  6146.     AX = B402h
  6147.     BX = ???
  6148. Return: ???
  6149. ----------2FB403-----------------------------
  6150. INT 2F - IBM PC3270 EMULATION PROG v3 - ???
  6151.     AX = B403h
  6152.     ???
  6153. Return: ???
  6154. ----------2FB404-----------------------------
  6155. INT 2F - IBM PC3270 EMULATION PROG v3 - ???
  6156.     AX = B404h
  6157.     ???
  6158. Return: ???
  6159. ----------2FB405-----------------------------
  6160. INT 2F - IBM PC3270 EMULATION PROG v3 - ???
  6161.     AX = B405h
  6162.     ???
  6163. Return: ???
  6164. ----------2FB700-----------------------------
  6165. INT 2F - APPEND - INSTALLATION CHECK
  6166.     AX = B700h
  6167. Return: AL = status
  6168.         00h not installed
  6169.         FFh installed
  6170. Note:    MSDOS 3.30 APPEND refuses to install itself when run inside TopView or
  6171.       a TopView-compatible environment
  6172. ----------2FB701-----------------------------
  6173. INT 2F U - APPEND - ???
  6174.     AX = B701h
  6175.     ???
  6176. Return: ???
  6177. Note:    MSDOS 3.30 APPEND displays "Incorrect APPEND Version" and aborts caller
  6178. ----------2FB702-----------------------------
  6179. INT 2F - APPEND - VERSION CHECK
  6180.     AX = B702h
  6181. Return: AX = FFFFh if not DOS 4.0 APPEND (also if DOS 5.0 APPEND)
  6182.     AL = major version number
  6183.     AH = minor version number, otherwise
  6184. SeeAlso: AX=B710h
  6185. ----------2FB703-----------------------------
  6186. INT 2F U - DOS 3.3, DOS 5.0 APPEND - HOOK INT 21
  6187.     AX = B703h
  6188.     ES:DI -> INT 21 handler APPEND should chain to
  6189. Return: ES:DI -> APPEND's INT 21 handler
  6190. Note:    each invocation of this function toggles a flag which APPEND uses to
  6191.       determine whether to chain to the user handler or the original
  6192.       INT 21
  6193. ----------2FB704-----------------------------
  6194. INT 2F - DOS 3.3+ APPEND - GET APPEND PATH
  6195.     AX = B704h
  6196. Return: ES:DI -> active APPEND path (128 bytes max)
  6197. ----------2FB706-----------------------------
  6198. INT 2F - DOS 4+ APPEND - GET APPEND FUNCTION STATE
  6199.     AX = B706h
  6200. Return: BX = APPEND state
  6201.         bit 0: set if APPEND enabled
  6202.         bits 1-11 reserved
  6203.         bit 12: (DOS 5.0) set if APPEND applies directory search even if a
  6204.             drive has been specified
  6205.         bit 13: set if /PATH flag active
  6206.         bit 14: set if /E flag active (environment var APPEND exists)
  6207.         bit 15: set if /X flag active
  6208. ----------2FB707-----------------------------
  6209. INT 2F - DOS 4+ APPEND - SET APPEND FUNCTION STATE
  6210.     AX = B707h
  6211.     BX = APPEND state bits (see AX=B706h)
  6212. ----------2FB710-----------------------------
  6213. INT 2F U - DOS 3.3+ APPEND - GET VERSION INFO
  6214.     AX = B710h
  6215. Return: AX = current APPEND state (see AX=B706h)
  6216.     BX = ??? (0000h in MSDOS 3.30 and 5.00)
  6217.     CX = ??? (0000h in MSDOS 3.30 and 5.00)
  6218.     DL = major version
  6219.     DH = minor version
  6220. SeeAlso: AX=B702h
  6221. ----------2FB711-----------------------------
  6222. INT 2F - DOS 4+ APPEND - SET RETURN FOUND NAME STATE
  6223.     AX = B711h
  6224. Note:    if the next INT 21h call (and ONLY the next) is function 3Dh, 43h, or
  6225.     6Ch (also 4B03h and 4Eh if /X active), the fully qualified filename is
  6226.     written over top of the filename passed to the INT 21h call.  The
  6227.     application must provide a sufficiently large buffer.  This state is
  6228.     reset after the next INT 21h call processed by APPEND.
  6229. BUG:    DOS 4.0 APPEND reportedly overwrites DS:DX instead of DS:SI for
  6230.       INT 21/AH=6Ch
  6231. SeeAlso: INT 21/AH=4Eh
  6232. ----------2FB800-----------------------------
  6233. INT 2F - network - INSTALLATION CHECK
  6234.     AX = B800h
  6235. Return: AL = status
  6236.         00h        not installed
  6237.         nonzero installed
  6238.           BX = installed component flags (test in this order!)
  6239.            bit 6   server
  6240.            bit 2   messenger
  6241.            bit 7   receiver
  6242.            bit 3   redirector
  6243. ----------2FB803-----------------------------
  6244. INT 2F - network - GET NETWORK EVENT POST HANDLER
  6245.     AX = B803h
  6246. Return: ES:BX -> event post handler (see AX=B804h)
  6247. SeeAlso: AX=B804h,AX=B903h
  6248. ----------2FB804-----------------------------
  6249. INT 2F - network - SET NETWORK EVENT POST HANDLER
  6250.     AX = B804h
  6251.     ES:BX -> new event post handler
  6252. Notes:    used in conjunction with AX=B803h to hook into the network event post
  6253.       routine
  6254.     The specified handler is called on any network event.  Two events are
  6255.       defined: message received and critical network error.
  6256. SeeAlso: AX=B803h,AX=B904h
  6257.  
  6258. Values post routine is called with:
  6259.     AX = 0000h single block message
  6260.         DS:SI -> ASCIZ originator name
  6261.         DS:DI -> ASCIZ destination name
  6262.         ES:BX -> text header (see below)
  6263.     AX = 0001h start multiple message block
  6264.         CX = block group ID
  6265.         DS:SI -> ASCIZ originator name
  6266.         DS:DI -> ASCIZ destination name
  6267.     AX = 0002h multiple block text
  6268.         CX = block group ID
  6269.         ES:BX -> text header (see below)
  6270.     AX = 0003h end multiple block message
  6271.         CX = block group ID
  6272.     AX = 0004h message aborted due to error
  6273.         CX = block group ID
  6274.     AX = 0101h server received badly formatted network request
  6275.         Return: AX = FFFFh (PC LAN will process error)
  6276.     AX = 0102h unexpected network error
  6277.         ES:BX -> NCB (see INT 5C)
  6278.     AX = 0103h server received INT 24 error
  6279.         other registers as for INT 24, except AH is in BH
  6280.         Return: as below, but only 0000h and FFFFh allowed
  6281. Return:    AX = response code
  6282.         0000h user post routine processed message
  6283.         0001h PC LAN will process message, but message window not displayed
  6284.         FFFFh PC LAN will process message
  6285.     
  6286. Format of text header:
  6287. Offset    Size    Description
  6288.  00h    WORD    length of text (maximum 512 bytes)
  6289.  02h  N BYTEs    text of message
  6290. Note:    all CRLF sequences in message text are replaced by 14h
  6291. ----------2FB807-----------------------------
  6292. INT 2F - Network - GET NetBIOS NAME NUMBER OF MACHINE NAME
  6293.     AX = B807h
  6294. Return: CH = NetBIOS name number of the machine name
  6295. SeeAlso: INT 21/AX=5E00h
  6296. ----------2FB808-----------------------------
  6297. INT 2F U - Network - RELINK KEYBOARD HANDLER
  6298.     AX = B808h
  6299.     ES:BX -> INT 09 handler network should call after it finishes INT 09
  6300. Notes:    this call replaces the address to which the network software chains on
  6301.       an INT 09 without preserving the original value.  This allows a prior
  6302.       handler to unlink, but does not allow a new handler to be added
  6303.       such that the network gets the INT 09 first unless the new handler
  6304.       completely takes over INT 09 and never chains.
  6305.     called by DOS 3.2 KEYBxx.COM
  6306. SeeAlso: AX=B908h
  6307. ----------2FB809-----------------------------
  6308. INT 2F - LANtastic Network, NetWare Lite - VERSION CHECK
  6309.     AX = B809h
  6310. Return: AH = major version
  6311.     AL = minor version (decimal)
  6312. ----------2FB900-----------------------------
  6313. INT 2F - PC Network RECEIVER.COM - INSTALLATION CHECK
  6314.     AX = B900h
  6315. Return: AL = 00h if not installed
  6316.          FFh if installed
  6317. ----------2FB901-----------------------------
  6318. INT 2F - PC Network RECEIVER.COM - GET RECEIVER.COM INT 2F HANDLER ADDRESS
  6319.     AX = B901h
  6320. Return: AL = ???
  6321.     ES:BX -> RECEIVER.COM INT 2F handler
  6322. Note:    allows more efficient execution by letting the caller bypass any other
  6323.       INT 2F handlers which have been added since RECEIVER.COM was
  6324.       installed
  6325. ----------2FB903-----------------------------
  6326. INT 2F - PC Network RECEIVER.COM - GET RECEIVER.COM POST ADDRESS
  6327.     AX = B903h
  6328. Return: ES:BX -> POST handler
  6329. SeeAlso: AX=B803h,AX=B904h
  6330. ----------2FB904-----------------------------
  6331. INT 2F - PC Network RECEIVER.COM - SET RECEIVER.COM POST ADDRESS
  6332.     AX = B904h
  6333.     ES:BX -> new POST handler
  6334. SeeAlso: AX=B804h,AX=B903h
  6335. ----------2FB905-----------------------------
  6336. INT 2F - PC Network RECEIVER.COM - GET FILENAME
  6337.     AX = B905h
  6338.     DS:BX -> 128-byte buffer for filename 1
  6339.     DS:DX -> 128-byte buffer for filename 2
  6340. Return: buffers filled from RECEIVER.COM internal buffers
  6341. Note:    use of filenames is unknown, but one appears to be for storing messages
  6342. SeeAlso: AX=B906h
  6343. ----------2FB906-----------------------------
  6344. INT 2F - PC Network RECEIVER.COM - SET FILENAME
  6345.     AX = B906h
  6346.     DS:BX -> 128-byte buffer for filename 1
  6347.     DS:DX -> 128-byte buffer for filename 2
  6348. Return: RECEIVER.COM internal buffers filled from user buffers
  6349. Note:    use of filenames is unknown, but one appears to be for storing messages
  6350. SeeAlso: AX=B905h
  6351. ----------2FB908-----------------------------
  6352. INT 2F - PC Network RECEIVER.COM - UNLINK KEYBOARD HANDLER
  6353.     AX = B908h
  6354.     ES:BX -> INT 09 handler RECEIVER should call after it finishes INT 09
  6355. Note:    this call replaces the address to which RECEIVER.COM chains on an
  6356.       INT 09 without preserving the original value.     This allows a prior
  6357.       handler to unlink, but does not allow a new handler to be added
  6358.       such that RECEIVER gets the INT 09 first.
  6359. SeeAlso: AX=B808h
  6360. ----------2FBC00-----------------------------
  6361. INT 2F - Windows 3.0, DOS 5.0 EGA.SYS - INSTALLATION CHECK
  6362.     AX = BC00h
  6363. Return: AL = 00h not installed, OK to install
  6364.        = 01h not installed, not OK to install
  6365.        = FFh installed
  6366.         BX = 5456h ("TV")
  6367. Note:    AH=BCh is the default value, which may be changed by a command line
  6368.       parameter to any value between 80h and FFh
  6369. SeeAlso: AX=BC06h,INT 10/AH=FAh"EGA"
  6370. ----------2FBC06-----------------------------
  6371. INT 2F U - MS Windows 3.0, DOS 5.0 EGA.SYS - GET VERSION INFO
  6372.     AX = BC06h
  6373. Return: BX = 5456h ("TV")
  6374.     CH = major version
  6375.     CL = minor version
  6376.     DL = revision
  6377. SeeAlso: AX=BC00h,INT 10/AH=FAh"EGA"
  6378. ----------2FBE00-----------------------------
  6379. INT 2F - REDVIEW - INSTALLATION CHECK
  6380.     AX = BE00h
  6381. Return: AL = FFh if installed
  6382. Note:    REDVIEW is a public-domain TSR by Alexandr Novy and Petr Horak which
  6383.       copies data sent to standard output to standard error when the
  6384.       former has been redirected to a file, thus allowing the data to
  6385.       be seen on the screen at the same time it is captured in a file
  6386. ----------2FBF00-----------------------------
  6387. INT 2F - PC LAN PROGRAM REDIRIFS.EXE internal - INSTALLATION CHECK
  6388.     AX = BF00h
  6389. Return: AL = FFh if installed
  6390. ----------2FBF01-----------------------------
  6391. INT 2F U - PC LAN PROGRAM REDIRIFS.EXE internal - ???
  6392.     AX = BF01h
  6393.     ???
  6394. Return: ???
  6395. ----------2FBF80-----------------------------
  6396. INT 2F - PC LAN PROG REDIR.SYS internal - SET REDIRIFS ENTRY POINT
  6397.     AX = BF80h
  6398.     ES:DI -> FAR entry point to IFS handler in REDIRIFS
  6399. Return: AL = FFh if installed
  6400.         ES:DI -> internal workspace
  6401. Note:    all future IFS calls to REDIR.SYS are passed to the ES:DI entry point
  6402. ---------------------------------------------
  6403.