Debug: xm (map expanded memory pages)

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 extended memory support (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 does not use this command. It is accepted only for compatibility with MS-DOS files. 

Windows XP does not support 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

FormatMeaning

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

Debug subcommands

Debug: xa (allocate expanded memory)

Debug: xd (deallocate expanded memory)

Debug: xs (display expanded memory status)

Command-line reference A-Z



© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies