BRS_Reference_Dec69 BRS Reference Dec69

BRS_Reference_Dec69 BRS_Reference_Dec69

User Manual: BRS_Reference_Dec69

Open the PDF directly: View PDF PDF.
Page Count: 72

DownloadBRS_Reference_Dec69 BRS Reference Dec69
Open PDF In BrowserView PDF
BRS MANUAL
AS OF 12-2- 69

*CONTENTS.
DATE I

69/11/11

BRS REFERENCE MANUAL

NOVEMBER 11 # 1969

WI TTEN BY ANN HARDY
NORMAN HARDY
MARK KAHRS
DAVID GARDNER
VERBE VAN VLEAR

TABLE OF CONTENTS
SECTION
SUBJECT
SYSPOP INDEX
INDEX BY TYPE
SEQUENTIAL INDEX
SEQUENTIAL BRS INDEX
BRS AND SYSPOP INDEX BY TYPE
USER BRS' SIN NtI4ERI CAL SEQUENC E
SYSPOP'S
TYMSHARE BRS'S IN NtMERICAL SEQUENCE
APPENDIX A
GLOSSARY
APPENDIX B
RANDOM FI LE StMMARY

0.0
0.1

0.2
1.0
2.0
3.0
4.0
5.0
6.0
7.0

SECTION 0.0

SYSPOP INDEX

SECTION 0.1

INDEX OF SYSPOPS BY TYPE

nLE INPUT/OUTPUT

CITCI34)
CIoe 161)
VIce 160)
Sloe 176)

CHARACTER I NPUT AND TEST

CHARACTERINPUT/OUTPUT
WORD INPUT/OUTPUT

BLOCK INPUT/OUTPUT

HAHDOM FILE OPERATORS
RSP(125)

READ SIZE PARAMETERS

SSP(126)
RepeI3!)

READ CURSOR POSITION

SCP(132)
PCECI33)

SET CURSOR POSITION
POSITION CURSOR AND ERASE

SET SIZE PARAMETERS

TELETYPE INPUT/OUTPUT

Tel (1 74)
Tcoe 175)

TELETYPE CHARACTER I RPUT

TELETYPE CHARACTER OUTPUT

Q{ARACTER 5TRI NG MAN I PULATI ON
LDPC 166)
STPC 167)
I SCC 140)
51 C( 141 )

WCD(135)
GCDe 137)

LOAD STRING POINTER
STORE STRING POINTER
INTERNAL TO STRING CONVERSION
STRING TO INTERNAL CONVERSION
WRI TE CHARACTER AND DECREMENT
GET CHARACTER AND DECREMENT

-~-

weI e 157)

GCI ( 1 65)
SKSG( 162)
SKSEC 163)
WCHe 164)

WRI TE CHARACTER AND I NCRDIERT
GET CHARACTER AND I NCHEMENT

SKIP IF STRING GREATER
SKIP IF STRING EQUAL
WI TE CHARACTER TO KEMORY BY TABLE

FLOATING POINT OPERATIONS
FAD< 156)
FSB(15S)
FMP( 151&)
FDV(153)

PLOATI HG ADD
FLOATING SUBTRACT
FLOATINa MULTIPLY

FLOATING DIVIDE

MISCELLAilEOUS
SBRM(170)
SECTION 0.2
125 RSP

126 SSP
131 Rep
132 5CP

133 PCE
134

CIT

SYSTEM BRR FOR INDIRECT LINKAGE
SEQUENTIAL INDEX OF SYSTEM OPERATORS -

SYSPOPS

READ FILE SIZE PARAMETERS
SET FILE SIZE PARAMETERS

READ CURSOR POSITION
SET CURSOR POSITION
POSITION CURSOR AND ERASE
CHARACTER I NPUT AND TEST

135 weD

137 GeD
11&0 1St

162 SKSG

GET CHARACTER AND DECREMENT
INTEIUYAL TO STRING CONVERSION
STRING TO INTERNAL CO.VERSION
FLOATING POINT DIVIDE
FLOATING POINT MULTIPLY
FLOATING POINT SUBTRACT
FLOATING POINT ADD
WRITE CHARACTER AND INCRDJENT
WORD INPUT/OUTPUT
CHARACTER I RPUT /OUTPUT
SKIP IF STRING GREATER

163 SKSE

SKIP IF STRING EQUAL

164 WCN

WRI TE CHARACTER TO MEMORY BY TABLE
GET CHARACTER AND I MCRDlENT
LOAD STRING POINTER

141 51 C

153 FDV
151& FMP
155 FSB
156 FAD

157 weI
160 WIO

161 CIC

165 Gel
166 LDP
167 STP
170 SBRM
173 BRS

174 Tel
175 Teo
176 BIO

SECTION 1.0

STORE STRING POINTER
SYSTEM BRM FOR INDIRECT LINKAGE
BRANCH TO SYSTEM
TELETYPE CHARACTER INPUT
TELETYPE CHARACTEE OUTPUT
BLOCK INPUT.lOUTPUT

SEQUENTIAL BRS INDEX

NOTEt BRS'S MARKED WITH AN ASTERISK ARE !XECUTI~E BRS'S. ALL
OTHERS ARE MONITOR BRS·S. BRS'S IN SECTION 5 ARE RESTRICTED TO
SYSTEM OH SUBSYSTDJ USE.

-3-

BRS.

SECT.

DESCRIPTION

1
2
3

5
5
3

OPEN A FILE
CLOSE A FILE

1&

3

5

3

*6
1

3
5

8
9
10
11
12
13

5
3
3
3

14

3

*15
*16
17
*18
*19
20
21
22
23

3
3
3
3
3
3
3
5
5

t;)h

"2

25

5

GRAB BX T MAP 81 T

26
27

5
5

SKIP IF ESCAPE WAITING

28
29
30
31
33
34

·5
3
5
3
3
3

35

3

36

3

Otn"PUT NUMBER IN SPECI FlED RADIX

*31

3

RENAME A FI LE

INPUT NUMBER IN SPECI FlED RADIX
READ CPARW AND AUNN
READ ECHO TABLE
RETORM DISC ADDRESS OF CURRENT DATA BLOCK
READ REAL TIME CLOCK
READ PSEUDO-RELABELING
SET PSEUDO-RELABELING
DISMISS ON QUANTUM OVERFLOW

.....

RELEASE A PAGE OF MEMORY
REPORT CALLING FORK STATUS

SET FILE PARAMETERS
READ TABLE
CLOSE ALL Fl LES

START FORK
TERMINATE FORK
CLEAR t NPUT BUFFER

3

DECLARE ECHO TABLE OR SET 8-LEVEL

3

TEST I NPUT BUFFER FOR DtPTY
DI SMI 5S UNTI L OUTPUT BUFFER EMPTY

READ INPUT FI LE NAME
OPEN INPUT FILE
CLOSE ALL FILES
READ OUTPUT FILE NAME
OPEN OUTPUT FILE

CLOSE A FILE
FLOATING POINT NEGATE

PREVENT TERMINATION
ALLOW TERMINATION

'-#

36

3

39

3

40
41
42
43
45
46
47
*48
49
50
51
*52
*53

3
5
3
3
3
3
.5
5
3
3
3
3
3
3

54

5

44

MAKE PMT POINTER INDIRECT

STABT STATISTICS
STOP STATISTICS

CLEAR OUTPUT BUFFER
GIVE BIT TO BIT MAP
WAIT FOR SPECIFIED FORK TO CAUSE A PANIC
READ STRING
OUTPUT MESSAGE

OtTrPUT STRING

TURN ESCAPE OFF
TURN ESCAPE ON
LOOK UP FILE NAME

READ INTERRUPTS ARMED
FLOATING TO FIXED CONVERSION
FI XED TO FLOATI N G CONVERSION
FORMATTED FLOATING POI.T IIIPUT
FORMATTED FLOATIN8 POINT OUTPUT
GRAB BI T FROM MAP AJlD RETURN DI SC ADDRESS

61

5

DISMISS IF JOB IS USING DISC
RECOVER PMT BYTE
COpy MEMORY FROM 940 TO 940
LOOK UP FILE NAME AND INSERT I F NECESSARY
CHANGE TELETYPE WORKIN6 SET

*62
*63
*64
*65
66
*67
*68
*69

3
3
3
3
5
3
. 3
3

OPEN FILE FOR OUTPUT
OPEN FILE FOR INPUT WITH STRING POINTERS
OPEN FILE FOR OUTPUT VIm STRING POINTERS
DELETE DISK FILE
READ USER TS PAGE
READS FILE MANE FROM FILE DIRECTORY
DELETE A FILE

70
71

3
3

12
13

5
3

71&
75
76

3
3

SET 1/2 DUPLEX MODE

3

18

3

80
81
85

3
3

SKIP ON 1/2 DUPLEX MODE
ARMI'DI SARM SOFTWARE INTERRUPTS
MAKE PAGE READ ONLY
DISMISS FOR SPECIFIED AMOUNT OF TIME
SET 8-LEVEL OUTPUT

55

5

56
58
*60

5
5
3

86

88
ftft

3
3
3

OPEN VI LE FOR I RPUT

COUNT FREE USER PAGES

SKI P IF SY STD! STATUS SET
EX EC Dl SMt SS

READ AND RESET ERCODE
SET FULL DUPLEX MODE

CLEAR 8-LEVEL OUTPUT

READ EXECUTION TIME

~

0'7

.;;J

90
*91
93
*95

3
3
5
5

*96

3

97
98
99
100

5
5
5
5

101

5

102
103
104

3
3
3

105

3

106

3

107
108

3
3

109

5

110
111

3
5

112
115
116

5
5
3

DECLARE A FORK FOR TERMINATION ON "ESCAPE"
READ DATE AND TIME TO STRING
RESET RESOURCE METERI N G

ACQUIRE AND RELEASE OVERFLOW QiOUPS

REPORT FILE DIRECTORY DATA
RESET SUBSYSTEM COUNTER
INCREMENT SUBSY STEM COUNTER
READ SUBSYSTEM COUNTER

