Service manual

Service Manual
*PMemoryA
Display and alter target system memory
Syntax
*PMemoryA [-B] <addrl> [<data>]
*PMemoryA [-BR] <addrl> <data>
Parameters
B Alter memory addressed as bytes
R Perform the write operation repetitively
Use
*PMemoryA displays and modifies the contents of the
target system memory, either interactively or using
the new value given. This may also be used to
program peripheral devices or initialise MEMO.
The interactive mode is entered at the given address
if no data is given, and operates with a similar syntax
to the *MemoryA (PRM IV) command, as follows.
Return Go to the next location moving in the
current direction
- Change the current direction to step
backwards in memory
+ Change the current direction to step
forwards in memory
! Disable address stepping - always
use the same address
<hex digits> Alter a location and proceed to the
next address
=<addr> Move to a given location
@ Display a 256 byte area of memory
starting at the current address
[ Make the next address the word just
read from memory (pointer indirection)
] Restore the address used before the
most recent [
~<opt ions> Toggle the R and B options
. To exit
In non-interactive mode, the given data value may
optionally be written repetitively until the Esc key is
pressed.
Example
PMemoryA -b 2000000 89
Writes &89 to the first byte location in physical
memory space.
Related commands
*MemoryA, *PMemory, *PLoad
*PLoad
Load the contents of a file to target memory
Syntax
*PLoad [-BF] <filename> <hex load addr>
Parameters
<filename> a valid pathname specifying
a file
<hex load addr> target memory address
B Load memory address as
bytes
F Load all data to the same
address
Use
*PLoad performs in a similar manner to *Load (
although the files will rarely be compatible). The file
specified is loaded either at the load address for the
file or (if specified) at <hex load address>.
If the file is executable, *PGo may be used to begin
execution.
Example
*PLoad $.mmtsts.basemem 2200000
Loads the contents of a file mint st s . ba semem to
target memory, 2MB from the start of physical RAM.
Related commands
*PMemoryA, *PGo
Part 5 - Main PCB fault diagnosis Issue 2, June 1991 5-11