Owner`s manual
Page 6-8 Chapter 6
There are two options available with the ERSATZ statement. The /B option lets you add
blank entries to the ersatz definition list, so you can later use the ERSATZ command
from command level to define additional ersatz names while the system is running.
Normally, if an ersatz definition file contains an ersatz name that has already been
defined (in a previous file), the new definition is ignored. The /O option causes the
definitions in this file to override any previously defined ersatz names.
Here is an example line using the two switches:
ERSATZ NEWERS.INI/B:10 /O
6.9ADDING PROGRAMS TO SYSTEM MEMORY
You may put programs in the system monitor by using the SYSTEM command in the
system initialization command file. These programs may be AMOS programs or your
own programs. When the computer reads the system initialization command file, it
loads into system memory the programs you’ve specified in the SYSTEM commands.
These programs actually become part of the monitor, and so dynamically increase its
size as they are loaded into memory.
The advantage of adding a program to system memory is it loads faster than programs
that must be read from the disk.
The programs to be included in the monitor must be re-entrant and re-usable (that is,
sharable by more than one user). If they are not re-entrant, there is a possibility of
system failure when two users access the same program. Many of the AMOS programs
are re-entrant. See your
System Commands Reference Manual
to see if a particular
command program is re-entrant. If you load a program supplied by Alpha Micro that is
not re-entrant into system memory, SYSTEM displays:
%Warning -- program is not re-entrant.
It is important to add the SYSMSG file to the system. This file (which will have a
specific extension depending on the language it defines) defines the characters and
conventions to be used by the current default system language. If this file is not loaded
into system memory, all error and system messages will be printed as code numbers. It
is a good idea to place this command first in the list of SYSTEM commands, so
error-reporting is turned on as soon as possible. The file for American English is
SYSMSG.USA.
In addition to defining SYSMSG.USA in the SYSTEM statements, it’s a good idea to
LOAD SYSMSG.USA early on in your initialization file. A good place to insert this line is
immediately after the JOBALC statements. By loading this program into memory near
the beginning of the boot file, any errors detected will be displayed as text, even before
the SYSTEM statement is executed.
System Operator’s Guide to the System Initialization Command File, Rev. 03