home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR10 / SIO120.ARJ / SIOUSER.TXT < prev    next >
Text File  |  1993-10-17  |  59KB  |  1,335 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.                                      USERS MANUAL
  27.  
  28.               SIO.SYS and VSIO.SYS, Serial Communications Device Driver
  29.                for OS/2 V2 (and up) and its Virtual DOS Machines (VDM).
  30.  
  31.                         Copyright (c) 1993 by Raymond L. Gwinn
  32.                                  12469 Cavalier Drive
  33.                               Woodbridge, Virginia 22192
  34.                                  All Rights Reserved
  35.  
  36.                                    October 15, 1993
  37.  
  38.                                         Email
  39.                                  CompuServe 71154,575
  40.                              Internet p00321@psilink.com
  41.  
  42.                                          FAX
  43.                                     1-703-494-0595
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.                                      INTRODUCTION
  56.  
  57.           SIO.SYS and VSIO.SYS are companion device drivers for Version 2
  58.           (and up) of the OS/2 operating system.
  59.  
  60.           Both drivers (SIO/VSIO) have been coded with performance in mind,
  61.           possibly sacrificing some compatibility.  For this reason, SIO
  62.           and VSIO are not exact replacements for the OS/2 drivers COM and
  63.           VCOM.  However, all serial communications programs tested by the
  64.           author work correctly using SIO/VSIO.
  65.  
  66.           This manual is intended for the SIO user.  A separate SIO
  67.           Technical Reference Manual is sent along with registered versions
  68.           of SIO.  The Technical Reference Manual also documents some
  69.           advanced options and features that are not documented here.
  70.  
  71.           This manual and the software distributed with it is provided with
  72.           no guarantees.  Use it at your own risk.
  73.  
  74.           Support
  75.  
  76.           Extensive testing has been done to insure that this product works
  77.           on the widest possible range of OS/2 V2 (and up) systems.  In
  78.           most cases, problems can be resolved by reading this manual
  79.           carefully.
  80.  
  81.           Support is provided in section 1 (Other Vendors) of the OS/2
  82.           Vendor Forum on CompuServe (GO OS2AVEN).  Regular checks are made
  83.           in this Forum for SIO support questions.
  84.  
  85.           In addition, support is provided by Email and FAX.  Voice support
  86.           would overwhelm the author.  If, after reading the manual
  87.           carefully, you are unable to resolve a problem, you may fill out
  88.           PROBLEM.TXT (adding information as necessary) and Email/FAX it to
  89.           one of the following:
  90.  
  91.                                         Email
  92.                                  CompuServe 71154,575
  93.                              Internet p00321@psilink.com
  94.  
  95.                                          FAX
  96.                                     1-703-494-0595
  97.  
  98.           PROBLEM.TXT is included in the distribution ZIP.
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.                                                                          ii
  107.  
  108.                                   TABLE OF CONTENTS
  109.  
  110.  
  111.           INTRODUCTION  . . . . . . . . . . . . . . . . . . . . . . . .   i
  112.                SIO Technical Reference Manual . . . . . . . . . . . . .   i
  113.                Support  . . . . . . . . . . . . . . . . . . . . . . . .   i
  114.                     OS/2 Vendor Forum on CompuServe . . . . . . . . . .   i
  115.  
  116.           WHAT IS SIO . . . . . . . . . . . . . . . . . . . . . . . . .   1
  117.  
  118.           WHAT IS VSIO  . . . . . . . . . . . . . . . . . . . . . . . .   2
  119.  
  120.           GETTING STARTED . . . . . . . . . . . . . . . . . . . . . . .   3
  121.  
  122.           Installing SIO/VSIO . . . . . . . . . . . . . . . . . . . . .   3
  123.                Quick Start  . . . . . . . . . . . . . . . . . . . . . .   3
  124.  
  125.           COMMAND LINE OPTIONS  . . . . . . . . . . . . . . . . . . . .   4
  126.                COM1 thru COMn . . . . . . . . . . . . . . . . . . . . .   4
  127.                I/O port address . . . . . . . . . . . . . . . . . . . .   4
  128.                IRQ number . . . . . . . . . . . . . . . . . . . . . . .   4
  129.                Forced 16550A  . . . . . . . . . . . . . . . . . . . . .   4
  130.  
  131.           PCMCIA  . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  132.  
  133.           AUTOMATIC IRQ ASSIGNMENT  . . . . . . . . . . . . . . . . . .   7
  134.  
  135.           DOS SETTINGS  . . . . . . . . . . . . . . . . . . . . . . . .   8
  136.                SIO_Allow_Access_COMn  . . . . . . . . . . . . . . . . .   8
  137.                SIO_Virtualize_COM_Ports . . . . . . . . . . . . . . . .   8
  138.                SIO_Virtualize_16550A  . . . . . . . . . . . . . . . . .   8
  139.                SIO_Share_Access_With_OS/2 . . . . . . . . . . . . . . .   8
  140.                SIO_Mode_DTR . . . . . . . . . . . . . . . . . . . . . .   9
  141.                SIO_Mode_IDSR  . . . . . . . . . . . . . . . . . . . . .   9
  142.                SIO_Mode_OCTS  . . . . . . . . . . . . . . . . . . . .    10
  143.                SIO_Mode_ODSR  . . . . . . . . . . . . . . . . . . . .    10
  144.                SIO_Mode_RTS . . . . . . . . . . . . . . . . . . . . .    10
  145.                SIO_Mode_XON/XOFF  . . . . . . . . . . . . . . . . . .    11
  146.                SIO_Mode_FIFO_Load_Count . . . . . . . . . . . . . . .    12
  147.  
  148.           Differences between SIO/VSIO and COM/VCOM . . . . . . . . .    13
  149.  
  150.           PROBLEMS AND SOLUTIONS  . . . . . . . . . . . . . . . . . .    15
  151.                IRQ for a port appears to be wrong . . . . . . . . . .    15
  152.                The modem will not initialize  . . . . . . . . . . . .    15
  153.                WinFax locks up during install . . . . . . . . . . . .    15
  154.                Telemate does not recognize VX00 as a FOSSIL . . . . .    15
  155.                Comm output is very slow from DOS  . . . . . . . . . .    15
  156.                FaxWorks' driver FMD.SYS . . . . . . . . . . . . . . .    15
  157.                Procomm stops receiving  . . . . . . . . . . . . . . .    16
  158.                WinFax does not work well. . . . . . . . . . . . . . .    17
  159.                     Class 1 FAX modem . . . . . . . . . . . . . . . .    17
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.                                                                         iii
  168.  
  169.                     Class 2 FAX modem . . . . . . . . . . . . . . . .    17
  170.                Fax/PM does not work . . . . . . . . . . . . . . . . .    18
  171.  
  172.           IRQ SHARING ON ISA  . . . . . . . . . . . . . . . . . . . .    19
  173.  
  174.           Appendix A, Hardware Port and IRQ Assignments . . . . . . .    20
  175.                Addresses and IRQs for COM1 and COM2 . . . . . . . . .    20
  176.                Defacto standard for COM3 and COM4 . . . . . . . . . .    20
  177.                Addresses and IRQ for COM3 through COM8 on the PS/2  .    20
  178.  
  179.           Appendix B, SIO Chips . . . . . . . . . . . . . . . . . . .    21
  180.                8250 . . . . . . . . . . . . . . . . . . . . . . . . .    21
  181.                8250A  . . . . . . . . . . . . . . . . . . . . . . . .    21
  182.                16450  . . . . . . . . . . . . . . . . . . . . . . . .    22
  183.                16C451 . . . . . . . . . . . . . . . . . . . . . . . .    22
  184.                16550 (Non A . . . . . . . . . . . . . . . . . . . . .    22
  185.                16550A . . . . . . . . . . . . . . . . . . . . . . . .    22
  186.                16550AF  . . . . . . . . . . . . . . . . . . . . . . .    22
  187.                16550AFN . . . . . . . . . . . . . . . . . . . . . . .    22
  188.                16550s Made by Western Digital . . . . . . . . . . . .    23
  189.                16C551 . . . . . . . . . . . . . . . . . . . . . . . .    23
  190.                16C552 . . . . . . . . . . . . . . . . . . . . . . . .    23
  191.                16C554 . . . . . . . . . . . . . . . . . . . . . . . .    23
  192.                82510  . . . . . . . . . . . . . . . . . . . . . . . .    23
  193.  
  194.           Appendix C, Multi-Port Serial I/0 Cards . . . . . . . . . .    24
  195.                STB 4COM . . . . . . . . . . . . . . . . . . . . . . .    24
  196.  
  197.           INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . .    25
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.                                                                           1
  206.  
  207.                                      WHAT IS SIO
  208.  
  209.           SIO is a Serial Input/Output (SIO) communications driver.  It
  210.           provides an interface between application programs and the serial
  211.           communications hardware.
  212.  
  213.           SIO had been designed as a high performance replacement for the
  214.           OS/2 device driver COM.SYS.  See the programmers reference manual
  215.           for information about the known differences between COM.SYS and
  216.           SIO.SYS.
  217.  
  218.           SIO only works with 8250 (type) serial I/O devices.  Such devices
  219.           include, but is not limited to the 8250A, 16450, 16550, 16550A
  220.           and the 82510.  If you have a PC that is an IBM or near
  221.           compatible which has a serial communication port, it is likely
  222.           that it contains one of these devices.  SIO will identify the
  223.           type of serial devices that it finds at load time.
  224.  
  225.           Like other Device Drivers, SIO will do very little standing
  226.           alone.  There must be an application(s) program that makes use of
  227.           SIO's functions before one will benefit from SIO.
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.                                                                           2
  236.  
  237.                                      WHAT IS VSIO
  238.  
  239.           VSIO is a Virtual Device Driver (VDD).  Virtual device drivers
  240.           provide services for DOS programs executing under OS/2.  Most
  241.           Virtual Device Drivers emulate a specific hardware device and/or
  242.           BIOS service.  The primary job of a Virtual Device Driver is to
  243.           convert misbehaved DOS input/output into well behaved
  244.           input/output.
  245.  
  246.           Using the protection mechanism of the 386 (and up) processor, a
  247.           Virtual Device Driver can instruct OS/2 to trap all input/output
  248.           for given hardware ports.  Once trapped, the Virtual Device
  249.           Driver (VDD) appropriately routes information to/from the
  250.           Physical Device Driver (PDD) and to/from the DOS program.
  251.  
  252.           VSIO creates a virtual (imaginary) 16550A or 16450 (UART) in
  253.           software.  VSIO does not emulate any BIOS services.  All of the
  254.           hardware registers of the virtual UART are simulated by VSIO. 
  255.           VSIO does not attempt to simulate the timing of the real UARTs. 
  256.           DOS programs that depend on the timing of real hardware UARTs may
  257.           have problems executing under VSIO.
  258.  
  259.           All DOS programs that execute under VSIO should have RTS/CTS
  260.           handshaking enabled regardless of the baud rate.  Note that this
  261.           enabling of RTS/CTS handshaking is independent of the RTS/CTS
  262.           handshaking used by SIO.
  263.  
  264.           The virtualization (simulation) provided by VSIO is not (and can
  265.           not be) exact.  However, most well written DOS programs should
  266.           not have problems.
  267.  
  268.           VSIO will only work with SIO installed and the versions of
  269.           SIO/VSIO must match.  If VSIO refuses to install, you most likely
  270.           have a version mismatch.  VSIO will not work with any other
  271.           device driver like COM.SYS.
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.                                                                           3
  280.  
  281.                                    GETTING STARTED
  282.  
  283.           Installing SIO/VSIO
  284.  
  285.           SIO is distributed as a ZIP file.  To extract the individual
  286.           files from the distribution file you need the program PKUNZIP or
  287.           an equivalent.  PKUNZIP is a product of PKWARE and can be
  288.           downloaded from almost any bulletin board system (BBS).  You
  289.           probably already have PKUNZIP and know how to use it, otherwise I
  290.           doubt that you would be reading this.  When PKUNZIP is used to
  291.           extract the various files, -AV should appear after each file name
  292.           as it is extracted.  In addition, the message:
  293.  
  294.                Authentic files Verified!
  295.  
  296.           should appear after the extraction process.  If this message does
  297.           not appear, or appears with a name other than Raymond L. Gwinn,
  298.           the file is not an original SIO distribution file.
  299.  
  300.           The only file that the basic user actually needs is SIO.SYS. 
  301.           Virtual DOS machine (VDM) users will also want VSIO.SYS.  Copy
  302.           one or both of these files to a convenient directory or
  303.           subdirectory on your system.
  304.  
  305.           Quick Start
  306.  
  307.           Copy SIO.SYS and VSIO.SYS to the root directory of your boot
  308.           drive or diskette.
  309.  
  310.           If you are going to use standard communications ports, either
  311.           COM1 or COM2 on an ISA buss (AT or clone), or COM1 through COM4
  312.           on a PS/2, then add the following line to your CONFIG.SYS file:
  313.  
  314.                DEVICE=SIO.SYS
  315.                DEVICE=VSIO.SYS
  316.  
  317.           Be sure to REMark out the COM.SYS and VCOM.SYS device drivers if
  318.           they exist in your CONFIG.SYS.
  319.  
  320.           With the above statements you will be able to use standard COM1
  321.           and/or COM2 (if they exist) on any PC system know to the author.
  322.  
  323.           If your setup is more complex, you must read on.
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.                                                                           4
  332.  
  333.                                  COMMAND LINE OPTIONS
  334.  
  335.           The command line options are included in the command line that
  336.           loads SIO in the CONFIG.SYS file.  VSIO has no command line
  337.           options.  Command line options are usually grouped by port within
  338.           parenthesis.
  339.  
  340.           If you use only COM1 and/or COM2, at the standard IRQ and port
  341.           addresses, you will not need any command line options.  However,
  342.           up to four serial communications ports, COM1 thru COM4, can be
  343.           specified at any base port address and any IRQ.  On PS/2 systems
  344.           and some ISA cards, SIO/VSIO supports multiple communications
  345.           devices sharing the same IRQ.
  346.  
  347.           The basic command line syntax is as follows:
  348.  
  349.                DEVICE=SIO.SYS (Cn, An, In, Ig, Fc) [(Cn, An, In, Ig, Fc)]
  350.  
  351.           Where
  352.                "Cn" is the comm port number (1 thru 4) or the string COM1
  353.                thru COMn.  The port number may proceeded by an asterisk "*"
  354.                to indicate that the port may be used as a PCMCIA comm port
  355.                (eg *1 or *COM1).
  356.  
  357.                "An" is a hexadecimal number that defines the base hardware
  358.                I/O port address for the communications port.  If this field
  359.                is left blank, the default I/O port address is used for the
  360.                comm port.  Note that default I/O addresses exist only for
  361.                COM1 through COM4 on AT type systems and for COM1 through
  362.                COM8 on PS/2 systems.
  363.  
  364.                "In" is an IRQ number (0 thru 15) or the string IRQ0 thru
  365.                IRQ15.  It is best if one leaves this field blank and allows
  366.                SIO to determine the IRQ, see AUTOMATIC IRQ ASSIGNMENT
  367.                below.
  368.  
  369.                "Ig" is an ignored parameter.  If exists for compatibility
  370.                with COM.SYS.
  371.  
  372.                "Fc" is the Forced 16550A chip parameter.  If an F is placed
  373.                in this position, a 16550A UART chip type is forced
  374.                regardless of the automatically detected chip type.
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.                                                                           5
  383.  
  384.  
  385.           For a PC with COM1 and COM2 of standard configuration, the
  386.           following command line will load SIO correctly:
  387.  
  388.                DEVICE=SIO.SYS (1, 3F8, 4) (2, 2f8, 3)
  389.  
  390.           A more readable, but identical, command line is:
  391.  
  392.                DEVICE=SIO.SYS (COM1,3F8,IRQ4) (COM2,2F8,IRQ3)
  393.  
  394.           Forcing a 16550A on COM1 would be as follows:
  395.  
  396.                DEVICE=SIO.SYS (COM1,3F8,IRQ4,,F) (COM2,2F8,IRQ3)
  397.  
  398.           In a similar manner, up to sixteen serial communications ports
  399.           (four in the downloadable version) can be defined and supported
  400.           by SIO and VSIO.
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.                                                                           6
  409.  
  410.                                         PCMCIA
  411.  
  412.           OS/2 Version 2.1 introduced limited PCMCIA support which includes
  413.           PCMCIA modems.  I am told that the PCMCIA support will be changed
  414.           in the future, so the following information may change.
  415.  
  416.           SIO supports PCMCIA comm ports or modems.  However, several other
  417.           device drivers or programs are needed to use a PCMCIA modem under
  418.           OS/2.  One of the needed drivers is provided with OS/2 version
  419.           2.1 and is called PCMCIA.SYS which provided "Card Services".
  420.  
  421.           Another needed driver, "Socket Services", is usually supplied by
  422.           the computer manufacturer (or supplier).
  423.  
  424.           A third driver is usually supplied by the modem manufacture (or
  425.           supplier).  This driver is referred to as the "Client Driver".
  426.  
  427.           What all of the above boils down to is that these drivers, or
  428.           their equivalents are needed to enable the PCMCIA modem.  Once
  429.           enabled, SIO can then use the modem.
  430.  
  431.           The Client Driver (or equivalent) usually allows the modems I/O
  432.           address and IRQ to be assigned.  If so, the address and IRQ
  433.           assigned at the Client Driver must match an address/IRQ
  434.           combination for a comm port known to SIO.  This is not a problem
  435.           if one is using standard addresses and IRQs for the comm ports.
  436.  
  437.           If the OS/2 drivers are not available, you can also try to enable
  438.           your PCMCIA modem using a DOS VDM and drivers/programs supplied
  439.           for DOS.  This has worked for many users.
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.                                                                           7
  448.  
  449.  
  450.                                AUTOMATIC IRQ ASSIGNMENT
  451.  
  452.           SIO will automatically locate the IRQ that a comm port is
  453.           attached to.  The IRQ used by SIO for a given comm port is
  454.           assigned in the following manner:
  455.  
  456.           1 - If an IRQ is specified in the SIO command line then that IRQ
  457.           is used.  However, SIO will display a warning message if the IRQ
  458.           seems to be other than specified.
  459.  
  460.           2 - If no IRQ is specified in the command line, and if SIO
  461.           detected the IRQ then the detected IRQ is used.
  462.  
  463.           3 - If no IRQ is specified in the command, and if SIO could NOT
  464.           detect an IRQ then the default IRQ for the comm port is used. 
  465.           SIO will also display a warning message in this case.
  466.  
  467.           The following STYLE command line is recommended for all but the
  468.           most unusual systems.  That is, specify only the port number for
  469.           those above COM2 (to tell SIO to support those ports) and let SIO
  470.           do the rest.
  471.  
  472.           DEVICE=SIO.SYS (COM3) (COM4)
  473.  
  474.           If you do not have a COM3 or COM4, or if the mouse is using the
  475.           only comm port above COM2 then the following command line should
  476.           be used.
  477.  
  478.           DEVICE=SIO.SYS
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.                                                                           8
  487.  
  488.                                      DOS SETTINGS
  489.  
  490.           VSIO gets its operational characteristics from DOS Settings. 
  491.           Several basic DOS Settings are provided.  They specify the type
  492.           of access (if any) that a DOS program is to have to a
  493.           communication port that SIO controls.
  494.  
  495.           All of the DOS Settings default to what most users should use
  496.           most of the time (which is ON).  Also, all of the DOS Settings
  497.           are prefixed with SIO_.
  498.  
  499.           If any of the DOS settings are changed, then the DOS session must
  500.           be restarted from the Work Place Shell for the changed setting to
  501.           take affect.
  502.  
  503.           The provided DOS Settings and their meaning follow:
  504.  
  505.                "SIO_Allow_Access_COMn" (where n is 1 thru 4).  This DOS
  506.                setting defaults to ON.  If this setting is turned OFF for
  507.                any or all of the ports, the DOS program will not be allowed
  508.                any access to that port(s).
  509.  
  510.                "SIO_Virtualize_COM_Ports"  This Dos setting defaults to ON
  511.                and it applies to all communications ports used by the DOS
  512.                session.  When ON, this DOS setting means VSIO is to act as
  513.                an interface between the SIO and the DOS program.  When OFF,
  514.                the DOS program is given direct access to the hardware ports
  515.                of the UART(s).
  516.  
  517.                "SIO_Virtualize_16550A"  This DOS setting defaults to ON and
  518.                it applies to all communications ports used by the DOS
  519.                session.  When ON, VSIO will simulate a 16550A.  When OFF,
  520.                VSIO will simulate a 16450.  Some DOS programs may not work
  521.                when a 16550A is simulated.  Turning this setting off may
  522.                allow the program to work (but slower).
  523.  
  524.                "SIO_Share_Access_With_OS/2"  This DOS setting defaults to
  525.                ON and it applies to all communications ports used by the
  526.                DOS session.  When ON, SIO will allow an OS/2 session to
  527.                access a communications port which the DOS session first
  528.                opened (and has not closed).  If set to OFF, then the DOS
  529.                session will have exclusive use of the communications
  530.                port(s) that it uses.
  531.  
  532.                This setting does not apply to a second DOS session
  533.                attempting to access a communications port,  two different
  534.                DOS sessions are never allowed to access the same port at
  535.                the same time.  Additionally, this setting has no affect
  536.                upon the access to a communications port which is first
  537.                opened by an OS/2 session.
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.                                                                           9
  546.  
  547.  
  548.           All of the DOS Settings that begin with "SIO_Mode"  allows one to
  549.           construct a MODE command for a DOS session.  These settings apply
  550.           to SIO proper, and not necessarily to the DOS program itself. 
  551.           For example, if you set XON/XOFF handshake with the appropriate
  552.           SIO_Mode setting, you are specifying that SIO is to implement the
  553.           handshaking.  The DOS application itself will be unaware of this
  554.           handshaking.  This can be very confusing, so think it through
  555.           before you start changing the defaults.
  556.  
  557.           The "SIO_Mode" settings WILL NOT BE APPLIED IF THE COMM PORT IS
  558.           ALREADY OPEN WHEN THE DOS SESSION FIRST ACCESSES THE COMM PORT. 
  559.           This means that the "SIO_Mode" settings will NOT be asserted for
  560.           spawned DOS comm programs.  That is, for spawned DOS comm
  561.           programs, the mode of operation that is already in effect will
  562.           continue in effect and the "SIO_Mode" settings are ignored.
  563.  
  564.                "SIO_Mode_DTR"  This setting has three options that specify
  565.                how SIO and VSIO are to treat the DTR signal.  The there
  566.                available option are:
  567.                          Turn ON at OPEN, OFF at CLOSE.
  568.                          No Change at OPEN or CLOSE.
  569.                          HandShake Signal, as in DTR/DSR.
  570.  
  571.                     If either of the first two settings is selected, then
  572.                     basically the DOS application has direct control over
  573.                     the DTR signal.  If the first option (the default) is
  574.                     selected, then DTR will be turned on by SIO when the
  575.                     DOS program first touches the comm port.
  576.  
  577.                     If the third option is selected, then SIO will use DTR
  578.                     as a handshaking signal.  That is, DTR will be turned
  579.                     off if SIO can not accept any further receive data.  In
  580.                     addition, if the DOS application program turns off the
  581.                     Virtual DTR, VSIO will stop supplying the DOS
  582.                     application with receive data.
  583.  
  584.  
  585.                "SIO_Mode_IDSR"  This setting specifies how SIO is to react
  586.                to received data and the DSR signal.  The two available
  587.                options are:
  588.                          Ignore DSR During Receive.
  589.                          Required for Valid Receive Data.
  590.  
  591.                     If the first option (the default) is selected, then SIO
  592.                     will ignore DTR and accept all received data.  If the
  593.                     second option is selected, then SIO will ignore
  594.                     received data when the DSR signal is off.  VSIO ignores
  595.                     this DOS setting.
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.                                                                          10
  604.  
  605.  
  606.                "SIO_Mode_OCTS"  This setting specifies how SIO will react
  607.                to the CTS signal when transmitting data.  The two available
  608.                options are:
  609.                          HandShake Signal, as in RTS/CTS.
  610.                          Ignore CTS During Transmit.
  611.  
  612.                     If the first option (the default) is selected, then SIO
  613.                     will not transmit data when the CTS signal is off.  If
  614.                     the second option is selected, then SIO will ignore CTS
  615.                     during transmit.  Note that this setting should be set
  616.                     to "Ignore" for 3 wire connections like the Seiko Smart
  617.                     Label Printer, and Laplink.  VSIO ignores this setting
  618.  
  619.                "SIO_Mode_ODSR"  This setting specifies how SIO is to react
  620.                to the DSR signal during transmit.  The two available
  621.                options are:
  622.                          Ignore DSR During Transmit.
  623.                          HandShake Signal, as in DTR/DSR.
  624.  
  625.                     If the first option (the default) is selected, then SIO
  626.                     will ignore DSR during transmit.  If the second option
  627.                     is selected, then SIO will not transmit data when the
  628.                     DSR signal is off.  VSIO ignores this setting.
  629.  
  630.  
  631.                "SIO_Mode_RTS" This setting has three options that specify
  632.                how SIO and VSIO are to treat the RTS signal.  The there
  633.                available option are:
  634.                          HandShake Signal, as in RTS/CTS.
  635.                          No Change at OPEN or CLOSE.
  636.                          Turn ON at OPEN, OFF at CLOSE.
  637.  
  638.                     If either of the last two settings is selected, then
  639.                     basically the DOS application has direct control over
  640.                     the RTS signal.  If the last option is selected, then
  641.                     RTS will be turned on by SIO when the DOS program first
  642.                     touches the comm port.
  643.  
  644.                     If the first option (the default) is selected, then SIO
  645.                     will use RTS as a handshaking signal.  That is, RTS
  646.                     will be turned off if SIO can not accept any further
  647.                     receive data.  In addition, if the DOS application
  648.                     program turns off the virtual RTS signal, VSIO will
  649.                     stop supplying the DOS application with receive data.
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.                                                                          11
  658.  
  659.  
  660.                "SIO_Mode_XON/XOFF"  This setting specifies if (and how) SIO
  661.                is to use XON/XOFF flow control.  The four options are:
  662.                          No XON/XOFF flow control by SIO.
  663.                          Received XON is flow control.
  664.                          Sent XON is flow control.
  665.                          Rcvd and Sent XON is flow control.
  666.  
  667.                     The first option (the default) specifies that SIO is
  668.                     not to use XON/XOFF flow control at all.  The second
  669.                     option specifies that SIO is to treat received XON/XOFF
  670.                     as flow control, but that SIO must not send XON/XOFF as
  671.                     flow control characters.  The third option specifies
  672.                     that SIO may send XON/XOFF as flow control characters,
  673.                     but that received XON/XOFF characters are to be treated
  674.                     as normal data.  The fourth option turns on XON/XOFF
  675.                     flow control in both directions, meaning that all sent
  676.                     and received XON/XOFF characters are flow control.
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.                                                                          12
  685.  
  686.  
  687.                "SIO_Mode_FIFO_Load_Count"  This setting specifies how many
  688.                characters that SIO will load into a 16550A UART at one
  689.                time.  The choices are 1 and 16 (16 is the default).  The
  690.                only case known to the author where one would select a
  691.                setting of 1, is when very fast reaction to flow control is
  692.                needed.  One such case is the Seiko Smart Label Printer
  693.                which uses XON/XOFF flow control and a 3 wire connection. 
  694.                If one is using a 16550 with a load count of 16, then 16
  695.                additional characters may be sent after an XOFF is receive. 
  696.                This condition will overrun the Seiko Printer.  If the "Load
  697.                Count" is set to 1, then SIO will transmit (at most) two
  698.                additional characters following a received XOFF which allows
  699.                the Seiko Printer to work.  A setting of 1 will cause
  700.                additional system overhead due to additional transmit
  701.                interrupts.
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.                                                                          13
  710.  
  711.                       Differences between SIO/VSIO and COM/VCOM
  712.  
  713.           What follows is some of the differences between SIO/VSIO and
  714.           COM/VCOM that are know to the author.
  715.  
  716.           1 -  COM.SYS will automatically seek out and support four
  717.                comm ports, COM1 through COM4.  SIO.SYS will
  718.                automatically seek out and support only COM1 and COM2. 
  719.                If SIO.SYS is to support more than two comm ports, they
  720.                must be defined in the command line that loads SIO.SYS. 
  721.                For example, DEVICE=SIO.SYS (COM3) (COM4) will cause
  722.                SIO.SYS to support four comm ports.
  723.  
  724.           2 -  In the absence of overrides in the command line,
  725.                COM.SYS will seek out four comm ports in the sequence
  726.                of I/O ports 3F8h, 2F8h, 3E8h and 2E8h.  The first port
  727.                found in this sequence is given the logical name COM1,
  728.                the second is COM2 etc.  This means that the comm port
  729.                at 2F8h could become COM1.  In the opinion of the
  730.                author, this confuses some users to frustration.
  731.  
  732.                With no command line overrides, SIO.SYS uses a fixed
  733.                I/O port concept.  That is, COM1 is always at I/O port
  734.                3F8h, COM2 is always at 2F8h, etc.  Another way of
  735.                looking at this is;  if no comm port exists at port
  736.                3F8h, then you do not have a COM1.  SIO.SYS will not
  737.                move another (found) comm port into the logical COM1
  738.                slot.
  739.  
  740.           3 -  VSIO opens a comm port for a DOS session with sharing
  741.                allowed.  VCOM uses an "exclusive use" open for DOS
  742.                sessions.
  743.  
  744.           4 -  SIO.SYS always controls the FIFOs of the 16550 UART. 
  745.                SIO.SYS will not allow an application program (OS2 or DOS)
  746.                to disable the FIFOs of a real 16550.  The application may
  747.                specify the transmit fifo load count.
  748.  
  749.           5 -  SIO.SYS will accept any number between 50 and 115200 as a
  750.                valid baud rate.  For example, if an application program
  751.                attempts to set a baud rate of 9990 bps, COM.SYS will reject
  752.                it and SIO.SYS will accept it.
  753.  
  754.           6 -  The last decimal digit of a baud rate given to SIO must be
  755.                zero.  SIO.SYS will not support baud rates like 75 or 134.5. 
  756.                If given, they will be rounded to 80 and 130 respectively.
  757.  
  758.           7 -  SIO/VSIO execute faster than COM/VCOM.  This means that some
  759.                applications, that are timing dependant, may not work under
  760.                SIO/VSIO that do work under COM/VCOM.
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.                                                                          14
  769.  
  770.  
  771.           8 -  VSIO optionally (and by default) simulates a 16550A for DOS
  772.                sessions.  VCOM simulates a 8250/16450.
  773.  
  774.           9 -  SIO/VSIO provides more reliable active flow control for DOS
  775.                sessions.  For example, if RTS/CTS handshaking is in use,
  776.                VSIO processes the RTS settings by the DOS program while SIO
  777.                completely controls the real RTS signal.  COM/VCOM simply
  778.                passes the RTS signal directly to the hardware.
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.                                                                          15
  787.  
  788.  
  789.                                 PROBLEMS AND SOLUTIONS
  790.  
  791.           1 -  Port already in use is displayed.
  792.  
  793.                This message is displayed when the comm port or the IRQ is
  794.                in use.  If the comm port is not actually in use, the IRQ is
  795.                most likely in use.
  796.  
  797.           2 -  SIO displays a warning message that the IRQ for a port
  798.                appears to be wrong, but the port works.
  799.  
  800.                SIO probably detected more than one IRQ attached to the comm
  801.                port.  This indicates a possible hardware problem with your
  802.                system that you may want to have checked.
  803.  
  804.           3 - The modem will not initialize.
  805.  
  806.                Configure your comm program(s) to insert a delay between
  807.                modem initialization characters as they are sent to the
  808.                modem.
  809.  
  810.           4 - WinFax locks up during install.
  811.  
  812.                During the WinFax install, temporally turn OFF the DOS
  813.                setting SIO_Virtualize_COM_Ports.  Once installation is
  814.                complete, the setting SIO_Virualize_COM_Ports can be
  815.                restored.
  816.  
  817.           5 - Telemate does not recognize VX00 as a FOSSIL.
  818.  
  819.                Set the baud rate in Telemate to less than 57600.
  820.  
  821.           6 -  Comm output is very slow from DOS.
  822.  
  823.                This is a problem common to many DOS BBS and Door programs. 
  824.                They attempt to synchronize the local screen with the
  825.                transmitted data.  That is, they send a character, wait
  826.                until it is sent and then display the character on the local
  827.                screen.  This does not cause a problem for the signal
  828.                tasking DOS environment.  However, this procedure causes at
  829.                least two (probably more) context switches in the multi-
  830.                tasking environment of OS2, which in turn brings the
  831.                processor to its knees.  One possible solution is for the
  832.                programmer to synchronize line by line instead of character
  833.                by character.
  834.  
  835.           7 -  FaxWorks' driver FMD.SYS cannot access a comm port when SIO
  836.                is used, but works okay with COM.SYS.
  837.  
  838.                The problem may be that the comm port is in use (often by a
  839.                DOS program).  In all cases known to the author, this has
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.                                                                          16
  848.  
  849.                been the case.  That is, FMD.SYS can not access the port
  850.                because it is in use, and FMD.SYS does not report the
  851.                problem in a manner that is understandable to many users.
  852.  
  853.                COM.SYS seems to have a bug that will allow an OS2 device
  854.                driver (like FMD.SYS) to use a comm port when it is in use
  855.                by a another device driver, and it (COM.SYS) does not cause
  856.                an error when it should.  The exact conditions of this is
  857.                not fully understood by the author and the above supposition
  858.                may not be totally correct.
  859.  
  860.           8 -  Procomm stops receiving
  861.  
  862.                Procomm seems to have a bug in its implementation of RTS/CTS
  863.                handshaking.  The problem shows up most often when Procomm
  864.                is windowed.  Under certain conditions, Procomm will turn
  865.                the virtual RTS OFF and does not turn it ON again.  This
  866.                prevents VSIO from sending further data to Procomm if
  867.                SIO_Virtual_RTS_is_HS is turned ON.  A solution to the
  868.                problem that seems to work is to turn SIO_Virtual_RTS_is_HS
  869.                OFF.  Note that SIO_Virtual_RTS_is_HS should be ON under
  870.                almost all other conditions.
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.                                                                          17
  879.  
  880.  
  881.           9 - WinFax does not work well.
  882.  
  883.                a- Connect problems with recipient's fax station
  884.  
  885.                b- Cannot send more than one page of a multiple page fax
  886.  
  887.                c- Transmission fails between pages
  888.  
  889.                d- Transmitted pages are corrupted, missing parts, or cut
  890.                off.
  891.  
  892.                Class 1 FAX modem.
  893.                          The modem init strings set by WinFax 3.0 will work
  894.                          in the single-layered comm world of DOS and
  895.                          Windows.  However, these modem init strings will
  896.                          not work in the multi-layered comm environment
  897.                          used by OS/2.  Specifically, WinFax 3.0 sets the
  898.                          modem to use only Xon/Xoff flow control.  Ideally,
  899.                          both Xon/Xoff and Hardware handshaking needs to be
  900.                          set.  If only one handshake can be set, set the
  901.                          modem to Hardware handshake.  For USR FAX modems,
  902.                          use &H3, for many other modems, the setting is
  903.                          &K3.  Additionally, for WinFax 3.04 and up, place
  904.                          the following in your WINFAX.INI file:
  905.                               HdwFlowControl=1
  906.  
  907.                Class 2 FAX modem.
  908.                          It seems to the author that hardware handshake
  909.                          screws up some (possibly all) class 2 FAX modems. 
  910.                          Therefore, when using a class 2 modem, WinFax
  911.                          should be configured to use XON/XOFF handshaking. 
  912.                          For WinFax 3.04 and up, place the following in
  913.                          your WINFAX.INI file:
  914.                               HdwFlowControl=0
  915.  
  916.                          The author feels that the inability to use
  917.                          hardware handshake with class 2 FAX modems is a
  918.                          serious design deficiency.
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.                                                                          18
  927.  
  928.  
  929.           10 - Fax/PM does not work.
  930.                     I have seen many reports that Fax/PM does not work with
  931.                     SIO.  I have not found this to be the case.  The
  932.                     publishers of Fax/PM were kind enough to supply me with
  933.                     Fax/PM and a later update.  I have tested all versions
  934.                     of Fax/PM on several systems and it always works for
  935.                     me.
  936.  
  937.                     Fax/PM's modem initialization and usage is a bit
  938.                     confusing to me.  I believe they have an &F in an
  939.                     internal modem init string that is not visible to the
  940.                     user.  This overrides any settings that the user has
  941.                     programmed into the modem and Fax/PM does not seem to
  942.                     provide an appropriate modem init string automatically. 
  943.                     If my supposition is correct, this means that the
  944.                     Fax/PM user should always supply a complete modem init
  945.                     string, and should not depend on preset settings they
  946.                     have programmed into the modem.
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.                                                                          19
  955.  
  956.                                   IRQ SHARING ON ISA
  957.  
  958.           Sharing the same IRQ for multiple communications ports on ISA
  959.           systems is not for the weak of heart (or mind).  If you have
  960.           problems with shared IRQs, DO NOT contact the author.  Contact
  961.           the board or computer manufacturer for help.
  962.  
  963.           Some general rules are as follows:
  964.  
  965.           1 - Two different boards (plugged into different slots) can not
  966.           share the same IRQ.  This is a hardware limitation of ISA systems
  967.           and can not be corrected by software.  This means that you can
  968.           not plug in two internal modems, set them for the same IRQ and
  969.           expect them to work.  This does not apply to PS/2 systems.  The
  970.           problem of multiple boards sharing the same IRQ was corrected in
  971.           the PS/2's buss design.
  972.  
  973.           2 - SIO can not (will not) share an IRQ with other device drivers
  974.           at the same time.  SIO releases IRQs that it is currently not
  975.           using.  This is different form how COM.SYS works.  This
  976.           difference may show up as an unexpected "port already in use"
  977.           error that does not occur with COM.SYS.  I have received reports
  978.           that the SDLC drivers try to concurrently share IRQs with the
  979.           ASYNC driver.  SIO.SYS will not allow this while COM.SYS will.
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.                                                                          20
  988.  
  989.                     Appendix A, Hardware Port and IRQ Assignments
  990.  
  991.           I have obtained the following information from various sources. 
  992.           Accuracy is not guaranteed.  In fact, nothing in this document is
  993.           guaranteed.
  994.  
  995.           Addresses and IRQs for COM1 and COM2
  996.  
  997.                COM1 uses 03F8h and IRQ4
  998.                COM2 uses 02F8h and IRQ3
  999.  
  1000.           Defacto standard for COM3 and COM4 for PC, XT and AT
  1001.  
  1002.                COM3 uses 03E8h and IRQ4
  1003.                COM4 uses 02E8h and IRQ3
  1004.  
  1005.           Addresses and IRQ for COM3 through COM8 on the PS/2
  1006.  
  1007.                COM3 uses 3220h and IRQ3
  1008.                COM4 uses 3228h and IRQ3
  1009.                COM5 uses 4220h and IRQ3
  1010.                COM6 uses 4228h and IRQ3
  1011.                COM7 uses 5220h and IRQ3
  1012.                COM8 uses 5228h and IRQ3
  1013.  
  1014.           All PCs (know to the author) prior to the PS/2 and EISA only use
  1015.           10 bits to address hardware I/0 ports.  Systems prior to the PS/2
  1016.           and EISA can not address the standard PS/2 addresses for COM3
  1017.           through COM8.  If an AT or below attempts to address COM3 through
  1018.           COM8 using the PS/2 addresses, only the low 10 bits of the
  1019.           address are used.  That is, the high digit of the hexadecimal
  1020.           address will be ignored.  This means that any reference to COM3
  1021.           through COM8 will actually address ports 220h through 22Fh on
  1022.           older PCs.
  1023.  
  1024.           One should avoid expansion boards that use ports 220h through
  1025.           22Fh unless the expansion board is a serial I/O board. 
  1026.  
  1027.           SIO will (attempt to) determine the hardware architecture
  1028.           (ISA/EISA and PS/2) that it is being executed on and use the
  1029.           appropriate hardware port addresses for COM1 thru COM4 as
  1030.           defaults.
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.                                                                          21
  1039.  
  1040.                                 Appendix B, SIO Chips
  1041.  
  1042.  
  1043.           The following is a collection of comments developed from hearsay,
  1044.           random documents, experience, and technical specifications. So,
  1045.           take it with a grain of salt.  Order information from the various
  1046.           manufactures if you want accurate information.
  1047.  
  1048.           Very good reference books are available from National
  1049.           Semiconductor Corporation.  They cover most of the SIO devices
  1050.           (also called UARTs) that you will find in many PCs and clones.  I
  1051.           am not sure that books can be ordered directly from National
  1052.           semiconductor. They may require that you get it from a
  1053.           distributor.  In any case, the address on the back of the one
  1054.           manual is:
  1055.  
  1056.                National Semiconductor Corporation
  1057.                2900 Semiconductor Drive
  1058.                P.O. Box 58090
  1059.                Santa Clara, CA 95052-8090
  1060.  
  1061.                Tel:(408)721-5000
  1062.                TWX:(910)339-9240
  1063.  
  1064.           8250
  1065.  
  1066.           As best that I know, the 8250 was the first SIO chip (integrated
  1067.           circuit) that was used by the IBM PC and many clones.  In my
  1068.           opinion, it was a poor choice on the part of IBM.  I feel many
  1069.           superior devices, at comparable prices, were readily available. 
  1070.           At that time, I feel the 8251A or the 8530 would have been better
  1071.           choices.  But, they used the 8250 and therefore we must use it.
  1072.  
  1073.           From a hardware standpoint the 8250 is a relatively slow device. 
  1074.           It is advisable that programmers not perform successive inputs or
  1075.           outputs to this device.  It seems that software programs can load
  1076.           the various registers of the 8250 faster than it can process the
  1077.           information.  The 8250 had a total of 7 registers.  The
  1078.           specifications state that 56kb is the maximum baud rate.
  1079.  
  1080.           8250A
  1081.  
  1082.           I believe the 8250A is the 8250 with some bug fixes.  I have no
  1083.           idea what the bugs may have been.  A quick glance at the
  1084.           specifications shows the speed of the 8250 and 8250A to be much
  1085.           the same.  The 8250A added an 8th register.  This additional
  1086.           register enables software to detect if an 8250 is installed.  The
  1087.           specifications state that 56kb is the maximum baud rate.
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.                                                                          22
  1096.  
  1097.           16450
  1098.  
  1099.           The 16450 seems to be a speeded up version of the 8250A.  There
  1100.           is no direct way (that I know of) for software to detect the
  1101.           difference between an 8250A and a 16450.  I believe the 16450 was
  1102.           developed to eliminate the need for software to insert delays
  1103.           between successive accesses to the device.  The specifications
  1104.           indicate the 16450 is a much faster device than its predecessors. 
  1105.           The additional speed is only the speed at which the processor can
  1106.           access the device.  The maximum baud rate for the 16450 is still
  1107.           stated at 56kb.  However, I have been told by some people that
  1108.           they have run the 16450 successfully at much higher speeds. I do
  1109.           not believe there was ever a 16450A.
  1110.  
  1111.           16C451
  1112.  
  1113.           The 16C451 is a CMOS version of the 16450.  CMOS is a term for
  1114.           the material and manufacturing process used to make the part. 
  1115.           CMOS typically uses less power than other technologies.  If you
  1116.           are not designing hardware, you should view the 16C451 as a
  1117.           16450.
  1118.  
  1119.           16550 (Non A)
  1120.  
  1121.           It is hard to find a 16550 (Non A).  I was told by National
  1122.           Semiconductor that they did everything they could to get all
  1123.           16550s back.  SIO will detect a 16550 and tell you if you have
  1124.           one.  I am told that the 16550 was installed in early PS/2
  1125.           systems.
  1126.  
  1127.           The 16550 was the first shot at a FIFOed version of the 8250
  1128.           family from National semiconductor.  However, I was told by
  1129.           National Semiconductor that the FIFOs of the 16550 are not
  1130.           reliable and they should not be enabled.  SIO will treat a 16550
  1131.           like a 16450.  In this mode, they are reliable.  National
  1132.           Semiconductor would not provide me with a specification for the
  1133.           16550.  However, I suspect its maximum baud rate is the same as
  1134.           the 16550A which is 256kb.
  1135.  
  1136.           16550A, 16550AF and 16550AFN
  1137.  
  1138.           In the manuals that I have, National Semiconductor does not
  1139.           explain the differences between the 16550A and the 16550AF.  I
  1140.           suspect the AF part may have a few bug fixes.  I believe the N in
  1141.           AFN describes packaging, ceramic versus plastic, DIP versus
  1142.           surface mount etc.
  1143.  
  1144.           In the opinion of the author, there is no substitute for the
  1145.           16550A (and its successors) in the 8250 type series.  The 16550A
  1146.           is compatible with most software written for the entire family of
  1147.           8250 type devices.  Programs that are 16550A aware can provide
  1148.           much improved performance over previous devices.
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.                                                                          23
  1157.  
  1158.  
  1159.           The maximum baud rate for the 16550A is specified at 256kb. 
  1160.           However, due to the hardware design of the PC et al, 115kb is the
  1161.           maximum baud rate that can be programmed by software.
  1162.  
  1163.           The 16550A can be plugged into the same socket that contains an
  1164.           8250, 8250A or 16450.  If your SIO expansion board has the SIO
  1165.           chips in sockets, you can upgrade to the 16550A by simply
  1166.           removing the old chips and replacing them with 16550As.
  1167.  
  1168.           The key to the performance increase of the 16550A is its FIFOs. 
  1169.           It has 16 byte FIFOs for both transmit and receive data.
  1170.  
  1171.           16550s Made by Western Digital
  1172.  
  1173.           I have been told, but I have not verified for myself, that 16550s
  1174.           made by Western Digital have a problem with their FIFOs when
  1175.           working at 2400 baud or below.
  1176.  
  1177.           16C551
  1178.  
  1179.           The 16C551 is a CMOS version of the 16550AF.  See the above
  1180.           description of the 16C451 for a discussion of CMOS.  Do not feel
  1181.           you need to upgrade from a 16550A or AF to a 16C551.  There is no
  1182.           gain from an existing users point of view.
  1183.  
  1184.           16C552
  1185.  
  1186.           The 16C552 is two 16C551s on a single chip.
  1187.  
  1188.           16C554
  1189.  
  1190.           The 16C554 is four 16C551s on a single chip.
  1191.  
  1192.           82510
  1193.  
  1194.           I believe Intel is the only company that manufactures the 82510. 
  1195.           The 82510 is feature rich with several modes of operation.  Its
  1196.           default mode is to operate as a 16450.  The 82510 has a 4 byte
  1197.           FIFO for both transmit and receive data.  A 4 byte FIFO is
  1198.           sufficient to provide significant performance over a basic 16450.
  1199.  
  1200.           The 82510 is small in size.  Therefore, it is found in many lap
  1201.           tops.
  1202.  
  1203.           The 82510 is somewhat of a sleeper.  I believe it would be much
  1204.           more widely used if Intel had promoted it more.  However, given a
  1205.           choice between the 82510 and the 16550A, I would select the
  1206.           16550A.
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.                                                                          24
  1215.  
  1216.                        Appendix C, Multi-Port Serial I/0 Cards
  1217.  
  1218.           I have received many requests for information about multi-port
  1219.           serial I/O card.  I will describe the boards that I know about
  1220.           (or have heard about) here.  I will add to the list as I receive
  1221.           precise information from manufactures, users, or I develop it
  1222.           myself.
  1223.  
  1224.           STB 4COM  (ISA buss)
  1225.  
  1226.           I am very impressed with the STB 4COM card, they have almost got
  1227.           it.  Yes, its the same company that makes the VGA cards.  The
  1228.           4COM card uses a 16554 which is the equivalent of four 16550A. 
  1229.           Comm ports can use IRQs 2/9, 3, 4, 5, 10, 11, 12, and 15.  Any or
  1230.           all ports can share IRQs, and they have done this right.  I
  1231.           tested SIO with all four ports of the 4COM on IRQ12 and they
  1232.           worked correctly.  The user can select any of the following I/O
  1233.           port address for a comm port: 3F8, 2F8, 3E8, 2E8, 1A8, 1E8, 1F8,
  1234.           2A8.
  1235.  
  1236.           The 4COM card is priced at $110 and I ordered mine from Steve
  1237.           Winter of Prerapture Solutions.  Steve can be reached by
  1238.           telephone at 1-919-286-1502 for information and foreign callers. 
  1239.           In the US orders can be placed by calling 1-800-735-5266.  Their
  1240.           mailing address is:
  1241.                Prerapture Solutions
  1242.                1806 Albany St.
  1243.                Durham NC 27705-3135
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.                                                                          25
  1252.  
  1253.                                         INDEX
  1254.  
  1255.           16450 . . . . . . . . . . . . . . . . . . . . . . . . . . . .  22
  1256.           16550 Non A . . . . . . . . . . . . . . . . . . . . . . . . .  22
  1257.           16550A  . . . . . . . . . . . . . . . . . . . . . . . . . . .  22
  1258.           16550AF . . . . . . . . . . . . . . . . . . . . . . . . . . .  22
  1259.           16550AFN  . . . . . . . . . . . . . . . . . . . . . . . . . .  22
  1260.           16550s Made by Western Digital  . . . . . . . . . . . . . . .  23
  1261.           16C451  . . . . . . . . . . . . . . . . . . . . . . . . . . .  22
  1262.           16C551  . . . . . . . . . . . . . . . . . . . . . . . . . . .  23
  1263.           16C552  . . . . . . . . . . . . . . . . . . . . . . . . . . .  23
  1264.           16C554  . . . . . . . . . . . . . . . . . . . . . . . . . . .  23
  1265.           8250  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  21
  1266.           8250A . . . . . . . . . . . . . . . . . . . . . . . . . . . .  21
  1267.           82510 . . . . . . . . . . . . . . . . . . . . . . . . . . . .  23
  1268.           Addresses and IRQ for COM3 through COM8 on the PS/2 . . . . .  20
  1269.           Addresses and IRQs for COM1 and COM2  . . . . . . . . . . . .  20
  1270.           Allow_Access_COMn . . . . . . . . . . . . . . . . . . . . . . . 8
  1271.           Appendix A, Hardware Notes  . . . . . . . . . . . . . . . . .  20
  1272.           Appendix B, SIO Chips . . . . . . . . . . . . . . . . . . . .  21
  1273.           Appendix C, Multi-Port Serial I/0 Cards . . . . . . . . . . .  24
  1274.           AUTOMATIC IRQ ASSIGNMENT  . . . . . . . . . . . . . . . . . . . 7
  1275.           COMn already in use . . . . . . . . . . . . . . . . . . . . .  15
  1276.           CompuServe  . . . . . . . . . . . . . . . . . . . . . . . . . . i
  1277.           CONFIG.SYS  . . . . . . . . . . . . . . . . . . . . . . . . . . 3
  1278.           Defacto standard for COM3 and COM4  . . . . . . . . . . . . .  20
  1279.           Differences between SIO/VSIO and COM/VCOM . . . . . . . . . .  13
  1280.           DOS SETTINGS  . . . . . . . . . . . . . . . . . . . . . . . . . 8
  1281.           Email . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
  1282.           Exclusive use . . . . . . . . . . . . . . . . . . . . . . . . . 8
  1283.           FAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
  1284.           FAX Modems
  1285.                Class 1 FAX modem  . . . . . . . . . . . . . . . . . . .  17
  1286.                Class 2 FAX modem  . . . . . . . . . . . . . . . . . . .  17
  1287.           Fax/PM  . . . . . . . . . . . . . . . . . . . . . . . . . . .  18
  1288.           FaxWorks  . . . . . . . . . . . . . . . . . . . . . . . . . .  15
  1289.           FIFO  . . . . . . . . . . . . . . . . . . . . . . . . . .  22, 23
  1290.           FMD.SYS . . . . . . . . . . . . . . . . . . . . . . . . . . .  15
  1291.           GETTING STARTED . . . . . . . . . . . . . . . . . . . . . . . . 3
  1292.           Installing SIO/VSIO . . . . . . . . . . . . . . . . . . . . . . 3
  1293.           IRQ . . . . . . . . . . . . . . . . . . . . . . . . . . . 4, 6, 7
  1294.           IRQ SHARING ON ISA  . . . . . . . . . . . . . . . . . . . . .  19
  1295.           National Semiconductor Corporation  . . . . . . . . . . . . .  21
  1296.           OS2AVEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
  1297.           PCMCIA  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
  1298.           PDD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
  1299.           Physical Device Driver  . . . . . . . . . . . . . . . . . . . . 2
  1300.           PKUNZIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
  1301.                Authentic files  . . . . . . . . . . . . . . . . . . . . . 3
  1302.           PROBLEMS AND SOLUTIONS  . . . . . . . . . . . . . . . . . . .  15
  1303.           Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . 3
  1304.           RTS/CTS handshaking . . . . . . . . . . . . . . . . . . . . . . 2
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.                                                                          26
  1313.  
  1314.           Seiko Smart Label Printer . . . . . . . . . . . . . . . .  10, 12
  1315.           SIO Chips . . . . . . . . . . . . . . . . . . . . . . . . . .  21
  1316.           SIO Technical Reference Manual  . . . . . . . . . . . . . . . . i
  1317.           SIO_Mode_DTR  . . . . . . . . . . . . . . . . . . . . . . . . . 9
  1318.           SIO_Mode_FIFO_Load_Count  . . . . . . . . . . . . . . . . . .  12
  1319.           SIO_Mode_IDSR . . . . . . . . . . . . . . . . . . . . . . . . . 9
  1320.           SIO_Mode_OCTS . . . . . . . . . . . . . . . . . . . . . . . .  10
  1321.           SIO_Mode_ODSR . . . . . . . . . . . . . . . . . . . . . . . .  10
  1322.           SIO_Mode_RTS  . . . . . . . . . . . . . . . . . . . . . . . .  10
  1323.           SIO_Mode_XON/XOFF . . . . . . . . . . . . . . . . . . . . . .  11
  1324.           SIO_Share_Access_With_OS/2  . . . . . . . . . . . . . . . . . . 8
  1325.           STB 4COM  . . . . . . . . . . . . . . . . . . . . . . . . . .  24
  1326.           Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
  1327.           UART  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  21
  1328.           VDD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
  1329.           Virtual Device Driver . . . . . . . . . . . . . . . . . . . . . 2
  1330.           Virtualize_16550A_For_COM . . . . . . . . . . . . . . . . . . . 8
  1331.           Virtualize_COM_Ports  . . . . . . . . . . . . . . . . . . . . . 8
  1332.           WHAT IS SIO . . . . . . . . . . . . . . . . . . . . . . . . . . 1
  1333.           WHAT IS VSIO  . . . . . . . . . . . . . . . . . . . . . . . . . 2
  1334.           WinFax  . . . . . . . . . . . . . . . . . . . . . . . . .  15, 17
  1335.