ASSIGN DEVICE
UNASSI(ft DEVICE
READ TAPE
WRITE TAPE

WHO HAS DEVICE
CONTROLS FOR TAPE
PRINT
SET TAPE PARI TY
TEST TAPE DENSI TY
DISMISS
TEST TAPE READY
TERMINATE CLASS 3 BRS FORK
TURN OFF TELETYPE STATION
TERM I NATE CLASS 3 BRS FORK WI TH RUSOUT
READ PROGRAM RELABELING
SET PROGRAM RELABELING

117

3

120

5

121
123

3
5

124

5

READ DISK

125

5

WRITE DISK

ASSI Qi PMT ENTRY
RELEASE PAGE

WRITE DISC WITHOUT DISMISS

126
127
128
129

TEST FOR CARRI ER PRESENCE
LOOK AT MDiORY

5
5
5

SET DISK BIT MAP

5

TURN eTE CHANNEL ON OR OFF

130
131
134
135

5
5
3
3

TEST BREAKPOINT SWITCH

136

5
5
5
5
3
3

*141
144

145
147
*151
152

SYSTEM
SET TO IGNORE LINE FEED OR CARRIAGE RETURN
CAUSE PROGRAM INTERRtFT AFTER SPECIFIED PERIOD

CRASH

OF TIME
SET EXEC

RETURN A BUFFER
CLOSE ALL EXCEPT COMMANDS FROM FILE
CHANGE A COMMANDS FROM

FILE

I GNORE OFF INTERRUPTS

5

SECTION 2.0

SWITCHES

GET EXEC SUBROUTINES
GET A BUFFER

BRS AND SYSPOP INDD 'B'f TYPE

FILE INPUT/OUTPUT OPERATIONS
OPEN FILES
62

OPEN FILE FOR INPUT

63

OPEN FILE FOR OUTPUT
OPEN FI LE FOR I RPUT WI TH 5THI N G POI HTERS
OPEN FILE FOR OUTPUT WITH STRING POINTERS

64
65
! 51

CHIt.NGE A "CO!&.MA!!DS FROM" FI LE

CLOSE FILES

20
11

CLOSE A FILE
CLOSE ALL FILES

147

CLOSE ALL !XCEPT COMMANDS FROM FILE

FILE INPUT/OUTPUT OPERATIONS

CIC (161)
WIO (160)
BIO (116)
CIT (131&)

CHARACTER I RPUT I'OUTPUT
WORK INPUT/OUTPUT
BLOCK INPUT/OUTPUT
CHARACTER INPUT AND TEST

FILE NAME MANIPULATION
37
68
48

RENAME A FILE

READ FILE NAME FROM FILE DIRECTORY
LOOK UP FILE NAME

FORK MANAGEMENT

5

READ CALLING FORK STATUS

9

START FORK
TERMINATE FORK
DECLARE FORK FOR TERMINATION ON "ESCAPE"

10

90

DEVI CE INPUT/OUTPUT

-~-

102
103

READ TAPE
WRI TE TAPE

104
105

WHO HAS DEVI CE
CONTROLS FOR TAPE

106

PRINT

107
108
110

SET TAPE PARITY
TEST TAPE DENSITY
TEST TAPE READY

RANDOM FILE OPERATIONS
RSP (125)
SSP

(126)

Rep (131)
SCP (132)

PCE (133)

READ FILE SIZE PARAMETERS
SET FILE SIZE PARAMETERS
READ CURSOR POSITION

SET CURSOR POSITION
POSITION CURSOR AND ERASE

MISCELLANEOUS FILE OPERATIONS

69

DELETE A FILE

96

REPORT FILE DIRECTORY DATA

6
TELETYPE

SET FILE PARAMETERS

INPUT/OUTPUT

TCI

OPERATIONS

40

TELETYPE CHARACTER INPUT
TELETYPE CHARACTER OUTPUT
TEST INPUT BUFFER FOR EMP1Y
CLEAR INPUT BUFFER
DI SMI 55 UNT! L OUTPUT BUFFER EMPTY
CLEAR OUTPUT BUFFER
DECLARE ECHO TABLE OR SET 8-LEVEL INPUT
READ ECHO TABLE

85
86

SET 8-LEVEL OUTPUT
CLEAR 8-LEVEL OUTPUT

Teo
13
11
14

29
12

134
74
75
76

24

SET LINE FEED OR CARRIAGE RETURN I (fiORE

SET 1/2 DUPLEX MODE
SET FULL DUPLEX MODE
SKIP ON 1/2 DUPLEX MODE
CHANGE TERMI HAL CHARACTERI STI CS

MEMORY OPERATIONS
3

MAKE PMT POINTER INDIRECT

4
121
43
44
1t 6
117

RELEASE A PAGE OF MEMORY
RELEASE A PAGE OF MEMORY
READ PSEUDO-RELABELING

80

MAKE PAGE READ ONLY
COUNT FREE USER PAGES

70

SET PSEUDO-RELABELING
READ PROGRAM RELABELING
SET PROGRAM RELABELING

STRING PROCESSING OPERATIONS
STHI NG INPUT .lOUTPUT

33

READ STRING

34

OUTPUT MESSAGE
OUTPUT STRING

35

STRING MANIPULATION

SKSE

STORE STRING POINTER
LOAD STRING POINTER
SKIP IF STRING EQUAL

SKSG

SKIP I F STRING GREATER

STP

LDP

CHARACTER MANIPULATION
GET CHARACTER FROM BEGINNING OF STRING AND
INCRDmNT BEGINJlIN6 POINTER.
PUT CHARACTER O. DID OF STRING AND I NCRDfENT

Gel

weI

END POINTER.

GeD

GET CHARACTER FROM DD OF STRING AND DECREMENT
END POIRTER

WCD

NUMBER

PUT CHARACTER ON BEGINNING OF STRING AND DECRDtENT
BEGINNING POINTER

OPERATION

NUMBER !NPllT/OUTPLlT

SPECI FI ED

36

OUTPUT NUMBER TO

38

INPUT NUMBER TO SPECI FI ED RADIX

RADIX

52

FORMATTED FLOATING POttiT INPUT

53

FORMATTED FLOATING POIMT OUTPUT
STRING TO INTERNAL CONVERSION
INTERIIAL TO STRING CORVil'SION

SIC
ISC

ARITHEMTIC OPERATIONS
50
51
21
FAD

FSB
FMP

FDV

CON~SION

mOM

FLOATING

POINT TO FIXED POINT

CONVERSION FROM FIXED POI NT TO FLOAT I NG POI NT
FLOATING POINT NEGATE

FLOATING POINT
FLOATING POINT
FLOATING POINT
FLOATING POINT

ADDITION
SUBTRACT
MULTIPLICATION
DI VI 51 ON

MISCELLANEOUS
42
91
39

SERM
71

67

73
88
89

READ REAL TIME CLOCK
READ DATE AND TIME INTO A STRING
READ CPAR W AND AUMN
PROVIDES INDIRECT SUBROUTINE LINKAGE
SKIP IF SYSTEM STATUS SET
READ USERS TS PAGE
READ AND RESET !:ReODE

READ EXECUTION TIME
READ RESOURCE METERING

SYSTEM AND SUBSYSTEM RESTRICTED BRS'S
ESCAPE CONTROL
TURN ESCAPE OFF
TURN ESCAPE OFF
SKIP IS ESCAPE WAITINS

1&6
41

26

FORK MANAGEMENT

72

EX EC DI 5HI 55

22
23
109
111
115

PREVENT TERMINATION
ALLOW TERMINATION
DISMISS
TERMINATE CLASS 3 BRS FORK
TERMINATE CLASS 3 BRS FORK WITH RUBOUT

INPUT/OUTPUT
OPEN A FILE
CLOSE A FILE
CLOSE ALL FI LES
RETURN DI SC ADDRESS OF CURRENT DATA BLOCK
DELETE DISC FILE
WRITE DISC WITHOUT DISMISS
HUll) DISC
WRITE DISC

1
2
8

41

66
123
1211

125
130

TEST A BREAK POINT SWITCH

TELETYPE CONTROL
TEST FOR CARRIER PRESENCE
TURN CHANNEL ON OR OFF
TURN OFF TELETYPE STATION
I GNORE OFF INTERRUPTS

126
129
112
152
MEMORY CONTROL
56
120

RECOVER PMT BYTE
ASSI GN PMT ENTRY

EXEC COMMAND BRS'S

LOOK AT MEMORY

127

BIT MAP

CO&lTROL

25

GRAB BI T MAP BI T

30
54
128

GIVE BIT TO BIT MAP
GRAB BIT FROM MAP AND RETURa DISC ADDRESS

SET BIT MAP

STATISTICS

28

START STATISTICS

29

STOP STATISTICS

FILE DIRECTORY CONTROL
95

ACQUIRE AND RELEASE OVERFLOW (EOUPS

MISCELLANEOUS
7
131
136
141
144
145
97

98
99
55
61
93

READ TABLES
CRASH SYSTD1
SET gEC SWITCHES
GET EXEC SUBROUTINES

GET A BUFFER
RETURN

A BUFFER

RESET SUBSYSTEM COUNTER

INCRDlDT SUBSYSTEM COUNTER
READ SUBSYSTDI COUNTER

DISMISS IF JOB USING DISC
CHANGE TELETYPE WORKING SET

RESET RESOURCE METERING

• CONTENTS-

POINTER
BYTE
RELABLE

PAGE

MEMOHY
RELEASE MDIORY

STATUS
CALLING FORK

FILE ATTRIBUTES
FILE DIRECTORY
ATTRIBUTES

FORK
ESCAPE ASSI GNMENT
FIXED MDIORY
LOCAL Mo.ORY
PANIC TABLE
PAGE BOUNDARY

PROGRAMMED PANIC

TERMINATE FORK

TELETYPE
INPUT BUFFER

.BRS 12*
8-LEVEL INPUT

TELE1YPE
ECHO TABLE
BREAK CHARACTERS
ECHO
*BRS 13*

TELETYPE
I NPUT BUFFER

*BRS 14*
TELE1YPE

OUTPUT BUFFER
*BRS 15*
FILE DIRECTORY
IIIPUT FILE
*BRS 16*

opm
INPUT FILE
*BRS 17*
CLOSE

DIRECTORY
COMMAND FI LE

OUTPUT FILE

CLOSE
FILE
*BRS 21*

FLOATING POINT

TERMINAL CHARACTERISTICS
MODEL 37

HALF DUPLEX

OUTPUT BUFFER

STATUS WORD
*BRS 33*
"/~-

STRING
TERMINAL
*SRS

CHARACTER

3~.

MESSAGE

*BRS 35.
STRING
.BRS 36*

NUMBER
*BRS 31.
RENAME

FILE

*BRS 38*

NUMBER
*BHS 39.
r!nUTOnt
..,....,. ..... ·y"

..............

OA'DA.M1:'-r~

~

.BRS 40*
ECHO TABLE
TELETYPE

*BRS 42*
TIME
*BRS 43*
RELABELING
*BRS 44*
RELABELING
*BRS 45*
DI SMI SS
QUANTUM OVERFLOW
*BRS 48.
FILE
FILE DIRECTORY
*BRS 49*

1Llft~

.....

• ..,flU

I NTERRUPT MASK
INTERRUPT
*BRS 50*
n.OATING POINT
CONVERSION
*BRS 51*

FLOATING POINT
CONVERSION
*BRS 52*
FORMAT
*BRS 53*
FORMAT
*BRS 60*
DIRECTORY
*c'Oc

""'-&.1 • • ""

.:.~.
..,~

.....

FILE
INPUT

OPEN
*BRS 63*
FILE
QUTPUT
OPEN
*:eRS 64*

FILE
INPUT
STRING POINTERS

OPEN
*BRS 65*
FILE NAME
STRING POINTERS
*BRS 67*
TS PAGE
*BRS 68*

.. ,iI"

FILE DIRECTORY
FILE

DELETE FILE
*BRS 70*
FREE PAGE

*BRS 71*
STATUS
*BRS 73*
ERCODE

HALF DUPLEX

TELETYPE

TELETYPE

*ERS 76*
HALF-FULL DUPLEX
TELETYPE

INTERRUPT
ESCAPE

READ ONLY

*BRS 81*

TIME

DISMISS

TELETYPE
El SiT-LEVEL OUTPUT

*BRS 86*
TELETYPE

8-LEVEL
TELETYPE
*BRS 88*

EXECUTION TIME
• BRS 89 •

USER METERING
*ERS 90*

ESCAPE
.SRS 91*

TIME
DATE
*BRS 96*

FILE DIRECTORY
FILE ATTRIBUTES
*BRS 102*

MAG TAPE
*BRS 103*

MAG TAPE
*B115 104*

DEVICE
• BRS 105•

MAG TAPE
.BR5 106*

PRINTER
.BRS 107*

PARITY
MAG TAPE

BCD

.SRS 108*
MAG TAPE

DENSI1Y

-1'-

*BRS 110*
MAG TAPE

RELABELING
*BRS 117*
RELABELING
*BRS 121*
PMT
*BRS 134*
TELETYPE

ECHO
*BRS 13S*
TIME
INTERRUPT

FILE
ACCESS COUNT
*SRS 147*

FILE
CLOSE
*BRS 151*
CHANGE

COMMANDS FILE

OPEN
FILE

CLOSE
FILE
*SRS 7.

READ TABLE

-1'-

CLOSE
*BBS 22*
FORK
TERMINATE
*BRS 23.
FORK

TERMINATE
.SRS 25*

BIT ltAP
.BRS 26*
ESCAPE
*BRS 27.

STATISTICS
STAHT
_O'Cc:

--""""0.1

OR_

""" ..........

STATISTICS
STOP

.BRS 30*

BIT MAP
.BRS 41*
DISC
*BRS 46*
ESCAPE
.BRS 47.
ESCAPE
.BRS 54.
BIT MAP
*BRS 55.
*BRS S6*

.."....

RECOVER
POINTER
.BRS 58.
91&0

COPY MDlORY

*BRS 61*

TELETYPE
*BRS 66*
DELETE
DISC
*BRS 72*

DISMISSAL
*BRS 93*

METERING
*BRS 95*
OVERFLOW

*SRS 97.
*BRS 98*

*BRS 99*
*BRS 100*
.BftS 101*
*BRS 109*
*BRS 111*
*BRS 112*

*SRS 115*

*BRS 120*
*BRS 123*BRS 124*
*BRS 125.
.SRS 126*
.BRS 121*

*BRS 128*
*BRS 129.
*BRS 130*
*BRS 131.
*BRS 136*BRS 141*
*SSS 144*
*BRS 14S•
• SRS 152*
*PMT INFORMATION.
*APPENDIX A*
TOGGLE SWI TCH
SECTORS
INDEX BLOCK
NOniING
TRAP

TRAP

-:lD-

TIME
TIME
.APPENDIX B*
.APPENDIX C*
*APPEIlDI X D*

*APPENDIX E*

USER BRS'S IN NUMERICAL SEQUENCE

SECTION 3.0

DATEI

69/11/11

FUNCTIONs MAKE POINTER INDIRECT
STATUS, USER
INPUT,
A • PMT BYTE NUMBER OF PMT OR SMT POINTED AT
IF BIT 0 OF A • I .. MAKE PAGE READ ONLY
X • CHAlfNEL NUMBER FOR SECOND BYTE
OUTPUTs
A . NEW PMT BYTE NO.
DESCRIPTIONs THIS BRS TAKES THE CONTERTS OF THE A REGISTER AND
STORES IT AS A POINTER TO A PMT/SMT BYTE. THE BRS 3 DELIVERS
IN THE A REGISTER nlE PMT BYTE TO BE RELABD.ED OVER USING THE
BRS 44. NOTEs nlE BRS 3 DOES NOT CHANGE THE CURRENT RELABELING.
BI T 0 OF A MUST BE SET I F THE USER I S TO POI lIT TO ABY SUBSYSTEM
PAGES.

OLD
SBASle

BYTE

EDITOR
CAL

17
41
24

CCS

35
51
20

FTC
SYOR
COMMON
FOS

45
53

I1tJllBERS
32

33

34

103

104

30

113

116

43

50

11 7
126
130

120
127

114
121

115

40

--

102
111

27

101
110
112

122

140

22
42

23

31

25
36

26
37

44

--

52
21
46
54

NEW BYTE NUHBERS

47

55

135
14.1&

-- --

132
ISO

131
136

137

-----

133
151

134
152

---

105

106

107

123

124

125

141

142

143

---

DDT PAGES ARE NOT INDIRECT SMTS.·THEY ARE SMT NUMBERS 41 AND 42.
THE TS PAGE IS 43. 10S PAGES (INDIRECT BYTES 150 .. 151 .. 152) DO NOT NEED

ROTEI

SUBSYSTEM STATUS TO RELABEL IN.

REGISTERS AFFECTEDI A.. X

*BRS II.
DATEs

69/05/13

FUNCTIONi RELEASE A PAGE OF MEMORY
STATUSs USER
INPUTt A=ANY ADDRESS IN THE PAGE TO BE RELEASED
DEseRI PTI ON I THE PMT ENTRY FOR THE BLOCK I S CLEARED AND I N ANY
OTHER FORK WHICH HAS mIS PMT BYTE IN ITS R!i.ABELINCU THE BYTE IS

CLEARED TO O.
HEGISTERS AFFECTED. NONE

DATEs

69/05.113
RETURN STATUS OF CALLIIIG FORK

FUNCTIOJJt

STATUSI
OUTPUT:

US~

A-O FOR NO STATUS

A-I FOR SUBSYSTEM STATUS
A-3 FOR SYSTEM STATUS
A=7 FOR EXEC STATUS
REGISTERS AFFECTED. A

DATE. 69/05/13
FtlVCTIONI SET (FI LE ATTRI BUTES] IN [Ji1 LE DI RECTORY J
STATUS. USER
INPUT. A • FILE DIRECTORY POINTER ADDRESS (FROM BRS 15 OR 48)
X • 0-11=ATTRIBUTES TO CHANGE~ lS-23=NEW ATTRIBUTES
RETURNS. NO SKIP • ERRORS
SKIP • NORMAL
DESCRIPTION.
PLACES IN THE FILE DIBECTORY FOR THE FILE SPECI FlED
mE STATUS SELECTEDJ THE STATUS WILL BE USED TO START THE FORK I F mE
FILE I S CALLED WI TH THE GOTO COMMARD. THE ERROR RETURN I S TAKEN IF
nlE FILE CANNOT BE LOCATED IN THE FILE DIRECTORY OR IF THE FILE IS
NOT VALID FOR PRIVATE WRITE ACCESS.
REGISTERS AFFECTED. ALL.
SEE BRS 96

DATE. 69'05/13
STATUS. USER
INPUT: A=ADDRESS OF A ·PAIII C TABLE" (SEE APPENDIX A~ Q.OSSARY).
BITS 0 THROUGH 7 OF REGISTER A HAVE THE FOLLO\JING SIGNIFICANCE'

0-61 VE CFORK] EXEC STATUS I F CURRENT FORK HAS
EXEC STATUS
I-SET FORK RELABELING FROM PANIC TABLE.
OTHERWISE
USE CURRENT RELABELING.
2-PROPOGATE [ESCAPE ASSIGNMENT] TO FORK
IF ISSUING FORK HAS IT.
(SEE BRS 90).
3=MAKE FORK CFIXED MEMORY J. I TIS NOT ALLOWED
MORE MDIORY THAN I T STARTED WI TIl •

. 4=MAKE FORK (LOCAL MEMORYJ. NEW MEMORY WILL BE
ASSI tilED TO I T I NDEPENDENT OF THE CONTROLLING FORK.
S-GIVE FORK SUBSYSTEM STATUS I F CURRENT FORK HAS
SUBSYSTEM STATUS.
6- 61 VE FORK SY STEM STATUS I F CURRENT FORK HAS
SYSTDI STATUS.
7-SUBSYSTEM I NDEX I N PAN! C TABLE.
DESCRI PTI ONI
BRS 9 I S USED TO CREATE DEPENDENT ENTRI ES I N THE PAC
TABLE.
mE [PANIC TABLE] INDICATED B't REGISTER A MUST MOT BE THE
SAME FOR TWO FORKS OF THE SAME JOB OR OVERLAP A PA GE BOUNDARY J I ' I T
IS BRS 9 I S ILLEGAL. BRS 9 CREATES A NEW FORK AS A FORK OF THE FORK
CREATING IT, WHICH IS CALLED THE CONTROLLING FORK. THE FORK IS LOWER
IN THE HIERARCHY OF FORKS THAN THE CONTROLLING FORK. THE CONTROLLING
FORK MAY ITSELF BE A FORK OF SOME STILL HI tHER FORK.
WHEN BRS 9 IS EXECUTED~ THE CONTROLLING FORK IS DISMISSED UNTIL THE
LOVER FORK TERMINATES.
A USER MAY NOT HAVE MORE THAN EI9fT FORKS

IN HI S FORK STRUCTURE.
THI S I MeLUDES THE EXEC FO~K AND ONE FORK
FOR EACH EXEC BRS THAT IS ACTI VE.
ONLY ONE EXEC BRS CAN BE ACTI VE
AT A TIME.
REGISTERS AFFECTEDI NONE

DATE. 69/05/13
FUNCTION. PROGRAMMED PANIC.
TERMINATES A FORK.
STATUS. USER
DESCRIPTIONI TERMINATES A FORK.
THIS CONDITIO. CAN BE DISTINGUISHED
FROM A PANIC CAUSED BY THE ESCAPE KEY ONLY BY mE FACT THAT IN
THE FORMER CASE THE PROGRAM COUNTER IN 11IE PANIC TABLE POINTS TO
A WOHD CONTAINIRG BRS 10. THIS ERS WOULD NORMALLY BE USED TO
TERMINATE A FORK WHEN IT IS FINISHED.
RESISTERS AFFECTED. NONE
*BRS11*
DATE. 69/05/13
FtBCTIONI CLEAR nlE T-ELETYPE
STATUSt USER
INPUT. XmTELETYPE NUMBER (-1
DESCRIPTION. SETS THE BUFFER
CHARACTER 5 I If THE [TELETYPE]
REGISTERS AFFECTEDI NONE

I NPUT BUFFER
INDICATES THE CONTROLLING TELETYPE>
POINTERS TO INDICATE THEliE ARE NO

[I NPUT BUFFER].

*BRS 12*
DATE. 69/05/13
FUNCTION. DECLARE ECHO TABLE OR SET [a-LEVEL INPUT] MODE
STATUS. USER
INPUT. X=TELETYPE IWMBER (-1 INDICATES THE CONTROLLING TELETYPE)
A=OI112. OR 3 TO INDICATE THE PROPER ECHO TABLE.
A MAY ALSO CONTAI N ANY EI alT-BI T CHARACTER I F THE 51 CJi BI TIS ON.
IN THI S CASE" EACH EI GHT-BI T CHARACTER READ FROM
TIlE (TELETYPE] IS TRANSMITTED UNCHANGED
TO mE USERS PROGRAM.
NO ECHOES ARE GENERATED lIHILE IN THIS SPECIAL
EI GHT-LEVEl. MODE.
mE EI fJfT BI T CHARACTER I S THE CHARACTER ON lrHI eH
EIGHT LEVEL MODE WILL TERMINATE. IF THE SIGN BIT IS O. AND BIT 15
IS ON. THERE WILL BE NO TERMINATING CHARACTER.
mE PROGRAM MUST
STOP tHE READING ITSELF.
IF IT FAILS TO DO THIS .. THE USER
MAY HANG UP HI S PHONE.
NEI THER THE ESCAPE NOR HI (II SPEED ESCAPE WI LL
TERMINATE mE PROGRAM.
OTHERWISE" THIS IS LIKE REGULAR El aiT LEVEL

MODE.
DESCRIPTIONI
BRS 12 SETS mE [ECHO TABLE] FOR mE TELETYPE
INDICATED BY REGISTER X.
ECHO TABLES ARE AS FOLLOWSI
OmECHO EACH CHARACTER JUST AS I TWAS BECEI VED AND BREAK ON
ALL CHARACTERS.
l-SAME ECHO AS 0 BUT ALL CHARACTERS PXCEPT LETTERSI DI GI TS ,",D
SPACES ARE BREAK CHARACTERS.
2=SAME ECHO AS 0 .. BUT THE ONLY [BREAK CHARACTERS] ARE CONTROL
CHARACTERS (INCLUDING CARRIAGE RETURN AND LINE FEED.)
NOTE:
THE gEC SETS nil S FOR THE USER.
3=NO [ECHO] FOR ANY CHARACTER AND BREAK ON ALL CHARACTERS.

REGISTERS AFFECTEDI NONE

DATEs 69/05/13
Ji'1.JNCTION TEST I NPUT BUFFER FOR EMPTY.
STATUS, USER
INPUTs
X-CTELETYPEl NUMBER (-1 INDICATES THE CONTROLLING TELETYPE)
RETURNSs NO SKIP=CHARACTERS IN THE INPUT BUFFER
SKIP=NO CHARACTERS IN THE INPUT BUFFER
DESCRIPTIONs THIS BRS TESTS FOR THE PRESENCE OF INPUT CHARACTERS IN
THE BUFFER.
IF THE BUFFER IS EMPTY. THERE IS A SKIP RETURN.
IF nlERE ARE ANY CHARACTERS IN THE [INPUT BUFFER l. CONTROL IS
TRANSFERED TO mE "NORMAL" RETURN.
REGISTERS AFFECTEDI NONE

...

-~r

MTEI 69/05/13
ruNCT! ONI
DI SMI 5S UNTI L THE TELETYPE OUTPUT BUFFER I S EMPTY
STATUS.
USER
INPUT: X= TELETYPE NUMBER (-1 INDICATES THE CONTROLLING TELETYPE)
DESCRIPTIONl
DISMISS THIS FORK UNTIL THE [TELETYPE] [OUTPUT BUFFER]
INDICATED IS EMPTY.
IT IS DISMISSED UNTIL THE LAST INTERRUPT
! 5 RECEI VED.
REGISTERS AFFECTED: NONE
*BRS 15*
DATE. 69/11/11
ATTENTION: THIS BRS IS OBSOLETE AND WILL SOON BE DELETED.
FUNCTION.
READS INPUT FILE NAME FROM Ii COMMAND FILE AND LOOKS
UP THE FILE NAME IN THE USER'S FILE DIRECTORY

STATUS.

USER

A-COMMAND FILE NUMBER - 0 FOR TELETYPE INPUT
RETURNSt NO SKIP • FILE CANNOT BE LOCATED IN DIRECTORY
INPUT:

SKIP • NORMAL RETURN
DESCRIPTIONs
THE ROUTINE I RlORES LEADING SPACES, LEADING MULTIBLANKS, AND LEADING COMMA '5, LINE FEEDS AND CARRIAGE RETURNS.
THE EXCEPTION RETURN I S TAKEN I F THE VI LE NAME CANNOT BE LOCATED
IN THE [FILE DIRECTORYl.
EXCEPTION RETURNI
XI
EXEC £RCODE

NORMAL RETURNs

FILE DIRECTORY POINTER ADDRESS
DESTROYED
XI
FILE DIRECTORY POINTER ADDRESS
NOTE.
THE INFORMATION CONTAINED IN THE RESISTERS CANNOT BE USED
DIRECTLY BY THE USER SINCE THE ADDRESSES ARE IN THE T.5. BLOCKJ
'mI S BRS I S NORMALLY FOLLOWED BY THE SRS 16.
IF THE INPUT FILE NAME STRING BEGINS WITH A LEFT PAREN, OR WITH
THE FULL QUOTE., THE FILE NAME WILL BE LOCATED IN ANOTHER USER'S
FILE DIRECTORY OR IN THE PUBLIC FILE DIRECTORY, RESPECTIVELY.
REGISTERS AFFECTED. ALL

AI
Sa

*BRS 16*

DATE: 69/05/13
ATTENTION, THIS BRS I S OBSOLETE
FUNCTIONa [OPEN] [INPUT FILE]
STATUS.

INPUT:

AND

WI LL

SOON BE DELETED.

USER

A= FILE DIRECTORY POINTER ADDRESS

SKIP • FILE CANNOT BE OPENED
SKIP = NORMAL RETURN
DESCRIPTIONf OPENS AN INPUT FILE. THE ERS REQUIRES IN A THE
VALUE RETURNED IN A BY A BRS 15, 48, OR 60. THE EXCEPTION
RETURN IS TAKD IF mE POINTER IN A IS NOT POINTING TO A PROPER
LOCATION OR I F THE FI LE CANNOT BE OPENED FOR ANY REASON.
EXCEPTION RETURNI ALL REGISTERS DESTROYED
NORMAL RETURNI AI FILE NUMBER
RETURNS.

NO

REGISTERS AFFECTED.

81

FILE TYPE (0-4)

XI

FILE SIZE

ALL

--4-

*BRS 17.
69.105.113
FUNCTION.
[CLOSE] ALL FILES
STATUS, USER
REGISTERS AFFECTED.
ALL
DATEa

69.111.111
THIS BRS IS OBSOLETE AND WILL SOON BE DELETED.
FUNCTION.
READS FILE NAME FROM A COMMAND FILE AND LOOKS UP THE
FILE NAME IN THE USER'S FILE DIRECTORY.
THE COMMAND
FILE MUST BE AN INPUT nLE.
STATUS,
USER
INPUT,
A. COMMAND FILE NUMBER • 0 FOR TELETYPE INPUT.
I F BI TIl:: 1 I N THE A REGI STER" THE BRS ASSt.JI1ES A FI LE
NAME I S CORRECT MID DOES NOt TYPE "OLD FI LE" OR "NEW FILE" e
RETURNS.
NO SKIP,
ERROR RETURN
SKIP.
NORMAL RETURN
DESCRIPTIONt
THIS BRS IGNORES LEADING SPACES" LEADING MULTIBLANKS AND LEADING COMMA '5" LINE FEEDS AND CARRIAGE RETURNS.
IF THE STRING BEGINS WITH A SINGLE QUOTE OR SLASH" IT MUST BE
TERMINATED BY THE SAME CHARACTER WHICH MUST THEN BE FOLLOWED BY A
CONFIRMING CARRIAGE RETURN.
THE iXCEPTION EXIT IS TAKEN IF mESE
REQUIREMENTS ARE NOT MET.
IF TdE STRINe IS FutiND IN -niE FILE DIRECTORY"
THE MESSAGE OLD FILE IS TYPED" OTHERWISE" 1HE MESSAGE NEW FILE IS
TYPED.
I F THE NEXT CHARACTER IN THE INPUT STRING I S A LINE FEED"
CARRIAGE RETURIJ" OR PERIOD.. THE NORMAL RETURN WILL BE TAKENJ
OTHERWISE" nlE gCEPTIOIf RETURN IS TAKEN. III mE CASE OF A NEW FILE"
THE FILE NAME IS INSERTED CONDITIONALLY INTO nlE FILE DIRECTORY.
IF THE FILE IS READ-ONLY" THE EXCEPTION RETURN IS TAKEN.
EXCEPTION RETURN.
ALL DESTROYED.
NORMAL RETURNs AI
LOCATION OF THE FILE IN mE DIRECTORY

DATE.

ATTENTION.

HASH TABLE'.
BI

REGISTERS AFFECTED:

XI
ALL

CONFIRMING CHARACTER IN CASE OF A QUOTE
OR SLASH FILEJ OTHERWISE .. THE FILE DIRECTORY.
DESTROYED.

DATE: 69/05/13
ATTENTION. THI S BRS IS OESOLETE AND WI LL SOON BE DELETED.
FUNCTION:
OPENS AN [OUTPUT FILE]
STATUS:
USER
CALLING SEQUENCE'
INPUTI
A II: INFORMAnON SUPPLIED IN A BY BRS 18" BRS 48 OR BRS 60.
(LOCATION IN FILE DIRECTORY.'
B • INFORMATION SUPPLIED IN X BY BRS 16.
X a FILE TYPE. (SEE APPENDIX A" GLOSSARY.)
RETURNS: NO SKIPs ERROR
SKIPs
NORMAL RETURN
DESCRIPTION:
OPENS AN OUTPUT FILE.
om THE NORMAL RETURN" A •
mE FI LE NUMBER.
mE EXCEPTION HETtffiN I S TAKEN I FI

l'
2)

THE WORD IN A I S NOT A VALl D POINTER.
THE FILE CANNOT BE OPENED.
(SUCH AS A PHYSICAL DEVICE
THAT CANNOT BE USED FOR OUTPUT.)
3)
mE FILE DIRECTORY IS ALREADY FULL.
IN THESE CASES AN APPROPRIATE MESSAGE IS TYPED.
REGISTERS AFFECTED: EXCEPTION RETURNI ALL DESTROYED.
NORMAL RETURNI
A • n LE NUMBER
B AND X ARE DESTROYED.

DATEs 69/05/13
FUNCTION: [CLOSE] A [FILE]
STATUSI

USER
A:It FILE NtJtIBER

INPUTs

DESCRIPTION:

THE "CLOSE FILE" SRS IS USED TO INDICATE TO THE
SYSTEM ALL PROCESSING IS COHPLETED ON THIS FILE. ALL REGISTERS
ARE DESTROYED.
REGI STERS AFFECTED}
ALL

*BRS 21*
DATE: 69/05/13
NAME.
Ji'NA
FUNCTIONI
USER

DESCRIPTIONs

mE DOUBLE WORD (FLOATING POINT] VALUE IN THE A

REGISTEHS AFFECTEDI

A, B

DATEI 69/05/13

FUNCTIONs CHANGE [TERMINAL CHARACTERISTICSl
STATUS:
USER
INPUT:
A III Tn'TBL MASK
X := TTY NtMBER OR -1
TTYTBL MASK:
BIt 1 -I FOR AUTOMATIC LINE FEED FOR [MODEL 373 •
./
Bl T 7 III 1 FOR [HALF DUPLEX]
ALL OTHER Bl T5 MUST BE 0
REGISTERS AFFECTEDa NONE

DATEI 69/05/13
FUNCTIONI
CLEAR mE [OUTPUT BUFFER]

STATUSt
INPUT.

USER

x. Tn.ETYPE

REGISTERS AFFECTEDz

NUMBER (-1 INDICATES THE CONTROLLING TELETYPE)

NONE

*BRS 31*
DATE:

69/05/13

ATTENTION: THIS BRS IS OBSOLETE, AND WILL SOON BE DELETED.
FUNCTION: PUTS THE STATUS WORD INTO THE X REGISTER.
STATUS,
USER
INPUT:
A = PANIC TABLE ADDRESS

DESCRI PTI ON. PUTS THE STATUS WORD FROM THE PANI C TABLE I liTO THE

X REGI STER. THI S COULD BE DON! MORE EASILY BY mE USER.
REGISTERS AFFECTEDI X,A

DATE:

69/05/13

READ [STRING]

FUNCTION:

STATUS:

USER
INPUT'
A III ADDRESS OF STRING POINTER
B • TERMI riAL CHARACTER
X :: FILE NtIIBER
BIT 0 OF A ON D 1HE STRING IS TAKEN AS NULL WITH mE
SECOND POI.TER EQUAL TO mE FIRST.
DESCRIPTIONt
THIS BBS READS CHARACTERS FROM THE FILE AND APpgDS THEM TO THE STBINS UaJTIL THE TERMINAL CHARACTER IS
REACHED. THE TERM I NAL CHARACTER 15 NOT APPENDED TO THE 5THI. G.
IT RETURNS mE UPDATED STRING POINTERS IN THE A AND B REGISTERS
AND UPDATES THE END STRING POINTER IN MEMORY.

REGISTERS AFFECTEDI

A, B

DATEs 69/05/13
FONCTIONI OUTPUT MESSAGE
STATUS:

USER

=

A BEGINNING WORD ADDRESS
B == CHARACTER COUllT OR -1
DESCRIPTIONs THIS BRS OUTPUTS N CONSECUTIVE CHARACTERS STARTING WITH THE FIRST CHARACTER OF THE SPECIFIED WORD. IF B.-I,
CHARACTERS ARE OUTPUT UNTIL A " IS ENCOUNTmEDJ mE CHARACTER S
IS INTERPRETED AS A CARRIAGE RETURN MJD LINE FEED.
REGISTERS AFFECTED' NONE

*BRS 35*
DATE.

69/05/13

FUNCTIONI OUTPUT STRING
STATUS, USER
I NPUT

I X c FI LE NUMBER
A,B • A STRING POINTER PAIR
DESCRIPTION:
OUTPUTS THE [STRINGJ INDICATED BY THE STBING POI.TERS IN REGISTERS A AND B TO THE SPECIFIED FILE.
REGISTERS AFFECTED: NONE

*BRS 36*
DATEt 69/05/13
FUNCTION:
OUTPUT NUMBER
STATUS:
USER
I NPUT I
X a FI LE NUMBER
A

I:

NUMBER TO BE OUTPUT

B • RADIX
DESCRIPTIONl

OUTPUTS A NUMBER IN THE RADIX R.

THE NUMBER WILL

BE

OUTPUT AS AN UNSI GWED 24 BI T INTEGER.

I F mE RADIX I S LESS

THAN 2.. AN I NSTRUCTI ON TRAP WI LL BE GI VEH.
REGISTERS AFFECTEDI

DATE:

NONE

69/05/13

FUNCTION: [RENAME] A [FILE]
STATUS:
USER
CALLING SEQUENCE:

LDP PTRS (OLD FILE NAME)

BRS48
BHU ERROR
LDP NPTRS (NEW FILE NAME)

BRS 37
BRU ERROR2
A.. B • NEW STRING POINTERS

INPUT:

X

OUTPUT OF BRS 48

:=

OUTPUT: I F ERROR RETURN TAKEN.. X

=:

EXEC £ReODE

DESCRIPTION:
REPLACES OLD FILE NAME VIm NEW FILE NAME.
NEW NAME MUST HAVE SAME NUMBER OF CHARACTERS AS OLD NAME.

SKIP = NORMAL RETURN
NO SKIP = NEW NAME INVALID

RETURNS:

REG! STERS AFFECTED:

(SAME AS OLD.. ILLEGAL CHAR-I ETC.)

ALL

*BRS 38*
DATEI 69/05113

FUNCTIONI

READ NUMBER

STATUS.
USER
INPUT:
X:I: FILE NUMBER (0 FOR TELETYPE)

B = RADIX
A == NtMBER
B • TERMINATING CHARACTER
DESCRIPTION:
INPUTS AN INTEGER TO ANY RADIX.
THE NtJIIBER MAY
BE PRECEDED BY A PLUS OR MINUS SI GlQ. LEADING CARRIAGE RETURNS
AND BLANKS ARE I GNORED. ON EX I T THE NUMBER WI LL
OUTPUT:

BE IN THE A REGISTER.

THE CONVERSION IS TERMINATED BY ANY NONTHE
NUMBER IS COMPUTED B'f MULTIPLYING THE NtMBER OBTAINED AT EACH
STAGE BY THE RADIX AND ADDING THE NEW DI GIT.

NUMERIC CHARACTER WHICH WILL BE IN mE B REGISTER ON EXIT.

REGISTERS AFFECTED:

A, B

*BRS 39*
69/05/13
READS [ CONTROL PARAMETER WORD] AND AUNN
STATUSt
USER
DATEs

FUNCTION:

OUTPUTs

A = CONTROL PARAMETER WORD
B = AUNN

CONTROL PARAMETER WORD:

DDT:

2B5

ACCOUNT SUPERVI SORt

2B6

SYSTEMS

4B6

OPERATORs

lS7

PREMIUM CHARGEI

2B7

PROPRIETARYs

4B7

REGISTERS AFFECTED:

A,B

DATEI 69/05/13
FUNCTIONa
READ [ECHO TABLEl
STATUSa
USER
INPUTs
X = TELETYPE NUMBER OR -1
OUTPUT:
A = ECHO TABLE NUMBER OR TERMINATING CHAFiACTER AND 51 GN BIT.
DESCRIPTION:
READS THE ECHO TABLE NUMBER (0,1,2,3,) INTO THE A
REGISTER.
IF THE [TELETYPE] IS NOT IN EI G1T-LEVEL INPUT MODE, READS THE
ECHO TABLE NUMBER (0,1,2,3) INTO THE A REGISTER.
IF THE TELETYPE I SIN EI aiT-LEVEL MODE, THE SI ~ EI T OF A I S SET, THE ADDRESS FIELD CONTAINS THE TERMINAL CHARACTER.

REGISTERS AFFECTEDt

DATE: 69/10/31
FUNCTION:
READ

STATUS:

USER

OUTPUT:

A

B

A

REAL [TIMEl CLOCK

= REAL

&;

=

DMIN

X
YEAR-1964
DESCRIPTION:
SETS THE CONTENTS OF THE A REGISTER EQUAL TO THE
TIME IS GIVEN AS A 24 BIT BINARY
VALUE OF THE REAL TIME CLOCK.
NUMBER REPRESENT! NG 60THS OF A SECOND.
THE CLOCK I S SET TO
ZERO WHEN THE SYSTEM I S STARTED AND I TIS INCREMENTED BY ONE
AT EVERY 1/60TH SECOND.
A BINARY FORM OF THE START-UP TIME IS
Ptrr IN B.
THE FIRST SIX BITS OF B ARE nlE MONTH NUMBER.
mE

REST OF THE Bt TS ARE THE MINUTE OF THE MONTH.
FROM A AND B
TIlE USER CAN CALCULATE THE MORTH, DATE AND TIME.

REGISTERS AFFECTED.

A, B

*BRS 43*
DATEs 69/05/13
FUNCTION:
READ PSEUDO-RELABELING
STATUS:
USER
OUTPUTr
A,B = PSEUDO-RELABELING REGISTERS.
DESCRIPTIONI
READS THE CURRENT PSEUDO-CRELABELINGl REGISTERS
INTO REGISTERS A AND B.
REGISTERS AFFECTED.
A, B

*BRS 44*
DATE: 69/05/13
FUNCTIONI
SET PSEUDO-RELABELING
STATUSI
USER
A & B = RELABELING REGISTERS
DESCRI PTI ON:
THI S BRS TAKES THE CONTENTS OF REG! STERS A AND B
AND STORES THDJ INTO THE CURRENT PSEUDO-CRELABELINGl REG! STERS.
IT ALSO CAUSES THE REAL RELABELING TO BE RESET TO CORRESPOND

TO THE NEW PSEUDO-RELABELING.
THIS BRS WILL RESULT IN AN INSTRUCTION TRAP FOR ANY OF THE FOL-

LOWING REASONSI
1)
2)
3)

SWAPPING IN THE NEW PAGES WAS 1i0T COMPLETED.
(USUALLY
BECAUSE OF A RAD FAILURE.'
mE USER TRI ED TO RELABEL OVER A SYSTEM PAGE.
THE USER TRI ED TO RELABEL OVER A PAGE HE DI D NOT HAVE.
(THIS IS NOT THE WAY TO OBTAIN MORE MEMORY.)

REGISTERS AFFECTEDI

NONE

DATEI 69/05/13
FUNCTIONs
DI 5HI S5 ON QUANTtIi OVERFLOW

STATUS, USER
DESCRIPTIONI THIS BRS CAUSES THE USER TO BE DISMISSED AS
THOUGH HE HAD OVERFLOWED HI S QUANTtM.
I T GUARANTEES THAT
THE NEXT TIME HE IS STARTED HE WILL HAVE A COMPLETE SHORT
TIME QUANTUM.
REGISTERS AFFECTED:
NONE

DATEI 69/05/13
FtlfCTION I LOOK UP INPUT/OUTPUT [FILE] NAME
STATUS:
IN~UTi

USFli

A, B

= STRING

POINTERS FOR THE FILE NAME.

RETURNS I

NO SKIP • ERROR.
COULDN'T FIND FILE NAME IN DIRECTORY.
SKIP • NORMAL RETURN
DESCRIPTIONs
THE FILE NAME IS LOOKED UP IN THE (FILE DIRECTORYJ.
IF IT IS NOT THERE .. nlE EXCEPTION RETURN IS TAKEN.
EXCEPTION RETURNs
A & B I NO CHANGE.
X I THE NUMBER OF MATCHES.
NORMAL RETURNt
A & B I LOCATION IN FILE DIRECTORY. CAN
BE USED BY BRS 16 OR BRS 19.
X I DESTROYED.

REGISTER AFFFCTEDI ALL

DATEI

69/05/13

FUMeTI ONt

READ I NTERRUPTS ARMED
USER
OUTPUTs A = INTERRUPT MASK
DESCRIPTIONI
READS THE [INTERRUPT MASK] INTO THE A REGISTER.
4 CORRESPONDS TO [INTERRUPT] NUMBER I. 5 TO NUMBER 2 AND ETC.
mERE ARE 11 PROGRAMMABLE INTERRUPTS. SEE ALSO BRS 18.
ASSIGNED INTERRUPTS. 1 • (2B6) • BRS 10 OR ESCAPE
STATUSa

BIT

2 • (IB6) c MEMORY PANIC
3 • (4B5) • LOVER FORK TERMINATES
~

•

(285) •

I/O EXCEPTION CONDITIONS

11 • (IB3) • DISK ERROR

REGISTERS AFFECTEDI

A

DATE. 69/05/13

FUNCTIONI

[CONVERSION] FROM [FLOATING POINT] TO FIXED POINT
STATUS.
USER
DESCRIPTION:
FIXES THE DOUBLE WORD FLOATING POINT VALUE IN
(AlB).
THE INTEGER PART IS LEFT IN A.
THE FRACTIONAL PART
IS LEFT ADJUSTED IN B.

REGISTERS AFFECTED:

A. B

DATE, 69/05/13

FUNCTIONI [CONVERSION] FROM FIXED POINT TO [FLOATING POINTl
STATUS:

USER

DESCRIPTION.
THE INTEGER IN
FLOATING POINT VALUE IN A.B.
REGISTERS AFFECTEDJ
A.B

A IS CONVERTED TO A NORMALIZED

*BRS 52*
DATE:

69/05/13

FUNCTION:

FORMATTED INPUT
USEJ1
SEQU~CE:
LDX
FORMAT
BRS 52
RHU NF1..0AT NO FLOATI N G POI NT AND FREE FORM INPUT
SHU FREE
FLOATING POINT AND PREE FORM INPUT
DESCRIPTION: THIS ROUTINE READS CHARACTERS FROM A FILE SPECIFIED IN THE FORMAT WORD" FORMAT. (APPENDIX E) FORMAT ALSO
SPECIFIES mE FORMAT OF nlE INPUT. FREE FORM INPUT FR(IIJ THE
TELETYPE RE5UL T5 WHEN FORMAT • o. A SKIP RETURN IS GI VENI F AND
ONLY IF (1) THE INPUT IS FREE FORM" AND (2) THE INPUT IS FLOATING
POINT.
mE INTERNAL TRANSLATION OF THE INPUT FILE IS STORED
STATUS:
CALLING

IN A" B.
REGISTERS AFFECTEDI
*BRS 53*
DATEs

69/05/13

A" B. X

n.JNCTION:

FORMATTED

OUTPUT

STATUS,
USER
CALLI NG SEQUENCE:

LDX
FORMAT
BRS 53
DESCRIPTION:
THE INTEGER III A OR THE DOUBLE WORD FLOATING
POINT VALUE IN A~ B IS OUTPUT TO mE FILE ACCORDING TO ntE
FILE NUMBER AND. FORMAT SPECIFIED 1M FORMAT. (APPENDIX E)
REGISTERS AFFECTEDI
NONE

DATEI

69/05/13

ATTENTIONI
FUNCTIONI

THIS BRS IS OBSOLETE AND WILL SOON BE DELETED.
LOOKS UP A FILE NAME IN THE FILE DIRECTORY AliD IN-

SERTS IT I F IT I S NOT THERE
STATUS:
USER
INPUTI
A# B = STRING POINTERS FOR THE FILE NAME
RETURNS.
NO SKIP = FILE DIRECTORY FULL
SKIP • NORMAL RETURN
DESCRIPTIONI
THE FILE NAME IS LOOKED UP IN THE FILE DIRECTORY.
I FIT I S NOT THERE# THE NAME IS INSERTED.
THE EXCEPTION RETURN
I S TAKEN I Ii THE FI LE DI RECTORY I S FULL.
EXCEPTION RETURNI
A & B= 1110 CHANGE
-1

x-

A & Sa LOCATION IN FILE DIRECTORY.

NORMAL RETUBRI

Xc DESTROYED.

*BRS 62*
DATEs

69/11/11

FUNCTION.

[OPEN] A [FILE] FOR [INPUT]

STATUS a
USER
INPUTt
A = COMMAND FI LE NUMBER OR 0 FOR TELETYPE
SKI P RETURN OUTPUTI
A- FI LE NUMBER
B- FILE TYPE
X= FILE SIZE
NO SKIP RETURN OUTPUTs
A.B# ARE DESTROYED
XcEXEC mCODE (APPE19DIX D)
DESCRIPTIONs
READS THE INPUT nLE NAME FROM THE SPECIFIED COMMAND
FILE AND mEN OPENS THE FILE.
THE BRS I QlORES LEADING SPACES#
LEADING JIIULTIBLANKS. AND LEADING COJIDIA '5. LINE FEEDS AND CARl1IAGE
RETURN. IF THE INPUT FILE NAME BEGIlfS WITH A LEFT PAREN# ASTERISK
OR A CROSSHATCH THE FILE NAME WILL BE LOCATED IN ANOTHER USER'S

DIRECTORY OR IN THE PUBLIC FILE DIRECTORY. RESPECTIVELY.
ERROR CODES IN X OUTSIDE INDICATED RAHGE ARE RESERVED.

REGISTERS AFFECTEDI

ALL

.BRS 63*
DATE:

69/05/13

FUNCTION' [OPEN] A [FILEJ FOR [OUTPUT]
STATUS, USER
INPUT:
AI 0-7=0 OR RANDOM FILE OPTIONS
8-23- COMMAND FILE NUMBER OR 0 FOR TELETYPE
IF BITS 0-7 OF A-O (SEE APPENDIX)

X • FILE TYPE

OUTPUT:

RETURNSi

A. FILE NUMBER
B • FILE TYPE

SKIP. NORMAL RETURN

NO SKIP • ERROR.
ERROR MESSAGE IS 1YPED OR mE
!:ReODE IS RETURNED IN X. (APPENDIX D)
DESCRIPTIONI
THE BRS IGNORES LEADING SPACES. LEADING MULTIBLANKS.
AND LEADING CARRIAGE RETURNS. IF A NAME BEGINS WITH A SLASH OR
SINGLE QUOTE. IT MUST TEBMINATE WITH nlE SAME CHARACTER.
NAMES SURROtIJDED BY SLASHES OR SINGLE QUOTES MAY CONTAIN ANY

CHARACTER EXCEPT A LINE FEED OR CARRIAGE RETURN.

OTHER NAMES ARE

RESTRI CTED TO ALPHANUMERI CS AND ••

ANY NAME MAY BE FOLLOWED BY A DASH AND ANOTHER STRING.
THE CHARACTERS
FOLLOWING A DASH ARE CONSIDERED A COMMENT AND ARE NOT USED liIEN
LOOKING UP A NAME IN A FILE DIRECTORY.
COMMENTS SURHOUNDED BY
SLASHES OR SINGLE QUOTES MAY CONTAIN ANY CHARACTER EXCFPT LINE
FEED AND CARRIAGE RETURN.
OnfER COMMENTS ARE RESTRICTED TO
ALPHANUMERI CS. • AND DASH.

REGISTERS AFFECTED:

ALL

*BRS 64*
DATEI 69/05/13
FUNCTION: [OPEN] A [FILE] FOR (INPUT] USING STRING POINTERS
STATUS: USER
INPUTs A.B- STRING POINTERS FOR THE FILE NAME.

OUTPUT:

A= FILE NtJatBER

X= FILE SIZE
SKIP. NORMAL
NO SKIP • ERROR.
REGISTERS AFFECTEDt
ALL

RETURNS I

FILE COULD NOT BE OPENED.

*BRS 65*
DATEs 69/05/13
FUNTIONt
OPEN A FILE FOR OUTPUT USING STRING POINTERS.
STATUSaUSER
INPUTI A: 0-1-RANDOM FILE OPTIONS
AlB ADDRESSESI STRING POINTERS TO [FILE NAMEl
IF THE "OLD FILE" OR MNEW FILE" MESSAGE IS NOT TO BE TYPED.
SET BITS 0-7 OF X-O AND BITS 10-23 - FILE TYPE
IF THE "OLD FILE" OR "NEW FILE" MESSAGE IS TO BE TYPED BY THE EXEC.
SET BITS 0-11 OF X = FILE TYPE AND BITS 12-23 OF X = COMMAND FILE

(SEE APPENDIX)
OUTPUTS A- FILE NUMBER
B= FILE TYPE
RETURNS: SKIP= NORMAL RETURN
NO SKI P • ERROR. ERROR MESSA GE IS 1YPED OR THE
EReODE I S RETURNED I N X.
DESCRIPTION:
IF A NAME BEGINS WITH A SLASH OR SINGLE QUOTE. IT
MUST TERMINATE WI TIl THE SAME CHARACTER.
STRINGS SURROUNDED BY SLASHES OR SINtLE QUOTES ARE CALLED PROTECTED
STRINGS.
THEY MAY CONTAIN ANY CHARACTER EXCEPT A LINE FEED OR
CARRIAGE RETURN.
OTHER STRINGS ARE RESTRICTED TO ALPHANUMERICS
AND tit.
/!ANY NAME MAY BE FOLLOWED BY A DASH AND ANOTHER STRING.
THE STRING

FOLLOWING THE DASH IS TREATED AS A COMMENT AND IS NOT CONSIDERED
WHEN LOOKING UP THE NAME. A COMMENT MAY BE A PROTECTED OR UNPROTECTED STRING. DASHES MAY BE USED IN UNPROTECTED STRINGS IN COMMENTS.
REGI STERS AFFECTED:
ALL

*BRS 61*
DATE: 69/11 /21

FUNCTIONt READ A USER'S TS PAGE
STATUS: USER
INPUT:
A=KEY

B=BUFFER LOCATION
X=NUMBER OF WOaDS TO BE READ I NTO CORE
DESCRIPTION: TIlE BRS WILL READ INTO CORE A SECTION OF THE USER'S
TS PAGE. mE KEY WI LL ALLOW THE USER TO LOOK AT A SELECTED PI ECE
OF THE BLOCK.
EXAMPLE: TO GET mE USER'S PROJECT CODE INTO LOCATION 1000B

PROJ

' LDA

-59

LDB

=1000B

LDX

-4
67

BRS
LIST OF KEY'S:
A REG.

0-5
6

DESC.
EXEC BRS PANIC TABLE, WORDS 2-6
COMMANDS FROM FILE NUMBER

8

COMMANDS TO FILE NUMBER
USER NtJfIBER

9
17,18

PROGRAM RELABELING WORDS

7

19,20
21

29
32
37
43
45
46

59-62
63
64
65

66

STATUS FLAG WORD
SUBSYSTEM RELABELING WORDS
CLOCK TICKS AT LOGIN

ERROR CODE WORD (USED BY 'WKY')
FORCED LOGOUT SWITCH
LAST EXEC COMMAND I. D.
PROPRI ETARY PROGRAM SWI TCH
FI LE DX RECTORY ACCOUNT NLMBER (SET BY GFD)

IN!T SWITCH
PROJECT CODE
FILE POSITION IN DIRECTORY
FILE INDEX
CURRENT FI LE DI RECTORY GROUP NUMBER

ACCOUNT PARAMETERS

REGISTERS AFFECTEDI A
.BRS 68*
DATE: 69/05/13
FUNTIONI
READS (FILEJ NAME FROM (FILE DIRECTORY] INTO USERS MEMORY
AND RETURNS FILE PARAMETER FOR OniER EXEC FILE BRS ·S.
STATUS:
USER

INPUTs

A6B. NULL STRING POINTERS
X • I NDEX TO FI LE I. FI LE DI RECTORY
RETURNS: SKIP RETURN OUTPUT.
A= INPUT FOR BRS 16 AND 19
Sa ENDING STRING POINTER
FI LE NAME I SIN USERS MEMORY.
OR
A-a-O I F INDEX 15 I NVALI D

NO SKIP • INDEX IS TOO LARGE FOR FILE DIRECTORY.
REGISTERS AFFECTED: A6B
SAMPLE PROGRAM: (TYPES ALL FILE NAMES)
START

LDX-l

LDP
BRS
BRS
SKE

P
68
10
-0

END OF FILE DIRECTORY

SRU *+3

51

EAX 1,,2
SHU

START+l

STX

SV
LDX =1

LDA P
BRS 35
LDX SV

TCO a15SB
13HU 51
NOTE: THE BRS WILL TRAP IF THE FILE DIRECTORY IS NOT DECLARED "LISTABLE"

DATEI

69/11/11

FUNCTION: DELETE A FILE
STATUS: USER
INPUTs A = FILE DIRECTORY POINTER ADDRESS (FROM BRS 15 OR 48)
RETURNS: NO SKIP • ERROR OR WRITE PROTECTED
SKIP
FILE DELETED
DESCRIPTION: DELETES THE FILE WHOSE INDEX POINTER IS IN A. IF THE
FILE IS WRITE PROTECTED6 THE MESSAGE "WRITE PROTECTED" IS PRINTED
AND THE ERROR RETURN TAKEN. ALL REGI STERS ARE DESTROYED.

=

REGISTERS AFFECTED. ALL

*BRS 70*
DATEI 69/05/13
FUMeTIONI
COtllTS NtJIIBER OF FREE USER PAGES
STATUSI
USER
OUTPUT a A- NtMBER OF FREE PAGES.
DESCRIPTIO..
RETURNS THE NUMBER OF FREE USER PAGES IN THE A
REGISTER.
nil SIS THE NUMBER OF PAGES mAT ARE AVAI LAaLE TO
ONE USER.

RESISTERS AFFECTEDt

A

*BRS 71*

DATE: 69/05/13
SKIP IF SYSTEM STATUS SET
USER
OUTPUT:
THE B REGI STm I S SET TO THE VALUE OF THE USE
CODE WI CH THE USER HAS SET FOR THE JOB.
nlESE VALUES AREI
FUNCTtONs

STATUS,

VALUE OF B

USE CODE

o

USER

2B1

SUBSYSTDI

4B7

SYSTDI

687

EXEC

RETURNS:

NO SKIP = B IS POSITIVE

REGISTERS

AFFECTED.

SKIP

:I

B IS MEGATI VE

B

*BRS 73*
691' 101'29
F"lfiCTIONI READ AND RESET ERCODE
STATUS, USER
OUTPUT I THE A REGISTER WILL CONTAIN THE LAST EXEC ERCODE
NlMBER (APPENDIX D). IN CASE OF A MONITOR ERROR" A WILL CONTAIN
THE MONI TOR ADDRESS THAT DI SCOVERED mE ERROR. THE meODE WI LL
BE RESET TO ZERO.
REGISTERS AFFECTEDI A
DATES

DATE: 69/05/13
FUNCTIONS
PUTS
STATUS:
USER

USERS [TELETYPE] INTO (HALF DUPLEX] MODE

REGISTERS AFFECTED:

NONE

*BRS 15*
DATEI 69/05113
PUiCTIONI
PUTS USERS [TELETYPEl INTO [FULL DUPLEX] MODE
STATUS a USER

REGISTERS AFFECTED:

NONE

*BRS 76*
DATEI 69/05/13
FUNCTIONI TEST [TELETYPE] FOR [HALF DUPLlXl

..,IF-

MODE •

STATUSt

USER

RETURNSI

)10 SKIP:

FULL DUPLEX MODE

SKIP,

1/2 DUPLEX MODE
REGISTERS A~CTEDI
NOME

DATE: 69/05/13
FUReTIONI
ARM/Dl SARM SOFTWARE INTERRUPTS
USER
STATUS:
INPUT.
A- THE COMPLETE REW INTERRUPT MASK.
DESCRIPTIONs
THE NEW [INTERRUPTl MASK IS SUBSTITUTED FOR THE OLD
ONE. A USER MAY ARM INTERRUPTS 1-10. A SYSTDJ STATUS FORK MAY ARM
INTERRUPT 11 ALSO.
INTERRUPT 1 I S IN Bl T 1.& OF THE MASK WORD.
THE INTERRUPTS ABE AS FOLLOWSI
1 INTERRUPT IF PROGRAM PANIC (BBS 10 OR ESCAPE)
2 INTERRUPT IF M!J.!OH'l PANIC
3
I MTERRUPT I F LOWEll FORK TERM! NATES
4 INTERRUPT ON UNUSUAL I /0 CORDI Tl ON.

A REGISTER CONTEHTSI
BITS

MEARING
1
QUANTUM OVERFLOW
I/O ERROR

o
5
6

7

END OF FILE

18-23

FILE NUMBER

5
INTERRUPT ON TIME OUT.
I9!S i 35
6 INTERRUPT ON FLOATING POINT OVERJi1..0W. (NOT IMPLD%ENTED)
1 INTERRUPT ON FLOATING POINT UNDERFLOW (NOT IMPLDlENTED)
8
INTERRUPT ON ZERO DI VI DE. (NOT IMPLDlENTED)
11
I tiTERRUPT I F DI SK ERROR
LOCATION 200 OCTAL PLUS THE INTERRUPT NUMBER MUST BE SET TO
POINT TO A ROUTINE TO PROCESS THE INTERRUPT.
V1EN mE IliTERRUPT
OCCURS AN SBRM* I S EXECUTED TO THE LOCATIOli POI NTED TO.
I FIT
IS DESIRED TO RETURN TO THE POIHT IN THE PROSiAM INTERRUPTED"
mE USER MUST SRR TO THE LOCATION YiERE THE RETURN WAS SAVED.
EXAMPLE:
SET
INTEERUPT ROUTINE
RETURN
LDA=ESCAPE ESCAPE ZRO ESCRTN BRR ESCBTN
STA 201B
•

•

•

•

e

REGISTERS AFFECTEDI

NONE

SEE BRS 49
*BRS 80*
DATE. 69/05/13
FUNCTION: JIlAKE PAGE [READ ONLY J
STATUS,
USER
INPUTt
A. AIIT/SMT NUMBER
I F BIT 0 OF A II 1" MAKE PAGE READ ONLY.
IF BIT 0 OF A • 0" MAKE PAGE READ-~ITE.
DESCRIPTION:
SETS THE READ-WRITE STATUS OF THE ENTRY ACCORDING
TO THE VALUE OF A. All SMT mTRY CAll ONLY BE CHANGED BY A SYSTDI

STATUS FORK.
mE FORMER STATUS OF THE ENTRY IS RETUBIiED I Ii A.
AN INSTRUCTION TRAP I S CAUSED I F THE SPECI FI ED ENTRY I S NOT I It USE.
REGISTERS AFFECTED:
A

DATE: 69/05/13
FUNCTION:
DISMISS FOR SPECIFIED AMOUNT OF [TIMEJ
STATUS:
USER
INPUT:
A = DISMISSAL TIME IN MILLISECONDS.
DESCRIPTION: THE FORK IS DISMISSED FOR THE NUMBER OF MILLISECONDS SPECI FI ED IN A.
THE FORK I S NEVER ACTI VATED SOONER niAN
THE DELAY REQUESTED, BUT I T WILL GENERALLY NOT BE ACTI VATED AT
EXACTLY THE TIME REQUESTED. THE MINIMUI DISMISAL TIME IS 2 SECONDS.
REGI STEHS AFFECTED:
A

*BRS 85*
DATE: 69 /0 5/ 13
FUNCTION:
SET 8-LEVEL TELETYPE OUTPUT
STATUS.
USER
INPUT:
X = TELETYPE NUMBER OR -1 FOR CONTROLLING TELETYPE.
DESCRIPTION:
SETS [TELETYPE] TO [EIGHT-LEVEL OUTPUT] MODE.
THE
TELETYPE SPEC I FI ED MUST BE THE CONTROLLING TELETYPE.
EI CJfTLEVEL IS TRANSMI TTED TO THE TELE1YPE IXACTLY AS I TIS RECEI VED
FROM mE USER PROGRAM.
A FORK SENDING E! SlT-LEVEL CODE SHOULD

DO A ERS 14 BEFORE TERMINATING.
REGISTERS AFFECTED: NONE
*SRS 86*
DATES 69/05/13
FUNCTIONI CLEAR [8-LEVELJ [TELETYPE] OUTPUT MODE

STATUS:

USER

=

INPUTs X
TELETYPE NUMBER OR -1 FOR CONTROLLING TELETYPE.
DESCRIPTION:
PUTS THE [TELETYPE] OUTPUT BACK INTO NORMAL MODE.
"mE TELETYPE SPEC I FI ED MUST BE THE CONTROLLI NG TELETYPE.
REGISTERS AFFECTED:
NONE

*BRS 88*
DATEs

69/11/11

FUNCTION: READ EXECUTION TIME
STATUS. USER
DESCRIPTIONS RETURNS THE EXECUTION TIME FOR THE JOB IN A.
REGISTERS AFFECTED: A

DATEI 69/11/23
FUNCTION. READ USER METERING

STATUS: USER
INPUTs A-BUFFER ADDRESS
DESCRIPTION: mE BRS WILL READ INTO CORE SIX WORDS AT THE
LOCATION SPECIFIED BY THE A REGISTER.

iXAMPLE:
TO READ IN mE USER'S RESOURCE METERING
METER

LDA
BRS

=1000B
89

WORDS I II COREt
1ST WORD:

DISC USE

2ND WORDs

SWAP COUNT
TOTAL NUMBER OF CHARACTERS TO AND FROM TERMI NAL

3RD WORD,

4TH WORDI
5TH WORDI

PAGE COUNT
CPU TIME (CLOCK TICKS)
CLOCK TICKS SINCE LOGIN

6n1 WORDa

REGISTERS AFFECTED: HONE

*BRS 90*
DATEs 69/05/13
FUNCTIONI
DECLARE A FORK FOR -ESCAPE"
STATUS,
USER
DESCRIPTION:
IN CASE THE USER TYPES [ESCAPE] .. ntI SIS THE HI CHEST
FORK TO TERMINATE.
I F THIS FORK HAS ARMED INTERRUPT 1 .. THAT
INTERRUPT WILL BE TAKEN INSTEAD OF TEBIIINATIR& THE FORK.
REGISTERS AFFECTEDI
NONE

*BRS 91*
DATEI 69/05/13
FUNCTION.
READ (DATE] AND [TIME] INTO A STRING
STATUS I
USER
INPUT.
A:I BEGINNING STRING POINTER
E = ENDING STRING POINTER
DESCRIPTION:
THE CURBDlT DATE AND TIME ARE APPENDED TO THE
STRING PROVIDED IN A AND B REGISTERS AND THE RESULTING STRING
POINTERS ARE RETURNED IN THE A AND B REGISTERS.
THE CHARACTERS
APPENDED TO THE STRING HAVE THE FORM.

MM/DD HHIMM
MM

= MONTH

DD = DAY
HH

D

HOURS COUNTED FROM 0 TO 24

MM l1li MINUTES
REGISTERS AFFECTED: B
*BRS 96*
DATE: 69/10/30
FUNCTIONs
REPORTS [FILE DIRECTORY] DATA AND [FILE ATTRIBUTES]
STATUS,
USER
INPUT.
A = FILE DIRECTORY POINTER ADDRESS (FROM BRS 15 OR 48)
B = BUFFER ADDRESS
X
WORD COUNT
OUTPUT:
PLACES THE FOLLOWING IN THE BUFFERI
WORD 1 t
GROUP USER NUMBER IN BI TS 0-11

=

GROUP NUMBER IN BITS 12-23
WORDS 2-5: FILE DIRECTORY DATA WORDS
WORDS 6-NI FILE NAME WI m 51 GN BIT ON IN LAST WORD OF NAME.
FILE DIRECTORY DATA WORDS:
WORD 2: OM AAA AAA MY YYY ED: EDD DDD
WORD 31 BCO RHH HHH HHH FFF FFF FFF FFF
WORD 4: GGG TTT 000 OOZ XWV USR QHM LKJ
WORD 51 PPP PPP ppp ppp ppp ppp ppp ppp
A= ACCESS COUNT
B= CHANGED FILE
C= EXTRA CHANGED FILE
D= CREATION DATE, DAY-I
E= CREATION DATE, MONTH-l
F~ SIZE WHERE lc256 WORDS
G= GOOD DISC FILE IF 010, BAD IF 100, INIT FILE DUMMY 000
H= MAPPING CONTROL

J= INIT. FLAG
K= EXEC STATUS
L- SYSTEM STATUS
M= SUBSYSTEM STATUS
N- PROPRIETARY

1
2

4
lOB
20B

p= INDEX BLOCK POINTER

Q= ACCOUNT PUBLIC

40B

R: APPEND ONLY

IB2

ST=
U=
V=
W=
X=
y.

282

NOT PRIVATE WRITE
FILE TYPE (1 TO 4)
NOT PRIVATE READ
RESERVED
PUBLIC WRITE
PUBLIC REMOTE
CREATION DATE, YEAR-1964

Z= PREMIUM CHARGE

qB2
IB3
2B3
4B3
184

SEE BRS 6

*BRS 102*
DATE' 69 /0 5/ 31
FUNCTION:
READ [MAG TAPE]
STATUS,
USER
INPUT:
A= CORE ADDRESS, B- WORD COUNT
X= NUMBER OF RECORDS ( 64)
OUTPUTs ONE WORD AT BEGINNING OF EACH RECORD.

WORD CONTAINS THE WORD COUNT OF THE

RECORD~

THE ADDRESS OF THIS

AND THE OP CODE FIELD

HAS ONE OF THE FLAGS LI STED BELOW.

DESCRIPTION:

ALL THE DATA READ FROM 1HE TAPE AS WELL AS THE STATUS

WORD FOR EACH RECORD MUST FIT IN ONE PAGE.
SEE APPENDIX C FOR MEARIIiSS OF THE VALUES OF THE OP-CODES.
*BRS 103*

DATEI 69/05/31
FUNeTI ON:WRI TE [MAG TAPE]
STATUS a USER
INPUTs
Aa CORE ADDRESS OF DATA IN THE FOLLOWING FORMAT.

CA) COMMUNICATION FROM SYSTEM TO USER.
CA)+1 1ST RECORD WORD COURT
(A)+2 THROUGH CA)+N+l RECORD DATA.
(A)+N+2 NEXT RECORD woaD COUNT.
ETC.
COUNT =0 AFTER LAST RECORD.
OUTPUT,
CA) CONTAINS ADDRESS OF "WORD COUNT" WORD FOR LAST RECORD
THE OP CODE OF CA) CONTAINS ONE OF THE FLAGS LISTED UJiDER

WRITTEN.
BRS 102.

DESCRIPTIONI

ALL THE DATA AND COMMUNICATIONS WORDS MUST BE IN ONE
USER MUST ERASE TAPE AT LOAD POINT AND MAY NOT WI TI:
BEYOND THE REFLECTI VE SPOT EXCEPT FOR END OF FILE MARKS.
PAGE.

REGISTERS AFFECTED:

NONE

DATEs 69/05/13
FUNCTIO)Jt
REPORTS WHO HAS DEVICE
STATUS. USER

OUTPUT I

A:s DEVI CE
X. CHAHlfEL
DESCRIPTIONI
CAN BE USED TO DETERMINE '&HAT W-BUFFER DEVI CE IS
ASSIGNED AND WHAT CHAlOIEL THE USER IS ON \HD IS USING THE DEVICE.
DEVICE NUMBERS ARE O-TAPE 0 .. I-TAPE 1 .. a-PRINTER.
A -1 IN THE A REGISTER MEANS NO DEVICE IS ASSI9IED.
REGISTERS AFFECTED.
A.. X.
*BRS 105*

DATEI 69/05/31

FUNCTIONS [MAG TAPEl CONTROLS
STATUS, USER
INPUTI A= CONTROL NUMBER.
1= WAIT UNTIL TAPE IS READY .. 2= BACKSPACE RECORD
3- FORWARD SPACE FILE.. 4= BACKSPACE FILE
Sa: WRI TE 3 I NCHES OF BLANK TAPE..

6a HEW! ND

7= WRITE END OF FILE.
OUTPUT:
mE OP CODE OF A HAS ONE OF THE FLAGS LISTED UNDER
APPENDIX C.

THE ADDRESS OF A IS DESTROYED.

*BRS 106*
DATEs

69/05/31

PRINT ON [PRINTER]
STATUS. USER

FUNCTION:

INPUTs
As CORE ADDRESS OF DATA IN THE FOLLOWING FORMAT" x- WORD COUNT
COMMUNICATION WORD FROM SYSTDI TO USER. SEE APPENDIX C
CA)+! PAPER CONTROL. NEG FOR SKIP~ POSITIVE FOR UPSPACE.

CA)

CA)+2-CA)+34 ONE LINE OF DATA
CONTROL
ETC.
OUTPUT: CA) CONTAINS ONE OF THE OP CODE FLAGS LISTED UNDER BRS 102.
DESCRIPTIONS ALL DATA AliD COMMUNICATIONS WORDS MUST BE IN ONE PAGE.
ALL LINES MUST BE COMPLETE.
REGISTERS AFFECTEDI
NONE
CA)+35 PAPER

*BRS107*

DATEI 69/05/13
FUNCTIONs
SET [MAG TAPE] [PARITY]
STATUSs
USER

INPUT.

A IS NEG. FOR [BCD] (EVEN PARITY).

A IS POSITIVE FOB BIRARY (ODD PARITY).
DESCRIPTION,
IF THIS SRS IS NOT USED. TAPE WILL BE BEAD IN BINARY.

*BRS 108*
DATEs 69.105/13
FUNCTIONs
TEST [MAG TAPE] [DENSITY]
STATUSI
USER

OUTPUT I

A=O FOR 200
A-I FOR 556
A=2 FOR 800

DATEI 69/05/13
FONCT! ONI
TEST [MAG TAPE] READY
STATUS,
USER
NO SKIP = NOT READY
RETURNS I
SKIP
READY
DESCRIPTION:
TESTS THE TAPE THAT IS ASSI tDED.

=

*BRS 116*
DATEI 69/05/13
FUNCTION,

READ PROGRAM RELABELING

STATUS I
USER
AlB
PROGRAM PSEUDO-RELABELING.
OUTPUT I
DESCRIPTIONs
PUTS THE PROGRAM RELABELING INTO A AND B.
THIS
IS \iRAT THE SYSTEM EXECUTI VE USES AS PR8EiRAM R!1.ABELING.
IT

=

IS KEPT I N mE T5 BLOCK.

REGISTERS AFFECTEDI

AI B

*BRS 11".
DATE: 69/05/13
FORCTIONI
SET PROGRAM RELABELING
STATUS I
USER
INPUT:
AIBr:: THE NEW VALUES FOB THE PROGRAM RELABELING
DESCRIPTION:
SETS THE PROGRAM RELABELING IN THE TS BLOCK AS
SPECIFIED.
USER PROGRAMS SHOULD USE BRS 44 TO SET RELABELING

FOR A FORK.
INSTRUCTION TRAP.
1)
A SPECIFIED RELABELING BYTE WAS NOT ASSIGNED.
2)
A USER FORK TRIED TO RELABEL A SYSTDt BYTE.
nilS IS THE PROGRAM RELABELING TYPED BY THE STATUS COMMAND.
IT
SHOULD CORRESPOND TO THE RELABELING OF THE FIRST NON-SUBSYSTDI
FORK BELOW nlE !XECUTIVE.
IF THE FORK IS RURNING UNDER DDTI
DDT WILL UPDATE THIS RELABELING.
OTHERWISEI IT IS THE RESPONSIBILIT'f OF THE USER.
IT IS PARTICULARLY IMPORTANT THAT THIS
RELABELING BE SET CORRECTLY BEFORE ISSUING A DUMP COMMAND.

REGISTERS AFFECTED:

NONE

DATEs 69/05/13
FtJIICTIOR.
RELEASE SPEClnED [PIIT] DlTRY
STATUSI
USER
INPUTS
A- RELABELING BYTE OF THE PAGE TO BE RELEASED
DESCRIPTION:
RELEASES THE SPECIFIED PAGE FROM THE PMT.
IT IS
~ACTLY LIKE A EmS 4 iXCEPT THAT IT' TAKES A BYTE NtMBEB INSTEAD
OF All ADDHESS.
INSTRUCTION TRAPs
1)
BYTE NOT IN PMT.
2)
A USER FORK TBI ED TO RELEASE A SYSTDI PAGE.
REGISTERS AFFECTED'
RONE

DATEs 69/05/13
FUNCTION:
TO ALLOW mE USER TO I ~ORE LI HE FEED OR CARRI A GE
RETURN WHDJ IT FOLLOWS A CARRIAGE RETURN OB LINE

FEED
STATUSs

USER

DESCRIPTIONs
THE CONTENTS OF niE A REGI STER WILL en VE THE FOLLOWING RESULTS.
IF A IS NEGATIVE, ALL LINE FEEDS AND CARRIAGE
RETURNS RECEIVED FROM THE TELETYPE WILL BE SENT TO THE PROGRAM
AND ECHOED.
I F A is pas! it VE, Ii LX liE FEED AFTER It CAP.R! It GE RETURN RECEI VED FROM 'mE CTELETYPE] WI LL BE I (ltOBED (NOT SENT TO
THE PROGRAM AND NOT ECHOED) AND A CARRIAGE RETURN AFTER A LINE
FEED WILL BE I SNORED CIIOT SENT TO THE PBO(£AM AND NOT ECHOED).
IN ALL CASES THE FIRST LINE FEED OR CARRIAGE RETURN RECEI VED
WILL BE SENT TO THE PROGRAM AND ECHOED PLUS ECHO ITS COMPLIMENT.
USED TO READ PAPER TAPE lIHICH HAS BEEN PUNCHED OFF LIRE.

-I/r...

*BB5 135*

DATEI 69 /05/13
FUNCTION:
INTERRUPTS A FORK AFTER A SPECIFIED PERIOD OF [TIME]
STATUS:
USER
Ar:: THE NEW [INTERRUPT] MASK.
S- THE TIME IN MILLISECONDS AFTER WICH THE FORK WILL BE INTERRUPTED.

x-

5

DESCRIPTIONt THE FORK ISSUING THIS BRS WILL BE INTERRUPTED
AFTER THE DELAY IF IIiTERBUPT HUMBER 5 I S ARMED AT mAT TIME.
t F A FORK Gl VES THI S BRS AGAIN BEFORE THE TIME HAS PASSED" THE
NEW TIME WILL BE SET. ALL FORKS BELOW niE ONE RECEI VING THE
INTERRUPT WILL BE TERMINATED.
SEE ALSO BRS 81.
REGISTERS AFFECTEDI
NORE

*BRS 147*
DATE: 69/05/13
FUMeTION.
[CLOSE] S ALL DeEPT COMMANDS- FROM [FI LEl
STATUS:
USER
REGISTERS AFFECTEDa
NONE

*B115 151*
DATE: 69/05/13
FUNCTION:
CHANGE COMMAlfDS-FBOM FILE
STATUS,
USER
INPUT: A
FILE NUMBER OF COMMANDS-FROM FILE.
DESCRIPTIONI
CLOSES THE COMJllAllDS-FROM FILE' I F ONE IS OPEN AND
SETS THE COMMANDS-FROM FILE TO THE FI,LE SPECI FlED IN A.
REG! STERS AFFECTED:
NONE

=

*RSP*
DATE.

(125)
69/05/13

FUMeTIONt

READ SIZE PARAMETERS: ADDRESS OF HI (HEST LOCATt ON
WITTER .. PHYSICAL SIZL REMAINING FILE SIZE QUANTUM.

STATUS:
USER
CALLING SEQtJmCE:
RSP -FILE NUMBER
OUTPUT:
A1JJ: ADDRESS OF HI (l{EST LOCAT! ON WBI TTEN.

B= TOTAL CURRENT PHYSICAL SIZE.
Xc REMAINING FILE SIZE QUANTUM.

REGISTERS AFFECTED.
*SSP*

ALL

(126)

DATEs 69/05/13
FUNCTION:
SET SIZE PARAMETERS
STATUS:
EXEC
INPUTI
A- SIZE QUANTUM IN CHARACTERS

CALLING SEQtJmCEI SSP -FILE NUMBER
REGISTERS AFFECTED: NONE
*RCP*
DATE:

(131)
69/05/13

FUNCTION:
STATUS:

CALLING
OUTPUT:

READ CURSOR POSITION

USER
SEQUDfCEa

Rep =FILE NtftBER

AI BIT 0=0 I'F FILE IS IN READ MODE
BIT 0=1 IF FILE IS IN WRITE MODE
BITS 1-23=CP
XI BITS 0 .. 9-23 ARE UNCHANGED

BITS 1-S-FILE OPTION MASK OR O.
I S UNCHANGED.

B

*SCP* (132)
DATE:

69/05/13

FUNCTIONs

SET CURSOR POSITION

STATUS. USER
INPUT: A=NEW CURSOR POSITION

SETS FILE TO READ MODE IF SIGN BIT OF A=O
SETS FILE TO WRITE MODE IF SIGN BIT OF A-I.
CALLING SEQUENCE:
SCP =FILE NUMBER
RETURNS:

NO SKIP

= ERROR

AlB ARE UNCHANGED
X . = ERROR NtI!BER.

Xci = CANNOT SET MODE SPECIFIED BY SIGN
X
2 == ARGUMENT OUTSIDE OF FILE RANGE.

BIT

OF A.

1:1

SKI P II: NORMAL RETURN
A.. B~X ARE UNCHANGED. CIO .. WIO .. BIO WILL OPERATE ON UPDATED CP.

*PCE*
DATE I

(133)
69/05/13

FUNCTIONt
STATUS:

POSITIONS CURSOR AND ERASES.
USER

INPUT:

A=NEW CURSOR POSITION

CALLING SEQtJmCE*

RETURNS:

peE

~FILE

NUMBElt

NO SKIP • ERROR

AlB ARE UNCHANGED
X := ERROR NUMBER
X D 1 FILE NOT IN

OUTPUT MODE
X • 2 ERASE PRlVELEGE IS DISABLED
X • 3 A WAS LESS THAN CURRENT CP.
X

4 A GREATER ntAN CURRENT CP.
SKIP • NORMAL RETURN

D

DESCRIPTIONs
DEFINITIONS,

_I

A#B#X ARE UNCHANGED

=

CPl
CURRENT CP.
CP2 = FINAL CP.
FILE CHANGES: ALL CHARACTERS FROM CPt TO CP2-1 ARE SET TO ZERO.
IF A < CPTOP, THEN THE NEW CP D CP2.
I F A GE CPTOP JI mE ERASE I S FROM CP 1 TO CPTOP-l JI niE CP IS POSI TI ONED
TO CPI" CPTOP IS SET TO CPl.
THIS IS THE ONLY WAY TO DECREASE CPTOP •

• eI T* (134)
DATE: 69/05/13
FUNeTION3
CHARACTER I RPUT AND TEST
STATUS,
USER

IRPUT:

A

= CHARACTER

TO BE TESTED

CALLING SEQU'DiCEr
CIT -FILE NUMBER
DESCRIPTION:
THE CHARACTER IN THE A REGISTER IS COMPARED
AGAINST THE NEXT CHARACTER IN mE INPUT FILE.
IF IT CCMPARES"
THE NORMAL RETURN I 5 TAKEN AND TriE CHARACTER IS Rfl!!IO\'TED FROM
mE I NPUT BUFFER.
I FIT DOES NOT COMPARE" THE CHARACTER IS
LEFT I N THE I NPUT BUFFER AND I S RETURNED INA.
EXCEPTION RETURDU
A - THE NEXT CHARACTER I N THE INPUT

BUFFER.
S "X

NORMAL RETURN:
REGISTERS AFFECTED:
*WCD*

-

A -

NO CHANGE.

THE CHARACTER SUPPLI ED REMAI NS
IN A (THE CHARACTER IS REMOVED
FROM THE I NPUT BUFFER).

A

( 135)

DATE: 69/05/13
FURCTION:
WI TE CHARACTER AND DECREMENT
STATUS,
USER

CALLING SEQUENCES

WCD

P

P=ADDRESS OF A STRING POINTER PAIR
DESCRIPTIONI
THIS SYSPOP WRITES THE CHARACTER IN THE A REGISTER ON ntE BEGINNING OF mE STRING AND DECREMENTS mE BEGINNING
STRING POINTER.
REGISTERS AFFECTED:
B

*GCD*

(137)

DATEs

69/05/13
GET CHARACTER AND DECREMENT
STATUS:
USER
CALLING SEQUFNCEt
GCD
P
EXCEPTION RETURN

FUNCTIONs

NORMAL RETURN
P a ADDRESS OF A STRING POINTER PAIR.
DESCRIPTIONS
A SeD IS, IN EVERY WAY, SIMILAR TO Gel EXCEPT
1HAT THAT niE CHARACTER IS TAKEN FROM THE END OF THE SPECI FI ED

STRING.
THE LAST CHARACTER ON THE STRING IS LOADED IN THE A REGISTER,

THE END STRING POINTER IS DECRDtENTED SO THAT IT POINTS TO mE
PREVIOUS CHARACTER IN THE STRING.
CONTROL IS TRANSFERRED TO
mE EXCEPTION RETURN I F THE END POINTER IS NOT EREATER THAN
mE BEGINNING POINTER BEFORE IT IS DECREMENTED.
REGISTERS AFFECTED:
A,B

*1 SC*

(140)

DATEt 69/05/13
FlIiCTIONI
CONVERTS INTERNAL NUMBERS TO FORMATTED OUTPUT STRINGS
STATUSI
USER
CALLING SEQUENCEs

LDP

M

LDX

FORMAT
POINTER

I SC

FORMAT DESCIBES THE TYPE OF CONVERSION TO BE
POINT TO THE
CHARACTER IMMEDIATELY PRECEDING THE CHARACTER STRING. POINTER+l
POINTER+l CONTAINS THE CHARACTER ADDRESS OF mE CHARACTER
IMMEDIATELY PRECEDING THE POSITION WHERE THE FIRST
CHARACTER OF OUTPUT IS TO 00. M"M+l CONTAIN THE FLOATING POINT
DESCRIPTIONz

DONE. (APPENDIX E). THE CONTENTS OF THE POINTER

WORD TO BE

CONV~TED.

POINTER+l IS

INCREM~JTED

ONCE FOR

L~CH

CHARACTER ADDED TO mE STRING.
REGISTERS AFFECtEDI
A8 B, X

(141)

*SIC*

DATE: 69/05/13
FUNCTIONs
STRING TO INTERNAL CONVERSION
STATUS:
USER
CALLING SEQUENCE: LDX
FORMAT
SIC POINTER
SHU INTEGER
SHU FLOATING
DESCRIPTION: FORMAT DESCRIBES THE TYPE OF CONVERSION TO BE
DONE. (SEE APPENDIX E FOR DESCRIPTION OF FORMAT WORD)
mE CONTENTS OF POINTER POINT TO THE CHARACTER IMMEDIATELY PRE-

CEDING mE CHARACTER STRING. POINTER+1 CONTAINS THE CHARACTER
ADDRESS OF THE LAST CHARACTER OF THE STRING.
INTEGER AND FLOATING ARE ROUTINES THAT HANDLE THE CONVERTED INPUT.
ERROR FLAGS, IF APPLICABLE, ARE IN THE INDEX REGISTER.
A
DOUBLE WORD VALUE CORRESPONDING TO THE STRING IS IN A"B UPON
RETURN.
REGISTERS AFFECTEDI

A, B" X

*FDV* (153)
DATE:

69/05/13
FLOATING POINT

FUNCTION:
STATUS:

USER

CALLING SEQUENCE:

FDV

M

DIVIDE

DESCRIPTION:
(A,B)/(M,M+l)
mE CONTENTS OF THE A AND B REGISTERS ARE DIVIDED (PLOATIN6
DIVIDE) BY mE CONTmTS OF KDORY LOCATIOJlS M AND 11+1 WIni
11IE QUOTIENT LEFT IN THE A AliD B REGISTERS.
REGISTERS AFFECTEDI
A, B

*FMP* (154)
DATEI 69/05/13
FUNCTION:
FLOATING POINT MULTIPLICATIOM
STATUSt
USER
CALLING SEQUENCE:
FMP
It
DESCRIPTIONI
(A,B)$(M,M+l)
THE CONTENTS OF MDJOHY LOCATIONS M AND M+l ABE MULTIPLIED
CF1...0ATING MULTIPLICATION) BY ntE A AND B REGISTERS AND THE
RESUL T5 LEFT I N THE A AND B REGI STERS.

REGISTERS AFFECTED,

A, B

*FSB* (155)

DATES 69.105/13
FUNCTION:
FLOATING POINT SUBTRACTION
STATUS:
USER
CALLING SEQUENCE:
FSB
M

DESCRIPTION:

(A,B) - (M,M+l)

mE CORTENTS OF MEMORY LOCATIORS M AMD M+l ARE SUBTRACTED
(n.OATING SUBTRACTION) FROM THE CONTENTS OF THE A AND B REGI STERS.
mE RESULTS ARE LEFT IN THE A AND B REG! STERS.
REGISTERS AFFECTED: A, B
*FAD*· ( 156)
DATE: 69/05/13
FUNCTION:
FLOATING

POINT ADDITION
STATUS: USER
CALLING SEQUENCE: FAD
M
DESCRIPTION: (A#B)+(M~M+l)

A n.OATING ADDITION IS PERFORMED TO mE CONTENTS OF MEMORY LOCATION M AND M+l AND THE A AliD B REGISTERS.
THE RESULTS ARE
LEFT IN THE A AND B REGISTERS.

REGISTERS AFFECTED.

A~

B

*WCI* (157)
DATEs 691'05/13
FUNCTIONs
WRITE CHARACTER AND INCRDlDlT

STATUS:

USER

CALLING SEQUENCE: weI
P
P • ADDRESS OF STRING POINTER PAIR
DESCRIPTION:
weI WRITES THE CHARACTER IN THE A REGISTER ON THE
END OF THE STRING ADDRESSED BY nlE END STRING POINTER.
nlE END
5THI NG POINTER I S I NCREMENTED BY ONE.
REGISTERS AFFECTED:
B

$WIO* (160)

DATE' 69 /05/13
FUNCTIONt
WORD INPUT/OUTPUT
STATUS,
USER
INPUT:
A. WORD TO OUTPUT
CALLING SEQUENCE: WIO. FILE NUMBER
DESCRIPTIONI
WIO IS USED TO INPUT OR OUTPUT A WORD OF DATA. TO
OR FROM THE A REGISTER.
ON INPUT AN DiD OF FILE CONDITION RETURNS A WORD OF THREE 137 OCTAL CHARACTER$ AND SETS BITS 0 AND 7 IN
TIiE FI LE NUMBER WORD.
IF 1 NTERBUPT 4 I S ARMED.. I TWILL OCCUR.
IF AN END OF FILE CONDITION OCCURS WITH A PARTIALLY FILLED OUT
VORDI mE WORD I S COMPLETED WI TH 137 OCTAL CHARACTERS.
I F AN ERROR
OCCURS" BITS 0 AND 6 ARE SET IN N.
I F INTERRUPT" I 5 ARMED IT
WILL OCCUR.
CIa AND WIO SHOULD NOT BE MIXED TO READ OR WRITE A GIVEN FILE.
REGI STERS AFFECTEDI
A.

*CIO*

(161)

DATE: 69/05/13
FUNCTIONs
CHARACTER INPUT/OUTPUT
STATUS:
USER
INPUTS
A-S BI T CHARACTER RI (J{T JUSTI FI ED.
(OUTPUT ONLY)
CALLI NG SEQUENCE:
eIO =FI LE NUMBER
DESCRIPTIONs
CIO IS USED TO INPUT O.R OUTPUT A SINCLE CHARACTER
FROM, OR TO .. A FILE FROM mE A REGISTER. ON INPUT AN END OF
FI LE CONDI TI ON WI LL SET 81 TS 0 AND 1 I Ii mE FI LE NlMBER AND RETURN A i 37 OCTAL C'"riARACTE.R. I F I NTERRL"T 4 I S ARMED (SEE BRS
I T WI LL OCCUR. THE END OF 1'"1 LE CONDI Tl ON OCCURS ON TH E NEXT
INPUT OPERATION AFTER THE LAST CHARACTER OF THE FILE.
I F AN
ERROR OCCURSI Bl TS 0 AND 6 WILL BE SET IN THE Fl LE NlMBER AND
INTERRUPT 4 WILL OCCUR IF IT IS ARMED.

WIG AND BIO SHOULD NOT BE MIXED WITH CIO TO READ OR iBITE A
GIVEN FILE.
REGISTERS AFFECTEDs
A
*SKSS* (162)

DATEI 69 /05/ 13
FUNCTION:

SKIP ON STRING GREATER

STATUS:
USER
CALLING SEQUEl'JCEt

LDA

B

LDB
SKSG

E
A

EXCEPTION RETURN
NORMAL RETURN
B • BEGINNING STRING POINTER
E = DID STRING POINTER
A • ADDRESS OF A STRING POINTER PAIR
DESCRIPTIONs
THIS SYSPOP COMPARES THE STRING INDICATED BY A
AND B REGISTERS WITH THE STRING INDICATED BY A OF THE CALLING
SEQUENCE.. CHARACTER BY CHARACTER AND TERMINATES WI TH THE FIRST
UNEQUAL CHARACTER.
THE NUMERICAL INTERNAL CODE REPRESENTATION

OF CHARACTERS IS USED TO DETERMINE INEQUALITY.
IF nlE STRINGS
ARE EQUAL FOR THE EllTIRE LENGTH OF THE SHORTER ONE .. THE LONGER
ONE IS INDICATED AS GREATER.
IF THE CONTENTS OF THE STRING ADDRESSED BY mE A AND B REGISTERS IS GREATER mAN THE CONTENTS

OF THE STRING ADDRESSED BY A~ CONTROL WILL BE TRANSFERRED TO
THE NORMAL RETURN.
OTHERWISE, CONTROL IS TRANSFERRED TO nIE
EXCEPTION RETURN.
REGISTERS AFFECTED: NONE

*SKSE*

( 163)

DATEI69/05/13
FUNCTIONl SKIP ON STRING EQUAL
STATUS:
USER
CALLING SEQUD1CEI
LDA'
B

LDB

E

SKSE A
EXCEPTION RETURN

NORMAL RETURN
A

ADDRESS OF A STRING POINTER PAIR
B = BEGINNING STRING POINTER
E
END STRING POINTER
DESCRIPTION:
IF THE STRINe ADDRESSED BY THE POINTERS IN THE A
AND B REGISTERS IS IDENTICAL WITH THE STRING ADDRESSED BY A OF
TIlE CALLING SEQUENCE~ CONTROL WILL BE TRANSFERRED TO THE NORMAL
RETURN.
OTHERWISE. CONTROL WILL BE TRANSFERRED TO THE EXCEPTION RETURN.
IF THE STRINGS ARE OF DIFFERENT LENGllIS OR HAVE
Dl FFERmT CONT!lIJTS.. CONTROL WILL BE TRANSFERRED TO THE EXCEPTIOM RETURN.
REGISTERS AFFECTED:
NONE
a

=

DATE: 69/11/11
FUMeTIONa
WI TE CHARACTER
STATUS:
USER
CALLING SEQUENCE.;
LDA C
WCH
T
C = A CHARACTER RI a1T-JUSTI :n ED I N THE A REG! STER.
T = THE ADDRESS OF A THREE WRD TABLE.
THE TABLE

IS AS FOLLOy/51

WORD 0 = A CHARACTER ADDRESS
WORD 1 = A CHARACTER ADDRESS
WORD 2 • A TRANSFER ADDRESS

DESCRIPTION.
THIS SYSPOP TRIES TO WRITE A CHARACTER INTO THE
AREA DEFINED B'( mE CHARACTER ADDRESSES IN THE TABLE.
PRom DED
THAT 1HE FIRST ADDRESS IS NOT ONE LESS THAN mE SECOND
ADDRESS .. WCH WILL WRITE THE CHARACTER IN THE A REGISTER INTO
THE CHARACTER POSITION INDICATED BY THE FIRST CHARACTER ADDRESS
PLUS ONE AND WILL INCR:E)IIENT THE FIRST CHARACTER ADDRESS IN THE
TABLE. OTHER WI SE THE CHARACTER
IS NOT WRITTDI AND CONTROL IS TRANSFERRED TO THE TRANSFER ADDRESS
SPECIFIED IN THE TABLE.
OF THE WCB IN mE B REGISTER.
THE ADDRESS IN THE THIRD WORD
OF THE TABLE CAN BE AN ~I T TO A ROUTI ME lIII CH ALLOCATES MORE
M~ORY OR GARBAGE COLLECTS THE R~AINING CHARACTERS.
IN El THER CASE mE LEFT 16 BI TS OF A ARE SET TO ZERO.
REGISTERS AFFECTED:
A~B

*GCl* (165)

DA TEl 69/05/1 3
FUNCTION:
GET CHARACTER AND INCRDlENT

STATUSI
CALLING

USER
SEQ~CEI

Gel
A
EXCEPTlON RETURH
NOBMAL RETURN
A III ADDRESS OF A STRING POINTFli PAIR
DESCRIPTIONs
nilS SYSPOP READS INTO ntE A REGISTER mE FIRST
CHARACTER FROM THE STRING INDICATED BY' THE BEGINNING STRING
POINTER GI VEN IN TIiE CALLING SEQUENCE.
I F THE STRING IS NULL
OR EMPTY .. NOniING IS DONE AND CONTROL IS TRANSFmRED TO TIlE
D{CEPTION RETURN.
IF mE STRING IS NOT HULL ITS FIRST CHARACTER I S LOADED I NTO THE A RESI STm HI tET-JUST! FI ED.. AND THE
BEGINNING STRING POINTER IS INCRFJIIENTED BY ONE so mAT THE
BEGINNING STRING POINTER NOW POINTS TO THE STRING WITH THE
FI RST CHARACTER DELETED.
CONTROL I S TRANSFERRED TO THE NORMAL
RETURN.
UNLESS A COpy OF THE ORI GINAL POINTER IS SAVED.. THE
CONTENTS OF THE STRING ARE EFFECTI VELY DESTROYED.
REGISTERS AFFECTED:
A
*LDP* (166)
DATE: 69/05/13
FUNCTION:
LOAD POINTERS
STATUS: USER

CALLING SEQu~CEi
A = ADDRESS OF A STRING POINTER PAIR
DESCRIPTION: THIS SYSPOP LOADS THE STRING POINTERS INDICATED
IN THE CALLING SEQUENCE INTO THE A AND B REGISTERS.
REGISTERS AFFECTED:
NONE
*STP* (167)
DATE: 69/05/13

FUNCTION:
STATUS:

STORE POINTERS
USER

CALLING SEQUENCE: STP A
A = ADDRESS OF A STRING POINTER PAIR

DESCRIPTION:
THIS SYSPOP IS GENERALLY USED IN CONJUNCTION WITH
IT STORES THE CONTENTS OF mE A AND B REGISTERS INTO THE
STRING POINTERS INDICATED IN THE CALLING SEQUENCE.
REGISTERS AFFECTED: NONE

LDP.

*SBRM*
DATEs

(170)
69/05/13

FUNCTION:

STATUS:

EXECUTES A BRM INDIRECT

USER

CALLING SEQUENCEs

SBRM

A

DESCRIPTION:
LOC.

A

INSTR.

ZRO

ADDRESS

B

mE LOCATION OF THE SBRM INSTRUCTION IS STORED IN B AND CONTROL
IS TRANSFERRED TO LOCATION A+l.
REGISTERS AFFECTED:
NONE

-r8-

*TCI* (174)
DATE: 69/05/13
FUNCTIONs
TELETYPE CHARACTER INPUT

STATUSt

USER

SEQUENCE. TCI M
M • MEMORY LOCATION

CALLING

DESCRIPTIONs

THIS SYSPOP READS mE

CHARACTER

FROM THE TELETYPE

INPUT BUFFER AND PLACES IT INTO THE LOCATION)II RIQ{T JUSTIFIED.
THE REMAINDER OF LOCATlON MIS CLEARED.
mE CHARACTER I S ALSO
RIGHT JUSTIFIED.

PLACED IN THE A REGISTER
REGISTERS AFFECTEDs
A
*TCO*

( 175)

DATE: 69/05/13
FUNCTION:
TELETYPE CHARACTER OUTPUT
STATUS.
USER
CALLING SEQUENCEs
M

Teo

M = MEMORY ADDRESS
DESCRIPTION:
THIS SYSPOP OUTPUTS THE CHARACTER FROM THE Rl GiTMOST EX SiT BITS OF LOCATION M TO THE CONTROLLING TELETYPE.
IN
ADDITION TO THE ORDINARY ASCII CHARACTERS. ALL TELETYPE OUTPUT
OPERATIONS WILL ACCEPT 135 OCTAL AS A MULTIPLE BLANK CHARACTER.

NEXT CHARACTER WILL BE TAKEN AS A BLAh'1( COt,i'NT ..
NUMBER OF BLANKS WILL BE TYPED.
REGISTERS AFFECTED:
NONE
*BIO*

~~D

THE INDICATED

(176)

DATEs 69/05/13
FONCTION:
BLOCKED INPUT IOUTPUT
STATUSt
USER
INPUTs
A
NtJwIBER OF WORDS TO BE BEAD OR WI TTEN.
X = STARTING MEMORY ADDRESS.
CALLING SEQUENCE:
BIO = FILE NUMBER

=

EXCEPTION RETURN
NORMAL RETURN

OUTPUT.

A. FIRST MEMORY
OF OPERATION.

LOCATION NOT

READ

INTO

OR OUT OF

AT

END

DESCRIPTION:
BIO IS USED TO INPUT A BLOCK OF WORDS TO MEMORY
OR OUTPUT A BLOCK OF WORDS FROM MEMORY.
THE A REGI STER WI LL
CONTAIN THE FIRST MEMORY LOCATION NOT READ INTO OR OUT OF AT
THE END OF THE OPERATION.
I F THE OPERATION I S COMPLETED SUCCESSFULLYI CONTROL WILL BE TRANSFERRED TO THE NORMAL RETURN;
OTIiERWISE, CONTROL WILL BE TRANSFERRED TO mE :EXCEPTION RETURN.
ON INPUT AN END OF FILE CONDITION WILL SET BITS 0 AND 7 IN THE
FILE NUMBER.
AN ERROR WILL SET BITS 0 AND 6.
INTERRUPT II WILL
OCCUR I FARMED WHFl9 ANY OF THESE BI TS ARE SET.
EXCEPTION CONDITIONS ARE:
1. END OF FILE
2.
BAD DATA
REGISTERS AFFECTED:

A

.,11-

THE

SECTION 5.0
*SRS 1*
DATEI 69/051'13
FUNCTION:
OPEN A FILE
STATUS,
EXEC
INPUTI
A= X BLOCK ADDRESS DIVIDED BY "
B ~ PRIVELEGE BITS FOR RANDOM FILES.
BIT 18= USER MAY EFFECTIVELY EXECUTE SCP SYSPOP
BIT 19= 0
BIT 20= 0
BIT 21= USili MAY ERASE INFORMATION (MAY EXECUTE PCE).
BIT 22= USER MAY SET A FILE TO WRITE MODE.
BIT 23- USER MAY SET A FILE TO READ MODE.
OUTPUTs A= FI LE NUMBER

X= X BLOCK ADDRESS DIVIDED BY 4 OR ERROR NUMBER.
RETURNS.

SKIP •

NORMAL RETURN

NO SKIP = ERROR RETURN.
ERROR NUMBERS ARE 1- FI LE BUSY
2= TOO MANY FI LES OPEN
3= BIT MAP NOT SET
4= FILE ERROR
DESCRIPTION:
A FILE MAY BE OPENED FOR INPUT ANY NlJItBER OF TIMES.
A FILE mAT I S OPEN CANNOT BE OPENED FOR OUTPUT AND A FILE THAT IS
OPEN FOR OUTPtrr CANNOT BE OPENED AGAIN.

REGISTERS AFFECTED. AIX

MTEI 69/05/13
FUNCTIONs
CLOSE A FILE
STATUSt
EXEC
INPUT:
A= FILE Nt.MBER
DESCRIPTIONa
THE "CLOSE FILE" BRS ISUSED TO INDICATE TO THE SYSTEM
ALL PROCESSING IS COMPLETED ON nilS FILE.
ALL NECESSARY TERMINATION
PROCESSING WILL BE COMPLETED AND CONTROL WILL BE TRANSFERRED TO
ntE NORMAL RETURN.
SEE ALSO BRS'S 1# 81 17# 20 AND 147
REGISTERS AFFECTEDI NONE

DATE: 69/05/13
FUNCTION:
READ TABLE
STATUS:
SUBSYSTEM
INPUT:
A= CORE ADDRESS

X= TABLENtMBER
OUTPUT:

A= ADDRESS OF FIRST WORD BEYOND

TABLES.

o

MISCELLANEOUS COUNTERS

1
2
3

RAD ERROR LIST -20 WORDS
DISC ERROR LIST -10 WORDS
QTIGO -32 WORDS

REGISTERS AFFECTED.

NONE

*BRS 8*

.. rr--

TABLE IN USERS CORE.

DATEs 69 /05/13
FUNCTION:
STATUS:

CLOSE ALL FILES
EXEC

REGISTERS AFFECTEDI

NONE

DATEs 69/05/13
FUNCTION: PREVENTS FORK FROM TERMINATING ON QUANTUM OVERFLOW
STATUS:
EXEC
REGISTERS AFFECTED: MORE

DATEs 69/05/13

FUNCTIONs ALLOWS FORK TO TERMINATE ON QUANTUM OVERFLOW
STATUS: EXEC
DESCRIPTIONa ALLOWS THE MONITOR TO TERMINATE THE CALLING FORK
ON QUANTUM OVERFLOW. IT IS USED TO RESET BRS 22.
REGISTERS AFFECTED: NONE

DATEs

69 /0 5/13

FUNCTION:
STATUS,

GRAB BIT MAP BIT
EXEC

INPUT: A= DISC ADDRESS
RETURNS: NO SKIP-BIT USED OR OUT OF BOUNDS. SKIP-NORMAL RETURN
DESCRIPTIONs TURNS OFF ONE BIT IN THE BIT MAP.
REGISTERS AFFECTED: NONE
*BRS 26*
DATE:

69/05/13

FUNCTION:
STATUS:

SKIP IF ESCAPE WAITING
E
Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.3
Linearized                      : No
XMP Toolkit                     : Adobe XMP Core 4.2.1-c043 52.372728, 2009/01/18-15:56:37
Create Date                     : 2012:12:03 09:16:55-08:00
Modify Date                     : 2012:12:03 09:03:02-08:00
Metadata Date                   : 2012:12:03 09:03:02-08:00
Producer                        : Adobe Acrobat 9.52 Paper Capture Plug-in
Format                          : application/pdf
Document ID                     : uuid:55e7c26b-c840-4e9d-9d71-4f44f8efcf08
Instance ID                     : uuid:da8ae479-3f1a-4755-960b-cd357ce6a0d0
Page Layout                     : SinglePage
Page Mode                       : UseNone
Page Count                      : 72
EXIF Metadata provided by EXIF.tools

Navigation menu