Computer and Software Support


Debug: XA (Allocate Expanded Memory)

Page updated January 21, 2005

 

Allocates a specified number of pages of expanded memory. Used without parameters, xa checks for the presence or absence of support for Expanded Memory Specification (EMS).

 
 
Syntax
xa[Count]
Parameters
Count
Specifies the number of 16-kilobyte pages of expanded memory to allocate.
?
Displays a list of debug subcommands.
Remarks
  • Windows XP and the Windows Server 2003 family of products do not use this command. It is included only to preserve compatibility with existing MS-DOS files, but it has no effect at the command line because the functionality is automatic.
  • Windows XP does not support Expanded Memory Specification (EMS). To use expanded memory, you must install an expanded memory device driver that conforms to version 4.0 of the Lotus/Intel/Microsoft Expanded Memory Specification (LIM EMS).
  • If the specified number of pages is available, Debug.exe displays a message indicating the hexadecimal number of the handle that is created. Otherwise, Debug.exe displays an error message.
Examples
To allocate eight pages of expanded memory, type:

xa8

If the command is successful, Debug.exe displays a message similar to the following:

Handle created=0003

Formatting legend

Format Meaning
Italic Information that the user must supply
Bold Elements that the user must type exactly as shown
Ellipsis (...) Parameter that can be repeated several times in a command line
Between brackets ([]) Optional items
Between braces ({}); choices separated by pipe (|). Example: {even|odd} Set of choices from which the user must choose only one
Courier font Code or program output

Some of these terms may be the same or similar to DOS commands. For information on DOS Commands, click here