C.l5.3. Loader -Keep Program Loader In Memory; C.l5.4. Com -Concatenating Function Modules; C.ls.s. Prot -Suppress Protocol - Sharp mz-3500 Manual For Use

Business computer eos 3.0
Hide thumbs Also See for mz-3500:
Table of Contents

Advertisement

Section C:
Utility Programs
****************
*
$MOD
*
****************
C.l5.3. LOADER - Keep Program Loader in Memory
If
you want to call the program loader from within your program but
do
not need any function modules, you would type:
$MOD progname +LOADER
The
result is that the file "progname.COM'' is provided
header,
signalizing the loader that it must not remove
wards, the program can make use of system call 59.
C.l5.4. COM - Concatenating Function Modules
with a
specific
itself.
After-
Sometimes
it will happen that you need one or more modules for
several
programs in sequence. To avoid linking the modules to each program, this
option allows you to generate a file which ·consists of function
modules
only.
The modules may even have their inactivity flag set; they are not
removed ·from
memory
before the next program run
is
terminated.
For
example, if you enter the command:
$MOD MOD! MOD2 MOD3 +COM
the
modules MODl.RSX,
MOD2.RSX and MOD3.RSX are concatenated to a file
named "MODl.COM".
This file can be executed like any other program file
and does nothing else but activate the modules contained in it.
C.ls.s. PROT - Suppress Protocol
U~ually,
you
would obtain a loading protocol on the CRT screen,
which
g1ves you informations on the structure of the file created.
The loader
protocol could, for example, look like:
Name
Type
Offset
Size
PROG
.COM
@100
1000
MOD!
.RSX
1100
02E0
old
MOD2
.RSX
1480
00F0
replaced
MOD3
.RSX
1600
0300
new
The
column
11
0ffset
11
specifies at which address relatively to the
begin
of the file,
the corresponding module begins.
11
Size" denotes the length
of the module code in bytes.
Furthermore,
it is further if the
module
appended
has been preserved from the old
11
.COM'' file {"old"),
replaced
by a new one,
or linked-in new. If you do not want a protocol, activate
the
11
-PROT
11
option.
EOS User's manual
Daeumling
&
Zimmermann
Page 88

Advertisement

Chapters

Table of Contents
loading

Table of Contents