Download Print this page

Motorola EXORdisk II User Manual page 78

Advertisement

BLOKEDIT COMMAND
5.4 -- Examples
5.4
Examples
In
the
~Qllowing
example it
is assumed
that the three
source files EDIT. SA: 1, ASM.SA:O, and LOAD.SA:O contain
some
special
utility
subroutines
that
are
to be extracted and
placed into a
new
file
UTILITY.SA:O.
The
physical
line
numbers
of
the
routines
can
be determined
by
listing the
source riles on the console
Or
printer-
(Chapter
17,
LIST
Command).
With
that
information,
the
command
'ile
BLKCMD.SA:O is created using the EDIT command:
* *
Define the 'irst source file
*
EDIT: 1
176-205
224-230
'*
*
Define the second source
file
*
ASM.SA:O
" Insert a PAGE directive to separate routines
PAGE
II
56-80,90-101,150-163
* *
Define the last source file
*
LOAD
If
Insert
another
PAGE
directive
PAGE
1/
27, 28, 29, 3Q, 31, 32, 33, 34, 35,36
37
38
39
40
* *
End of Command File
*
Then,
the MDOS command line
BLOKEDIT BLKCMD,UTILITY
is
used
to
invoke
the
BLOKEDIT
command.
During
the
processing, BLOKEDIT will display the following
messages:
CURRENT SOURCE FILE
IS EDIT
. SA:
1
CURRENT SOURCE FILE IS ASM
.SA:O
CURRENT SOURCE FILE IS LOAD
. SA:O
DONE.
NEW FILE LINE COUNT IS
104
=
Page
05-05

Advertisement

loading

This manual is also suitable for:

Exordisk iii