DOCUMENT:Q82681 05-OCT-1999 [win95x] TITLE :How Windows 3.1 Looks for COM Ports PRODUCT :Microsoft Windows 95.x Retail Product PROD/VER:WINDOWS:3.1,3.11 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows versions 3.1, 3.11 ------------------------------------------------------------------------------- SUMMARY ======= The Microsoft Windows version 3.1 has solved most of the COM port configuration problems that existed in Windows 3.0. By looking at both the BIOS port table and SYSTEM.INI file, you can tell Windows exactly how your COM ports are configured without having to modify your BIOS port table with DEBUG.COM or any other program. MORE INFORMATION ================ Windows 3.1, in both standard and enhanced modes, checks the BIOS table at 40:0 first to see if the BIOS has specified a base port address. If the table specifies the base, then that is what Windows uses. If the value is 0, then Windows checks the SYSTEM.INI [386enh] section for COMxBASE=xxxh. Windows also defaults the COM3 base port address to 3E8h:, which means that if there is a 0 value in the BIOS table at 40:4 and there is no COM3BASE= switch, then Windows assumes a base of 3E8h as if the switch exists. Windows would have defaulted COM4 to 2E8h, but this address overlaps both the 8514 display adapter and the default configuration of some Arcnet adapters. The COMxBASE= switch entries can be created using the Ports section of Control Panel, so it is not necessary to edit the SYSTEM.INI file. It is not possible to override non-zero BIOS port table entries using a COMxBASE= switch. KBCategory: kbenv kbdisplay KBSubcategory: win31 wincomm Additional query words: 3.10 ====================================================================== Keywords : Technology : kbWin3xSearch kbZNotKeyword3 kbWin310 kbWin311 Version : WINDOWS:3.1,3.11 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.