Specifications

Operat ion
IF
program type
=
operating system:
IF message received is request memory load and requested
segment number in message
=
load number
+
1:
Set operating system loaded.
ELSE
Set channel protocol error.
END
I
F
END1 F
ENDIF
ENDWH
I
LE
The
algorithm for a multi-segment program load
is:
Set load segment number to
0.
Set requested segment number to
0.
WHILE no error and more to load:
Read
a
segment of memory from file.
Set retry count to
0.
WHILE no error and requested segment
=
load segment:
Transact, memory load message.
IF no error:
IF request memory load received:
Set requested segment number from message.
IF requested segment number
=
load segment number:
IF retry count
<
maximum-retries:
Increment retry count.
ELSE
Set channel communication error.
END
I
F
ELSE
IF requested segment number
<>
load segment number
+
1:
Set channel protocol error.
ENDIF
ENDIF
ELSE
Set channel protocol error.
END
I
F
ENDIF
ENDWH
I
LE
Increment load segment number.
ENDWH
I
LE
4.2.2
Dump/Load Requester
The Dump/Load Requester
is
as simple as possible in its
operation
to
avoid
burdening a small system that needs to dump or load itself with
minimal resources available.
The operation is described in stages to indicate how a system with
minimal resources could approach the functions.
A
system with the
resources
to
begin at one
of
the
later stages can and
should
do
so,
only implementing needed capabilities (such as initial request) from