Microsoft KB Archive/77983

= Using MS-DOS 5.x/6.x with Win 3.0 Enhanced Without WINA20.386 =

Article ID: 77983

Article Last Modified on 7/19/2005

-

APPLIES TO


 * Microsoft MS-DOS 5.0 Standard Edition
 * Microsoft MS-DOS 5.0a
 * Microsoft MS-DOS 6.0 Standard Edition
 * Microsoft MS-DOS 6.2 Standard Edition
 * Microsoft MS-DOS 6.21 Standard Edition
 * Microsoft MS-DOS 6.22 Standard Edition
 * Microsoft Windows 3.0 Standard Edition

-



This article was previously published under Q77983



SUMMARY
Microsoft Windows version 3.0 operates under MS-DOS 5.x, 6.0, and 6.2 without the WINA20.386 file if you include the line &quot;SWITCHES=/W&quot; in the CONFIG.SYS file. Although it is possible to run Windows 3.0 this way, doing so may cause Windows to stop responding (hang) if the following conditions are true:
 * Windows 3.0 is running in 386 enhanced mode
 * MS-DOS (or another program) is using the high memory area (HMA)

This information does not apply to later versions of Microsoft Windows.



MORE INFORMATION
Windows 3.0 enhanced mode considers the status of the A20 line to be identical in all MS-DOS virtual machines (VMs). Changing the status of the A20 line can have dangerous results, as in the following example. While one VM is accessing the MS-DOS kernel located in the HMA, Windows task switches to another VM in which MS-DOS turns off the A20 line. When Windows switches back to the original VM that is currently attempting to execute code in the HMA, Windows hangs (stops).

The WINA20.386 file is designed to force Windows 3.0 enhanced mode to treat the A20 line status as local to each VM, instead of global to all VMs. This is why it is not recommended to force Windows 3.0 enhanced mode to run without WINA20.386.

For more information about Windows and WINA20.386, query on the following words in the Microsoft Knowledge Base:

Windows and WINA20.386

Additional query words: 6.22 3.00 5.00 5.00a 6.00 6.20

Keywords: KB77983

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.