Introduction
MONARCH Operating System for 900 Series/9300 Computers
MONARCH Control Routine (CONTROL)
Type Message Subroutines
Standard Action Subroutine
(TYPM,
for
MONARCH Message Analysis Tables
TYPOUT)
System Routines (GSYSP) 5
(TABLES)
,042012
042004
042005 642019
642028
642027
MONARCH Control Message Input Subroutine (QMSGRD) 042006 642020
MONARCH
Card
Read
Paper Tape/Typewriter
Magnetic Tape
Line Printer Subroutine
I/O
Subroutine Loader
Subroutine
I/O
Subroutine
(CARD)
I/O
Subroutine (MTYIO)
(MAGTP)
(MPRNT)
(LDIOSR)
MONARCH Control Supplementary Action Routines
(LDI2)
042007 642021
042031 642030
042032
642031
042033 642032
042034 642033
042030 642034
Page
iv
1
3
4
14
17
19
22
23
24
26
27
Transfer to
900 Series
RAD
MONARCH Loader
MOf'JARCH
RAD
MONARCH Generator
Control (TFMONRCH) 042008
($QSYLDR)
900 Series MONARCH Resident
Routine
MONARCH Bootstrap Loader
MONARCH Loader
MONARCH
Appendix A
Appendix B
(QFMR)
(BOOTSTRAP)
($QSYLDR)
Update Routine
($UPDATE)
Control Message Action Subroutines
Adding New Functions to the
Monitor
Function Code Table
Symbol
Tab
I e Items and
Internal Format of Reference and Defin ition Items
(SYSGE
RAD
File Management
TABLES
N)
MONARCH
642023
04210D
042009 642024
042010
642025
042011 642026
39
40
44
58
68
70
84
92
96
16
46
iii
This
manual
ing
the
MONARCH
MONARCH
formation
Operating
All
of
these
mended
bo
and
program
gram
See
to
means
i c
corrections
then
as
is
reassembled
the
description
creati
ng
reassembling
describes
Reference
needed
System.
programs
of
input.
and
Monitor.
for
maki
relative
A
in
of
updati
the
functional
Manual
the
mai
have
ng
changes
to
with
new
encoded
order
the
MONARCH
ng
MO
INTRODUCTION
characteristics
This
description
(SDS
Publication
ntenance
been
assembled
the
current
the
symbolic
to
and
one
deck
to
facilitate
Update
NARC H system
of
the
programs
is
modifi
using
of
these
intended
No.
cation
META-SYMBOL.
programs
to
supplement
900566)
of
and
the
is by furn ish i ng
META-SYMBOL I isting
corrections
shou
Id
future
Routine
and
be
requested
changes.
the
current
each
for
information
tapes.
compris-
provides
MO
NARC H
The
of
that
encoded
time a pro--
the
in-
recom-
sym-
program
relating
iv
!t
;1 I -1*
I
SCIENTIFIC
DATA
SYSTEMS
SDS
PROGRAM
LIBRARY
IDENTIFICATION: MONARCH
COMPUTER
CONFIGURATION: Any
PURPOSE:
PROGRAMMING
CONVENTIONS:
SDS
900 Series/9300 Computer system with
storage, console typewriter, and one or more magnetic tapes.
see MONARCH
To
perform automatic execution of a sequence of independent or related
grams without requiring operator intervention.
MONARCH may be assembled using either
also uses
no
MEMORY
I east
REQUIREMENTS:
SUBROUTINES
USED:
At
MONARCH consists of the following routines:
8K
PROGRAM
FOR
900 SERIES/9300
REFERENCE
internal
words of core storage.
DESCRIPTION
MANUAL.
PROGRAMMED
COMPUTERS
SYMBOL
OPERATORS
Catalog
at
least
or
META-SYMBOL. It
and it
Nos. 042012 (900 Serie
642028 (9300)
8K
words of core
For
detai
Is,
pro-
is
reloca.table.
Routine
MONARCH Control Routine
l.
MONARCH Message Analysis
2.
Tables
MONARCH Control Message
3.
Input Subrouti ne
MO
4.
5.
6.
7.
8.
9.
NARC H I/O
Loader
Card
Read
Subroutine
Paper T
Subroutine
Magneti c Tape
Line Printer Subroutine
MONARCH Supplementary
Action
ape/T
Rouri
Subrouti
ypewri ter
I/O
nes
ne
I/O
Subrouti ne
Catalog No.
Mnemonic
CONTROL
TABLES
QMSGRD
LDIOSR
CARD
MTYIO 042032
MAGTP
MPRNT
LDI2
900 Series 9300
042004
042005
042006
042007
042031
042033
042034
042030
642027
642019
642020
642021
642030
642031
642032
642033
642034
SUBROUTINES
USED:
(cont.
)
10.
Routine
Transfer to
Control
MONARCH
Mnemonic
TFMONRCH
Catalog
900 Series
042008
No.
9300
642023
MO
1l.
MONARCH
12.
MONARCH
13.
FORTRAN
14.
FORTRAN
15.
ALGOL
16.
*There
thus,
selective
NARC H Bootstrap Loader
Loader
Update
Action
Bias
Action
is
no 9300
9300 FORTACT
I/O
MONARCH
handler
Routine
Routine
is
used
loading
BOOTSTRAP
QSYLDR or
LOAD
UPDATE
FORTACT
FORTBIAS
ALGOLA
requirement for FORTACTi
as
a test program to test
only.
042009
042010
042011
042014
042015
042017
642024
642025
642026
642035*
642036
2
t
;1 I _1*
I
SCIENTIPIC
DATA
SYSTEMS
IDENTIFICATION:
PURPOSE:
ACTION:
MONARCH
Analyze
The
processing
a.
b.
c.
d.
the
following
Read
the
Analyze
Convert
tion
appropriate
in
specified
Transfer
function
SDS
PROGRAM
PROGRAM
CONTROL
contents
functions
of
MO
NARC H
message
the
syntax
any
parameters
to
memory
control
code
to
in
LIBRARY
DESCRIPTION
ROUTINE
of
MONARCH
are
performed
Control
from
the
of
the
the
parameter
location(s}.
the
Action
the
control
in
(CONTROL)
messages:
current
control
the
Subroutine
message.
Control
(in
control-message
message.
control
and
messages.
the
message
store
Catalog
order
shown)
to
the
the
parameter
(processor)
042004
Nos.
642027
related
medium.
internal
values
corresponding
(900
(9300)
to
the
representa-
obtained
to
the
Serie!
CALLING
SEQUENCE:
PROGRAMMING
CONVENTIONS:
MEMORY
REQUIREMENTS:
If
errors
are
detected
typed
tempts to
for
a.
b.
Relocatable
registers
Approximately
out,
the
read
900
Series
After
To
in memory
reported):
with a valid
Assignment
loading
BRU
read
BRU
routine.
are
message
the
next
Computers,
or
RDMSG
the
next
(e.g.,
RDMSGR
unit,
Table
not
preserved.
24208 or
during
reloading
control
No
this
process,
contai
control
as
channel,
for
ni ng
the
message
or
on
Channel
the
MONARCH
message
would
control
PROGRAMMED OPERATORS
129610
be
the
and
messages
memory
an
error
from
A for
when
case
I/O
subroutine
locations.
the
(QMSG).
appropriate
is
ignored,
typewriter 1 {on
the
9300}.·
system:
MONARCH
after a control-message
error
and
address
used.
message
the
routine
the W buffer
Monitor
in
the
Contents
is
error
Unit
is
at-
still
is
of
3
SUBROUTINES
USED:
QMSGRD,
MTYIO,
TYPM
COMMENTS:
IDENTIFICATION:
PURPOSE:
ACTION:
The
MONARCH
and
$CHAR)
$CODES
$PARAMS is
$CHAR is
Listing
Action
ARCH
TYPE MESSAGE SUBROUTINES (TYPM, TYPOUT)
To
type
SENSE 1
typewriter 1 or
Computers
designations
output
Characters
location
Computers,
is
the
for
the
Subroutine
Control
(BREAKPOINT 1
set)
or
and
specified
Message
are
referred
the
table
the
table
table
of
Type
Message
for System
Routine
control
line
on
Channel
are
fixed
in
the
File
are
typed,
by
or
bits 9 through
Analysis
to
of
MONARCH
of
MONARCH
MONARCH
listings.
or
messages
printer
the
1,
A for
in
the
Description
beginning
Index
Tables
by
th is
routine.
BCD
Subroutine
Routines
SENSE 1
and
MONARCH
respectively
9300
Fi
Ie
Description
Table
with
Register
23
for
9300
(TABLES -
symbolic
symbolic
character
(GSYSP)
reset)
Computers).
the
functions.
parameters.
(TYPM, TYPOUT)
are
or
print
error
(on
the W buffer
Table
(PRTFDT) for
leftmost
(bits
10
through
Computers)
$CODES,
classifications.
included
(BREAKPOINT 1
messages,
The
unit
(TMFDT) for
line
character
23
until:
$PARAMS,
and
the
in
etc.,
for
and
printer
in
the
for
900
Standard
the
MON-
or
on
900
Series
channel
typewri
output.
memory
Series
ter
CALLING
SEQUENCE:
PROGRAMMING
CONVENTIONS:
4
a.
A
period
b.
72
characters
The
message
return
character
printer
BRM
with
for
Relocatable
not
preserved
(SDS
is
TYPM
the
origin
900
Series
use
PROGRAMMED
(SDS
text
code
of
text
upspaced
of
Computers,
subroutine·
but
the
code
have
is
assumed
528) is
is
typed.
one
or
the
message
assembled
contents
338)
is
typed
been
typed
to
be
typed
line
OPERATORS. The
prior
If
the
prior
BRM
text
or
in
bits 9 through
of
the A and B Registers
or
or
printed.
packed 4 characters
to
typing
message
to
printing
TYPOUT
in
bits
with
MONARCH
printed
the
is
output
the
10
through
23
contents
or
per
text
and
on
the
message.
23
for
9300
Control
of
the
are
modified.
word. A carriage
after
the
last
line
printer,
of
the
Index
Computers.
Routine.
Index
Regi
Register
Does
ster
the
are
MEMORY
REQUIREMENTS:
SUBROUTINES
USED:
Approximately
MTYIO
60
S
or
48
memory
10
locations.
COMMENTS:
IDENTIFICATION:
PURPOSE:
ACTION:
This
routine
control
buffer
used by
(processors) to
tion
to
STANDARD
To
provide a standard
routines
The
following
1. The
in
itself,
a.
is used
messages
for
900
the
MONARCH
the
consol e
ACTION
(e.g.,
MONARCH
the
symbol
which
Ali
external
entries
for
the
by
obtained
Seri es
type
actions
Computers,
or
operator.
assemblers
Loader's
table
includes
definitions
and,
Business
the
MONARCH
from
media
or
Control
print
SUBROUTINE FOR SYSTEM ROUTINES (::;SYSP)
subroutine
and
are
performed
are
for
900
Assignment
error
compilers)
symbol
all
the
the
following:
Series
Routine
messages
for
for
Control
other
on
Channe
controlling
in
table
external
MONARCH
Computers
Table
and
the
than
and
from a
order
is
labels
(BAT).
Routine
I A for
MONARCH
to
the
MONARCH
indicated:
"purged"
Unit Assignment
only,
to
typewriter
9300
communicate
loading
so
defined
the
type
out
1 (on
Computers).
Action
that
within
external
Subroutines
other
...__--
of
standard
system
the
Table
or
the
tape.
only
the
definitions
print
W
It
is
informa-
system
entries
Loader
(UAT)
b.
c.
d.
e.
2.
Selective
IORELC
routines
routine.
subroutines.
bias for
3.
Locating
routine
in
An
external
An
external
Routine
An
external
(QSYLDR).
An
external
(QDUMP).
loading
(bits 0 through
are
If
the
the
(QSRCH) is
the
record
definition
definition
(QBOOT).
definition
definition
of
to
be
loaded
this
is
the
Bits 9
first
I/O
standard
gop
following
standard
8)
to
case,
through
subroutine
system
coiled
for
the
Processor Error
for
the
entry
for
the
entry
for
the
entry
input/output
are
examined
handle
LDIOSR is
23
routine.
with
the
input/output
of
IORELC
to
be
loaded.
The
instructions
level 1 MONARCH
point
point
point
subroutines.
to
see
called
provide
system
to
Switch
to
the
to
the
to
the
if
any
functions
to
load
the
tape
position
ID
(QPESW).
Monitor
MONARCH
octal
standard
the
load
"search
the
record
Bootstrap
dump
The
contents
for
the
indicated
relocation
'
system
for
I/O
!
Loader
routine
of
sub-
system
I/O
sub-
tape
that
5
ACTION:
(cont. )
system routine or to position the
RAD
system file
system routine. The address of the search key
tion $OMTE in
the
MONARCH control routine.
at
the first word of
is
obtai ned
from
the
that
loca-
CALLING
SEQUENCE:
Loading the standard system routine. Control
4.
MONARCH Loader with
IORELC) in
The
Loader
ARCH
the
A Register and Loader
Option
Control Routine.
planned halts and no symbol
BRM
GSYSP or
BRU
flags
GSYSP
the
load
are
obtained
SRLDF
table
relocation
is
initially
listing.
with:
=
I/O
(IORELC)O_S
(IORELC)9_23 = Load
Function Switches.
relocation
bias for first subprogram
routine.
(OMTE)
(SRLDF)
= Address of
assumed
to
1 MONARCH
tine
on the system
RAD
directory entry.
= Loader
Option
a-character
occur
in
ID
record which precedes the system rou-
tape,
Flags for MONARCH Loader.
is
transferred to the
bias (bits 9 through 23 of
Option
from
Flags in the B Register.
location
SRLDF
in
set to specify loading with no
of
the system
program ID. This same
characters
9 through
16
or in words one and two of its
the
MON-
ID
is
of the level
PROGRAMMING
CONVENTIONS:
MEMORY
REQUIREMENTS:
SUBROUTINES
USED:
6
Relocatable subroutine. No PROGRAMMED
registers
Approximately
are
preserved. Assembled with MONARCH Control Routine.
50S or 40
memory locations.
10
LDIOSR
SRLDSY
QSRCH
TYPM
QSYLDR
(MONARCH Loader)
OPERATORS
are
used and
no
GLOSSARY
OF
ABBREVIATIONS
AND
SYMBOLS
(MONARCH
CONTROL
ROUTINE)
(a)
a~(b)
(a)~
QMSG
MTYIO
CADDR
LM
RM
LN
(b)
LA
LL
LU
LS
IG
Contents
Store
Store
UAT
Address
Character
Message
Message
Universal
Character
contents
contents
entry
Left
del
delimiter
Left
delimiter
Left
Leading
imiter
of
a
for
of
typewriter
address
left
delimiter
right
left
plus
or
is
to
of
b in
location
of b indirectly
control
de
of
of
of
delimiter
minus
be
messages
I/O
of
next
character
I i
miter
character
numeric
symbolic
literal
word
sign
ignored
subroutine
control
word
word
a
in a
message
character
IL
RL
RU
WDTYP
ONR
DNR
SYM
LIT
TY
MT
PR
PP
CR
CP
I
II
ega
I c
harac
Right
delimiter
Universal
Cell
Word
Word
Word
Wor,d
Typewriter
Magneti c Tape
Photoreader
Paper
Card
Card
which
type
type
type
type
tape
reader
punch
right
contains
code
code
code
code
pu
rer
for
literal
delimiter
for
for
decimal
for symbol
for
nch
word
type
code,
octa I number
number
literal'
current
word
LP
Line
Printer
7
Al~
____________
MONARCH
~~
Does
QMSG
tubtoutlM
Inltlallz
Is
......
Type
«*'tal"
1,
........
'"-
a carriage return
I, and
QMSG - unit
s
U
I
•
CONTROL
SlDMSG
_IW
...... , chan-
.w~?
No
c
.....
1 0,
MTYlO
typewriter
I?
ROUTINE
Type the control
......
S
U
•
R
I.
1st
Is
S
u
a
R
Is
1st
"*tage
OMT£
PttMMAX -.....
ORGPRM
-add,...
PRMMIN-
IORAWD-l/O
mlnllllUm
-
arl,ln
IPf-orl,ln
G.t
1
Input area
char.
In
.......
from
Obtain
word
01
Is
,.t
........
WOtd
a legal function
of
ht
1 IlIUm nuntbef
number
of
tabl.
of
MONARCH
subr
...
GETCHR
character
record an
from
LM ( •.
IMIICIge
,.,
·A'?11-
.......
V.
typewriter
~
and
claulfy
current
worda.~I?
word
of
of paraMeten
of
para .... ter
Iectlons and load reloc:atlon bias
I?
No
Mkt
fWMIIICIIe
cod.
mnemonic?
V
..
of func:tlon
para
....
cod.
t."
_Iu.
·'roc...,·IUbr.
entry
outlin.
--.t
II
IMIIIIQe
from
typewriter
11
~~::::::::;r~V~.~-----'
MSGRST
.........
QMSG-
-----
unit
1,
channel
...
S IADFNC
U
•
Type
R
error
meuage
0,
MMO
8
5
U
•
It
MONARCH
No
CONTROL ROUTINE (cont.)
NOTE
_____
I
Exit 10
-Proc:_-
Subtautlne
(IRU*IPF)
x-type coM for
Cunw'lt
word
(PIMOIG)-Wlh".af
•
I.,.~ecl.lon·
panIIM"
.
,COMpUter?
9OOS.
.....
9300
F_
a.oc
h_NCtlon
channel
.....
for
24-Wt
.......
EC»tVEOO
unit and
9
MONARCH
C1~----------~"
CONTROL ROUTINE (cont.)
5
U
Get
cunwnt
•
I
x • left
dell",lt.,
forC
IC
• character
~
IWCt
ct..
........
cla.lflcatlon
cla.mcation
SGETWRD
(C)
fl'Ofll
code
code
for C
s
U
I
I
s
U
I
R
Get Internal
01
,.,....,
QQIIM
Convert
ftUIIIber
to binary
chan.
s
U
•
I
5
U
•
R
G.t
Internal cha-
of
number
DEQIN
Convert
binary
number
S
U
•
I
S
U
I
R
to
Get
of
GETINT
internal
word
Pack
word
~
chars. of
chan
S
GETINT
U
•
I
R
5
U
I
I
Get internal
chars. of
word
!ill
Pack
chars. of
word
10
MONARCH
Dl~------------"
CONTROL ROUTINE {cont.}
s
u
•
R
X
Get next
~
.1"
....
code
1
character
for
C
~
char.
(C) from current
cl_lflc:atlon
IG
=
Dl
~
IL
~=
A3
Fill
u"UMd
tiON I" wold
IfMIC*
char.
ar.
posi-
with
11
MONARCH
CONTROL ROUTINE (cont.)
Extract wold
hom
Extract
rlght;Ultlf1ed In A Register
(CADDR)
next
CADDIt-
add,...
INII.
(CADOI)+ 1
& char. poIltlon
char.
GETCHR
(C)
&leaw
NOTE
I
Del
...
current
.......
Convert
from
1-
to binary,
Integer
Convert
fl"Ol'll
number to binary,
1-
DECIIN
to 8-dIQIt decimal
.Ingl.
precl.ion
OCTiIN
to
l-dlglt
I.
pNClllon
octal
ling
Obtain chan.
1
char./WOId)
word
In
~ry
ACCUM2)
fl"Ol'll
&.tore
.torage
WOld
thet114
rACK
area (Itored
char./
(ACCUM
T~.rror
"ILLEGAL
MESSAGE,
IGNOIED."
"
IADMSG
........
:
CONTROL
MESSAGE
we
error
"CONTROL
EllOl,
UNDEFINED
SYWOUC
IAD"M
".......:
MESSAGE
rARAMETER.
T",.
error
.........
"CONTlOL
Elloa,
MESSAGE
INSUFFICIENT
rAAAMETElS.
Twe·
"CONTROL
ERROR."
NSFPRM
:
"
rror
.......
MESSAGE
8ADfNC
:
12
MONARCH CONTROL ROUTINE (cant.)
Bootstrap for paper tape or
magnetic
Set up
t10n
tape?
Abeolut.
relocataba.?
EOM
tabl.
for paper tape
or
-.olute
at
fli.
delcrfp-
Sav.
I,
UEAICPOINT
S
U
•
It
Store
"....
o.crlptlon
IIWIICIr.
1 (9300
Type
1 carriage return
origin
Tabl.
S
U
I
R
TVPM
origin
SENSE
no
in
FII.
(TMFOT+1)
~
Puncho~raF
to paper tape
TVPOUT
1)_? }-___________
.-clfled
~
Count number
".....
up to period
Store
word
fli.
delc:rlptlon
(PRTFOT)
of
wOtda
count
In
tabl.
In
s
U
I
R
Typetextol
S
U
•
Type
It
1 carriage return
..........
MTYIO
S
U
I
R
13
SCIENTIFIC
DATA
SYSTEMS
SDS
PROGRAM
LIBRARY
I DEN
TIFICATION:
PURPOSE:
PROGRAM
MONARCH
$PARAMS, $CHAR)
To
provide
Rout i nee
a.
Table
Each
for
Subroutine)
mum
message,
values
For
tine
parameters
in
the
of
entry
the
number
are
control
from
this
table.
MESSAGE
following
MONARCH
in
control
for
of
(4)
to
message
the
designati
DESCRIPTION
ANALYSIS
this
table
message,
that
parameters
the
address
be
stored,
system
tables
control
functions
tape,
ng
for
Control
input/output
message
contains
(2)
the
message,
wh
ich
of
the
if
applicable.
the
TABLES
use
by
(1)
address
can
memory
which
initial
Catalog
(TABLES
the
MONARCH
function
the
function
of
the
(3)
the
be
supp
area
require
load
relocation
functions
Nos.
- $CODES,'!
codes
code
processor
minimum
lied
in
the
in
which
loading
are
a system
a Iso
042005
642019
Control
($CODES).
mnemonic
and
parameter
bias
contai
(900
(9300)
(Action
maxi-
control
rou-
and
ned
Series)
ACTION:
b.
Table
containsa
that
c.
Character
corresponds
The
spect
character
one
1.
2.
None.
of
symbolic
1-t04-character
symbo I.
classification
position
to
the
code
word
conta
A
left
code
determines
curs
as
cupies
An
"internal"
code
determines
curs
to
sage
word.
parameters
to
one
of
the
origin
for
in i ng:
delimiter
the
leftmost
bit
positions
the
right
Occupies
($PARAMS).
symbol
table
of
the
64
possible
tabie
of
that
classification
entry
the
table,
character.
classification
the
role
character
12
through
the
role
of
the
leftmost
bit
and a 24-bit
($CHAR).
internal
for a given
is
determined
Each
code
that
the
character
in a
17.
code
for
that
the
character
character
positions
Each
Each
character,
table
for
the
control
the
18
through
entry
binary
entry
character
by
entry
character.
message
character.
in a
the
plays
plays
control
23.
inthe
in
internal
consists
value
this
codes.
with
when
word.
when
table
table
re-
This
it
This
it
mes-
for
of
oc-
Oc-
oc-
i4
CALLING
SEQUENCE:
PROGRAMMING
CONVENTIONS:
MEMORY
REQUIREMENTS:
SUBROUTINES
USED:
Not
applicable.
Re
locatabl e subrouti ne
GRAMMED
Variable, accordi
OPERATORS
ng
to
tries. The current size
None.
wi
th
no transfer address
are
used.
number
is
of
function code and symbol ic parameter
approximately 7358 or 47710 locations.
in
End
Record. No PRO-
en-
15
MONARCH OPERATING
MONARCH
MESSAGE
SYSTEM
ANALYSIS
TABLES
. FUNCTION CODE
The
table
0
P(l)
2
is
composed of entries of the following
1
st
4 characters of Function Code Mnemonic
1 Char
0
2nd 4 characters of Function Code Mnemonic
1 Char
0
S
SI
Xl
(1)
(1
) (1) (1)
0
2
TABLE
1 Char
(6) (6)
1 Char
(6) (6)
I
P(7)
BO
LO
BI
X3
SO
X2
3
(1)
4
( 1 )
5
(1) (1)
6 7
(1)
8
9
form:
I
Relocation
1 Char
Bias
(6)
1 Char
(6)
P(6)
for
1st
(IOLERC)
( 15)
I/O
Subr
(if
1 Char
(6)
1 Char
(6)
any)
23
2
23
3
23
Max no. of
3
4
Parameters
6
0
I I
Not Used
o 0 0 0 0 0
o
P(i) for i=1(1)7 refers to reference'parameter P(i) of the
MONARCH Tables Routine.
P(7) and the
calling
sage
subroutines will be loaded
entry, as indicated. A 1
require
*i.
e.,
address of Action Subroutine for this control message.
UAT
unit and channel designation and (optionally) a parameter
the processor function,
that
MONARCH provide a standard
Min no. of
Params.
(3)
56
000
automatically
in
a given bit position indicates a potential
89
8 9
collectively
by MONARCH. Each bit of P(7) corresponds to a
I/O
Origin
Entry Point,
determine which, if any, of the standard
subroutine.
P(3)
of Parameter Table
15
P(2)
First Processor F unc tion
( 15)
META-SYMBOL Procedure
I/O
function which
* (IPF)
in
the control mes-
"FCII
in
4
23
5
23
the
I/O
UAT
may
16
t
;1
I
-\*;
SCIENTIFIC
DATA
.sYSTEMS
SDS
PROGRAM
LIBRARY
IDE
NTIFICA
PURPOSE:
ACTION:
TIO
N:
PROGRAM
MONARCH
To
obtain a record
netic
tape,
MO
NARCH
If
the
record
characters
record
the
cated
a.
b.
length
control
in
the
If
the
rectly
whose
If
the
40-word
subroutine
binary
from
Hollerith
and
the
the
control
magnetic
characters
CONTROL
paper
Unit
are
message
medium
into
program
medium
mode.
tape
Assignment
length
stored
is less
MONARCH
the
input
whose
first
72
message
tape
(40
DESCRIPTION
Catalog
MESSAGE INPUT SUBROUTINE
from
the
or
exceeds
in
the
than
73
input
area.
Control
is
paper
control
ID
is
MTYIO.
is
cards
area
(CW)
program
The
binary
code
(12-bit
characters
input
record
\vords).
control
typewriter).
Table
72
control
characters,
tape
message
or
magnetic
length
message
The
medium
entry
for
control
characters
message
The
Routine.
or
typewriter,
area
in
QMSGRD.
ID is CARD. The
card
image
code)
of
this
area
(MSG).
that
(18
the
control
by
tape,
thus
to
SDS
converted
can
be
input
executing
Nos.
input
medium
is
specified
messages
words),
entire
message
the
the
Cards
record
obtained
internal
Note
accommodated
area
record
record
record
are
record
that
only
($MSG).
input
the
read
is
is
code
are
the
042006
642020
(QMSGRD)
(cards,
the
(900
(9300)
mag-
by
(QMSG).
fi rst
If
is
stored
area
is
is
read
di-
subroutine
is
read
into
using
the
read
in
the
converted
(6-bit
moved
maximum
is
code)
to
160
Serie
the
72
the
in
lo-
a
CALLING
SEQUENCE:
PROGRAMMING
CONVENTIONS:
MEMORY
REQUIREMENTS:
SUBROUTINES
USED:
BRM
Relocatable
sters
munication
Assignment
Approximately
MTYIO,
QMSGRD
are
preserved.
with
Table.
CARD,
subroutine
No
input/output
3108 or
MAGTP,
200
with
no
transfer
PROGRAMMED OPERATORS
subroutines
locations.
10
HOLBCD
address
is
via
in
the
End
Record.
are
used.
MONARCH
No
Unit
regi-
Com-
17
MONARCH CONTROL
Is
control
MESSAGE
SQMSGIO
.......
'-1"",
INPUT
cards?
SUBROUTINE
LEGEND
".
,.
paper
TV
'"'
typewriter
CO
:II
cards
MT
:: magnetic tape
I
tope
Vea
Reset
unit
and c
.......
COFDT
(fil.
5
U
Read 1
B
R
5
U
Convert Hallerlth
B
to 505 int
R
Mo..,. canverted record to control
.......
Input area (MSG)
x =
".....medl"",
tabl.)
~
,....
~
...
1 c
from carch
coded
'
cod.
....
In
record
QMSG
s
u
•
•
Convert
I"...
~
lead 1 record
typewrite"
HaIl.,lth
to
teO
from
paper tape,
or
magnetic tape
coded card
by
tabl. look-up
s
U
B
R
Read 1 record from
tape
or
typewriter
M!1!Q
paper
18
s
u
•
R
Read 1 card In bi
CARD
MAGTP
s
..
,y
mod
•
u
•
R
lead
1 record
in
binary
mod.
I
;1
•
-II;
SCIENTIFIC
DATA
SYSTEMS
IDENTIFICATION:
PURPOSE:
ACTION:
MONARCH
To
load
selected,
in
order
routine.
control
to
satisfy
There
of
LDIOSR.
PRINT
MTAPE
CDRP
PTYIO
LDIOSR
ining
U,l."\I·H·""
YYIIV
switch
Table
Unit
one
I/O
pears
will
the
I/O
T
/(')
..
"'
..
..
, _
"",'-'.V",.II,,,,
which
entry
Assignment
of
the
four
subroutine
in
more
corresponding
code
in
the
RAD
File
Management
SOS
I/O
Card
determine
111...
is IIsetll, LDIOSR
which
Unit
PROGRAM
PROGRAM
LIBRARY
DESCRIPTION
SUBROUTINE LOADER (LDIOSR)
standard,
the
I/O
are
four
They
Line
Printer
Magnetic
Read/Punch
Paper T ape/T
function
....... " .. : ...
""
..
''''~'''"''''"''''"'''
corresponds
Table
I/O
subroutines
to
be
loaded.
than
one
I/O
subroutine
Assignment
I/O
subroutine
standard
are:
Output
Tape
ypewri
which,
switches
"",..11:
..
""
.......
entry
of
is a
the
Table
Routine
subroutines
requirements
I/O
subroutines
Subroutine
I/O
Subroutine
Subroutine
ter
I/O
if
any,
corresponding
""
......
.,.
,..
..
""
u.~
will
examine
to
that
switch.
code
for
can
communicate,
Note
that
IIselected
will
be
loaded
entry
(QFMR) is
Subrouti
of
these
.......
1...
.......
.v
'-'~
an
even
li
Unit
is a
inserted
Catalog
from
the
MONARCH
of a MONARCH
which
ne
routines
to
MONARCH
,..
.. ~ ..
~~,...,J
"U"""~U.
the
MONARCH
If
the
unit
input/output
then
though
the
Assignment
only
once.
RAD
code,
at
that
Nos.
can
be
to
load
system
1=,..
..
"'
.....
I
,..1....
VI
C\,AI."II
Unit
address
device
LDIOSR
same
Table
If
the
the
address
UAT
042007
642021
system
system
loaded
by
first
routine
,
/r"\ ~ ......
J./ _
Assignment
code
with
causes
unit
code
entries,
unit
address
of
entry.
(900
(9300)
tape
under
exam-
,..,,:"'
IUIII."IIVIl
in
which
that
ap-
the
the
Serie
....
that
CALLING
SEQUENCE:
BRM
with:
(IORELC)0_8 =
(IORELC)9_23 =
and
any
which
'PROGRAMMING
CO NVE
NTIONS:
Relocatable
registers
l~v1Etv10RY
REQUIREM ENTS:
Approximately
SUBROUTINES
USED:
SRLDSY
LDIOSR
Unit
are
set.
subroutine.
are
I/O
initial
.Assignment
preserved.
2608
or
function
load
Table
No
Assembled
178
10
switches
relocation
entries
bias
selected
PROGRAMMED OPERATORS
with
several
memory
locations.
(for first
by
the
I/O
Action
I/O
subroutine)
function
are
used
Subroutines.
switches
and
no
19
MONARCH
I/O
SUBROUTINE LOADER
22
LEGEND
UAT
• Unit
UAC
= Unit
I
....
ignment Table
~
UAC
.. code for mag.
Code
No
No
Al~------------~
tape?
initialize
tract
load
Extnlct
UAT
I/O
Prl
Store current
printer
Store current load relocation bl
mag. tape subroutine origin
eulnutlne
1/0
function swltchea & Initial
relocation
entry
function
nter
unit
add,..
c~tng
1,10
eut:nutlne
1_
tubroutl".
bioi',..
code
No
relocation bl
art,in
No
para
loaded
........ , ..
IOlElC
(UAC)
to current
-
from
~t?
__
__
InMrt
printer
Into
UAT
current
I/O
....... orI,1n
I".
Into
current
......
tl".
.....
..........
function
origin
entry correepondlng
function
t:J
\JAT
entry corretpOndlng
I/O
to
-
UAC
.. code for card
Insert
origin of
routine Into
to current
Set
I/O
function swItch
Set
UAT
corretponcftng to neIlt
laIt
RAD
UAT
entry carresponcflng
I/O
function
functIon pointer to next
add,..
poInter to
1,10
functIon .wItch exGIRlned?
read/punch?
file IRallap
UAT
I/O
functIon
...
I/O
entry
nMrt
origin
01
card
I/O
to
IUbrou-
UAT
current
lne Into
UAT
current
nMrt
Iter
try
/0
Na
Store current load relocation blaa _
origIn'
01
paper-tape/t)'pewrlter
nt
IUblOUtlne
I/O
entry correlpOftdlng
I/O
origin
01
I/O
subroutine Into
carr-.ondlnsl
function
function
paper-tape/type-
20
MONARCH
I/O
SUBROUTINE
LOADER
{cont.}
LEGEND
IORELC • addr
X •
•••
I
Index
Regllter
..
bias used
R
.. I ....
of
load
by
r.loc:ation
SRLDSY
(X)--Optlon
(JOIELC)--
(ar-acWre.
S
U
•
R
Set c:urrent load reloc:ation bias lum
(IORELC) & length
IUlt
FIaga,
MONARCH
c:urrent load reloc:atlon bien
01
1-"
khar.
Searc:h
VO
MIbroutln.
1-"
SRLDSY
for
& load tpec:lfled
of
eulMautine to be
MONARCH
I/O
Lo.Ier
10 fer
subroutine
I/O
of
21
!
;1
•
-\*;
SCIENTIFIC
DATA
SYSTEMS
SOS
PROGRAM
LIBRARY
IDENTIFICATION:
PURPOSE:
ACTION:
CALLING
SEQUENCE:
PROGRAMMING
CONVENTIONS:
PROGRAM
CARD
To
900 Series Computers, or on
unit and channel assignments
Table entry for control messages (QMSG).
One
BRM
PZE
Where a
Card Read Subroutine,
log
See
READ
obtain
SO-column card
No.
description
SUBROUTINE
a binary card image
*QMSG
a
is
the address
633001).
of
SDS
DESCRIPTION
(CARD)
from
a card reader (on
the
specified channel
are
taken
is
read
from
the card reader specified in binary mode.
of
the
File Description Table (see description
CDR,
Card Read Subroutine.
900 Seri
es
from
Cata
042031 (900 Series)
Catalog
on
the MONARCH Unit Assignment
log No. 030004 or 9300
Nos. 642030 (9300)
the
specified buffer for
9300 Computers). The
of
SDS
Cata-
MEMORY
REQUIREMENTS:
SUBROUTINES
USED:
COMMENTS:
Approximately
None.
This
is
the standard
changed
contexts within
from
270S or
SDS
CDR
to
CARD
MONARCH.
lS4
locations.
10
Card Read Subroutine with the entry point label
to
prevent
conflict
with the use of
CDR
in other
22
t
;1 • -I'
I
SCIENTIFIC
DATA
SYSTEMS
IDENTIFICATION:
PURPOSE:
ACTION:
CALLING
SEQUENCES:
SDS
PROGRAM
PROGRAM
PAPER-TAPE/TYPEWRITER
To
obtain
and
buffer
unit
Unit
a.
b.
a.
control
to
type
control
for 900
and
channel
Assignment
Input.
specified
Output.
fied
Input.
by
One
the
message
messages
Series
by
One
BRM
PZE a
Computers,
assignments
Table
record
the
File
record
File
Description
*QMSG
entry
LIBRARY
DESCRIPTION
INPUT/OUTPUT
records
is
read
Description
is
and
or
for
for
control
fromthe
typed
from a
error
on
input
on
Table.
paper-tape
messages
Channel
are
messages
unit
Table.
typewriter
Catalog
SUBROUTINE (MTYIO)
in
typewriter
A for 9300
obtained
assigned
from
(QMSG).
1 from
reader
the
into
the
Nos.
or a typewriter
1 (on
Computers).
MONARCH
the
record
record
042032 {900 Seri4
642031 (9300)
the
W
The
area
area
speci-
PROGRAMMING
CONVENTIONS:
MEMORY
REQUIREMENTS:
SUBROUTINES
USED:
COMMENTS:
Output.
b.
Where
cription
log
See
Approximately
None.
This is
point
of
a is
of
No.
020019,
description
the
standard
label
PTYIO in
the
SDS
changed
BRM
OP
address
Paper
of
530
other
MTYIO
a
of
the
Tape/fypewriter
or
9300
Catalog
SDS
Paper
or
344
8
SDS
from PTYIO to
contexts
10
Paper
within
Fi
Ie
Description
Subroutine,
No.
622001).
Tape/Typewriter
locations.
Tape/Typewriter
MTYIO
MONARCH.
Table
Subrouti nee
Subroutine
to
prevent
and
OP
= 040
PTYIO, 900
with
conflict
8
Series
the
with
(see
Cata-
entry
the
des-
use
23
!
;1 • -1*
,
SCIENTIFIC
DATA
SYSTEMS
SOS
PROGRAM
LIBRARY
IDENTIFICATION:
PURPOSE:
ACTION:
CALLING
SEQUENCES:
MAGNETIC
To
perform
ARCH
channel
Table
a.
b.
c.
d.
a.
Control
assignments
entry
Input.
parity
Output.
the
parity
Rewind. The
Space.
netic
Input:
tape
PROGRAM
TAPE
magnetic
for
One
mode
INPUT/OUTPUT
tape
Routine
are
control
record
specified
One
record
mode
The
BRM
PZE
specified
specified
specified
unit.
DESCRIPTION
SUBROUTINE (MAGTP)
input
and
output
and
Action
obtained
messages
is
read
by
is
written
magnetic
number
*QMSG
a
Subroutines
from
or
from
the
File
by
the
of
e.
message
from
the
on
File
records
g.,
functions
(message
either
Description
the
tape
the
the
File
specified
specified
Description
unit
is
to
obtain a control
record.
Catalog
MONARCH
Description
magnetic
Table.
is
given a rewind
skipped
Nos.
requested
processor).
magnetic
Table.
on
the
042033
642032
by
Unit
Table.
tape
tape
specified
(900
(9300)
the
MON-
Unit
and
Assignment
unit
in
the
unit
in
command.
mag-
Series)
PROGRAMMING
CONVENTIONS:
MEMORY
REQUIREMENTS:
SUBROUTINES
USED:
Output:
b.
Rewind:
c.
d.
Space:
Where
records
SDS
No.
See
Approximately
None.
a is
the
to
be
Magnetic
040004
description
or
BRM
OP
BRM
EOM
LDA
BRM
OP
address
skipped,
Tape
Input/Output
9300
of
SDS
1000S
MAGTP
a
MAGTP
a
N
MAGTP
a
of
and
Series
Magnetic
or
512
the
File
N<O
Catalog
10
e.
g.,
Subroutine.
e.
g.,
Subrouti
e.g.,
Subrouti
Description
specifies
Subroutine,
No.
Tape
Input/Output
locations.
see
LABEL
(OP = 040
see
REWIN D
nee
see
SKIPREC
(OP = 030
ne.
Table,
backspace.
MT
640001.)
Action
Action
Action
N is
(See
APE,
900
Subroutine.
)
S
)
S
the
number
description
Series
of
of
Catalog
COMMENTS:
This is
entry
the
use
the
point
of
standard
label
changed
MTAPE in
SDS
other
Magnetic
Tape
from MTAPE to
contexts
within
Input/Output
MAGTP
to
MONARCH.
Subroutine
prevent
with
conflict
the
with
25
Loading...
+ 75 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.