Microsoft KB Archive/73293

= When MS-DOS Fails to Load in the HMA =

Article ID: 73293

Article Last Modified on 5/10/2003

-

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

-



This article was previously published under Q73293



SUMMARY
MS-DOS version 5.0 and 6.0 can save memory by loading itself into the first 64K of extended memory, the high memory area (HMA). To check whether MS-DOS has loaded itself in the HMA, issue the MEM command and look at the output. If the last line of output reads   MS-DOS is resident in High Memory Area then MS-DOS has loaded itself into the HMA. However, if MS-DOS has failed to load into the HMA, you will get one of two messages:

64Kb High Memory Area is Available

-or-

High Memory Area is in Use



MORE INFORMATION
The first message, &quot;64Kb High Memory Area is Available,&quot; is usually caused by not having the following line in the CONFIG.SYS file:   DOS=HIGH To correct this problem, add the DOS=HIGH line to CONFIG.SYS.

The second message, &quot;High Memory Area is in Use,&quot; has two possible causes:

 Something else is being loaded into the HMA, such as a network driver or some other application. If you want to run MS-DOS in the HMA instead of the program that is currently using it, you must disable the ability of the other program to use the HMA. Consult that program's documentation for the disable procedure. Then, you will need to add the line DOS=HIGH to your CONFIG.SYS file and ensure that you are loading HIMEM.SYS. HIMEM.SYS is using the incorrect A20 handler. Upon installation, HIMEM.SYS usually selects one of 16 different A20 handlers, depending upon the hardware it detects. HIMEM's automatic detection can be overridden by the /MACHINE: or /M: switch. If HIMEM.SYS is installing the wrong A20 handler on its own, you must force it to install the correct handler with the /MACHINE: switch. However, if HIMEM.SYS is being forced to install an incorrect A20 handler by the /MACHINE: switch, you may be able to solve the problem by removing the /MACHINE: switch and allowing HIMEM to select which A20 it uses.

For more information on MS-DOS 5.0's HIMEM.SYS and the /MACHINE: switch, see pages 610-613 of the version 5.0 &quot;Microsoft MS-DOS User's Guide and Reference,&quot; or query on the following words:

HIMEM and /M and MS-DOS

If you are using MS-DOS 6.x, type help himem.sys at the MS-DOS command prompt, and then press ENTER.

Additional query words: 6.22 5.00 5.00a 6.00 6.20

Keywords: KB73293

-

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

© Microsoft Corporation. All rights reserved.