Download Print this page

Motorola EXORdisk II User Manual page 200

Advertisement

PATCH COMMAND
21.2 -- PATCH Command Set
21.2.2 Set/display orfset -- 0
The 0
command is used to display and/or change
the
value
of
the current offset.
The offset is used as a base address
to which the
locat~bn
parameters of the other PATCH
commands
are
added
to arrive at an absolute address within
the
file.
The
for~at
of the
a
command is
If the parameters "m"
command
will
display
e
xamp
1
eJ
(m(,nJJO
and
fin
II
are
not
specified,
the
0
the current value
Or
the offset.
For
>0
OFFSET=2000
If either of the parameters tlmn or
lin
II
aT"e
specified,
the current value
of
the offset will be changed to either the
single value
Itm'f;
if only
"m
n
is specifiedl
or to
the
value
11m
plus
n"J
if both parameters
are
present.
The following
sequence of commands illustrates both forms
of
the
0
command:
>A01FO
>0
OFFSET=AOIF
>1234,56780
>0
OFFSET=68AC
21.2.3
Di~play
single location
The
comma n
d
to dis
P 1 a
y the con ten t s
a
f a
s i
'n
9 1
e
1
0
cat ion
~ithin
the file has the following format
(mC,nJJ<cr>
If
both
"m"
and
"nit
are
omitted,
only a single carriage
return is entered.
This form of the command will
caus~
the
next
sequential location of the Tile to be
displa~ed.
Since
PATCH initializes the current location to the first
location
of the file when first invoked,
the carriage return
by
itself
can be used to step through the file
showing
a
byte
at
a
time,
as in the following example.
Page
21-03

Advertisement

loading

This manual is also suitable for:

Exordisk iii