Computer and Software Support


Debug: XM (Map Expanded Memory Pages)

Page updated January 21, 2005

 

Maps a logical page of expanded memory, belonging to the specified handle, to a physical page of expanded memory. Used without parameters, xm checks for the presence or absence of support for Expanded Memory Specification (EMS).
 
 
Syntax
xm [LPage] [PPage] [Handle]
Parameters
LPage
Specifies the number of the logical page of expanded memory that you want to map to the physical page PPage.
PPage
Specifies the number of the physical page to which LPage is to be mapped.
Handle
Specifies the handle.
?
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).
Examples
To map logical page 5 of handle 0003 to physical page 2, type:

xm 5 2 0003

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

Logical page 05 mapped to physical page 02

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