w

w [map-name]

The w command changes the active map file.

Parameters

map-name

Specifies the name of the map file you want to make active. Use the lm (List Map) command to display a list of available map files.

If map-name is not specified, the loaded maps are displayed and the user is prompted to select a map by pressing its corresponding number.

Example

The lm command can be used to display the loaded map files in a form similar to the following:

COMSAM2D is active.
DISK01D.

Then the following command can be used to change the active map file to DISK01D:

w DISK01D

The following command displays the list of loaded maps:

w

The resulting display is similar to the following, prompting the user to type the number corresponding to the map to activate:

1. KERNEL
2. Win386 is active
activate which map?

In this case, pressing 1 activates the KERNEL map; pressing 2 leaves the Win386 map activated; and pressing the SPACEBAR leaves the current map activated. Any other key is ignored, and the debugger will continue to wait for input.