Download Print this page

Motorola EXORdisk II User Manual page 208

Advertisement

PATCH COMMAND
21.2 -- PATCH Command Set
parameter <str> contains any changes that are to
be
applied
to
the
specified locations.
I-f
the "increment" mode is set
(slash command), any
changes
specified
in
<str)o
will
be
applied
to
the
opened
location and each subsequent higher
location,
one increment being applied ror each element or the
s t
l'
in
9 .
I
r
the
It
dec
l'
em e n t
If
mod e i s s e t
(b
a c
k
s
1
ash comma n
d )
I
any changes specified in <str> will be applied to the
opened
location
and
each
preceding
lower location, one decrement
being applied for each element
or
the string.
If
any
of
the
elements
of the string are null, an increment (or decrement)
will still be applied
for
those
elements.
Thus,
if
the
entire
string
is null (one null element);
one increment
(OT'
decrement) will be applied.
The "increment"
or
"decrement"
modes
will
remain in effect until changed by another slash,
backslash.
or parenthesis
command
(section
21.
2.16).
The string <str> can contain either hexadecimal elements
or
ASCII
string elements}
in any combination.
For examplel
the command
1500, 0
I
AA, L 2EJ "AABBCC"
will change the following locations to the indicated value-s:
Absolute
NeUi
value
Address
--------
---------
1500
$AA
1501
$01
1502
$2E
1503
$41
1504
$41
1505
$42
1506
$42
1507
$43
1508
$43
If
the backslash command had
been
used
instead,
locations
$14FF, .
$14·FEI
etc.
I
would have received the values
SOL
$2E,
etc.
An element of the
string
can
be
null
(indicated
by
successive
commas).
Null
elements
will
not
affect
the
location that corresponds to that part of the string.
IF
an
e~~o~
is encountered in
the
string
or
elements
<str>,
the entire command will be ignored and no changes will
be applied.
An error message is printed to indicate that the
command was not parameterized properly.
Page
21-11

Advertisement

loading

This manual is also suitable for:

Exordisk iii