
Chapter 3 - Software Configuration
3.2.2The 16550 UART and Windows 3.1
Windows 3.1 may cause a loss of data when communicating at high speed, even with a 16550 UART installed. Because Windows is
COMnFIFO=1
where n is the number of the COM port the 16550 is installed on. For example, if the 16550 is installed on COM2, the line should be:
COM2FIFO=1
After you save SYSTEM.INI you must restart Windows for the change to take effect.
However, there is another problem when the FIFO buffer is enabled: Windows cannot recognize the COM port because of a bug in the Windows 3.1 serial port driver, COMM.DRV. The only way around this problem is to replace the COMM.DRV file in the WINDOWS\SYSTEM directory with another driver. Several drivers are available commercially or on BBSs that will solve this problem. A freeware driver called CyberCom is available as CYBERC.ZIP on CompuServe in the IBM Communications Forum, Library 0. CyberCom will enable Windows communications at speeds up to 115,200 bps if you have a 16550 UART installed.
3.3Configuring Your Software
Communications software must be configured to work with your modem, your computer, and the remote system it is calling. Fortunately, most communications programs make the process easy by providing a default initialization string for your modem as well as defaults for most of the other required parameters.
3.3.1Configuring Software for Your Modem
Because remote computers may have different connection requirements such as speed, number of bits, parity,
The most important configuration is the modem initialization string. This is a sequence of commands the software uses to configure the modem when the communications software is loaded or when a session begins. Always begin the initialization string with the ATtention command AT, then follow it with the modem reset command, &F. Issuing a reset command before other commands ensures that you are starting with a known state.
The rest of the commands in the initialization string depend on the capabilities of the modem and what you want it to do. Some older communications programs require you to create the initialization string by yourself. Most modern communications programs, however, provide you with a
29