Jump to content

UART.SYS

From EDM2
Revision as of 04:03, 27 January 2021 by Martini (talk | contribs)

It is part of the SIO2K package.

The OS/2 serial driver functions has been divided into two main drivers. They are, SIO2K.SYS and UART.SYS. SIO2K.SYS being the driver that services requests from OS/2 application. UART.SYS being a driver that services requests from SIO2K.SYS to directly deal with the hardware. The two drivers work closely via direct calls.

The division of the serial driver's functions amounts to a separation by logical and physical functions. SIO2K.SYS being the logical and UART.SYS being the physical. Those using standard serial ports need never use more than these two basic OS/2 drivers. DOS/Windows programs will require a third driver, VSIO2K.SYS, which is the replacement for the virtual driver VSIO.SYS.

UART.SYS is a driver that supports basic UARTS. Basic UARTS are those like the original 8250 and its extensions. The UARTS currently supported are the 8250, 16550, 16650, 16750, 16850, 16950 and their variations (eg 8250A, 16554, 16952 etc).

 DEVICE=C:\SIO2K\UART.SYS LOGFILE=<filename>

Parameters

LOGFILE
Path and filename of log file.
LEGACYISA
In the form LegacyIsa(0E80,1a0,208), where 0E80, 1a0, and 208 are the I/O address of uarts. DO NOT specify legacy ISA ports that are at standard addresses like 3f8, 2f8, 3e8 and 2e8 unless these ports are not automatically being detected by UART.SYS. UART.SYS will automatically detect the uart type, fifo size and IRQ that the uart is using, so only the I/O port address is needed.
SUPERIO
This option enables the detection of SuperIo chips with uarts, and the resulting enabling of the uart's enhanced functions, such as bit rates to 921600. When this option is NOT used, the uarts on SuperIo chips will function as a normal 16550A. If you use programs (like the kernel debugger) that directly set the bit rate in the uarts, then you SHOULD NOT use this option. If "SuperIo" option is in the uart.sys command line, the kernel debugger does not set the bit rate correctly.
Additionally, this command line option (SuperIo) replaces the SuperIo option in the config file.