• Aucun résultat trouvé

M U LTJ PLEX£ R

Dans le document 6/? 77/ (Page 49-91)

r

() ~)"'

J!:

f' \iT

i

1>fl 11'1 A";b V"->IT ~

1Znnoll& Cl\NCa oR. )(. -ofT B IT

IN XS~T

NO ,

-L-F')

Rue, our

,

No ,

"'Ese, il U F FI 'IZ:

PTR -10 BI% IN- I

~ SUFFq?j

I

$ PAC.f

Sf)

#3\2 ... r----..;". No

scr

(Ootl.M.UN1C-Ail 0 tJS f\..A

b

~t:\ C f~AI<') AbJ:; IN

STA,,-, AN\:>

S\l:'/ I"" ~IIS

SEND CHANNll FI'bCe~cll,j

&-A-r

/ ' jOiVr::, 0 F ~Jo

BVf-Ft-~/

? /

~~c~

lC~A~"C

PTTZ· TV 5E.{; I '" fv'\1V if

I

of e~j;.l>R..

I

_.--1

I

-rtf

bL

(lll:F~~--'-~~~(

\ DUA1

'S f

T-~..JO""N~ 'J tv ~ C , • ..".,...._ ....

NO

SNDOF OUT)'L'f

? R>"c.. E,";,-:J IN

G-RE<,;EI A L-L- pr~

10 BEf.-INNll\lfj OF Ust.1t!s BU

'fES COo-lFI';: u~H'O

51. SE'r

<

No

-Bx s.\o~

SMCt>

RE:G-I£.IC~

~I'JA I) LE MV)l

I NTE.-~vPiS.

,~

MP\''J -~

SCHEbULE~

c...\C-

T"N1CY<..RVF'

. - - - -

...

-SETUP C:Ob£

SIET

u-r

~O. of PORTS

r

\SOLAn:

USER..

S"t""R"TU S

/ /

/

, DYr-)AMIC- :r~STR..Vc..-n ()tJ

" SET

r&,

fK 0 I-lES. loG

IC-e

~

,-_/

, I

-No

kOf>

-.- '" 'T,I"'\,"', g,"!,"

SET?

REmovE LINE

])"'>

rO

UT AN1=>

/tJJ>u. ~.\ll.lf-\G'­

lJfl.A'lvN 8'.5

.'.!" __ TT 'i _TA~~

SPL/

l?o,.OVE

\1A"'';' v<;t:

Up fi,1!

2

\

)

IBRAP-y

1-' R06-RJ\lr, IN~~II!II!

VSEo:

3

'3"'T SI"n)S:

Tb FOKc...£):

bl~NtJl.~!J

~I<.r

COm.rnUf'.JI ('.An otJ

tIT (IV,'PUfV\)

REn\OVf: LoG-T,m 'N fr A~J)

LJNE: DK.ot'oV'l btr-S

SlCI PHONE

b,,:,--Cv"'t.)~c:rEtJ ANI)

.. PUT ~E; ~I

6~T urv \. :.ti

ANt:) D.ATA

TEl't1\'1 (N A L Rn\by OFF

- - , - _ /

I i PtN1) ""'t>D ,.., I

t:> A TI\ \ClCrY\ I f\j 1'1 L i Ra>,t)y Orr

-ANY~"

~ C 6 M rYHJN I ('.ATl Ot-J

ft'<'-.DM MU)C.

?

R(011..H<_N

rr,

I F EX e C.U'A 13.LE

f(U)6

(<'.IV, \

\~ C.e>R.E.

-n< A r--.J!; Fa::

TO

l'~&f(.f\M

S<...T RES.-\1~WT

>--"'111 A-bn R /IV 1"r<0 b--R. A 1'1

5,/\ I t . At:"R

S"fC/ T)~

>-'c.;;....;;;~ F"lFJ G- +-0 r <. !

I LLO c:..t: IN b-- ' !

L - - - '

,. ,

',,---,'

-'

TTy

TDLE

?

~~[T~

f:.L~nAri'J

f\ l' r> ~ (1::<,..

SroT f'f<.10R-1-ry

AI-JD

~~'lflUS

J

'OI""S~T E/2- ltv QUE-LiE"

PR.f?AKl fOR oVTPvr

of

L-F-OUiPUT

YES

I !

/

e

S'c..H I o )"-l G.,Vc:uC /IJS(ltT

y

No

y£5

5rr FT(<- Tb

-l

\~CHAIi'~

~f N£)(I

Su

s~

uP

r-OI~

..

lEX (; uJ'n. oJ.,.) 0 F

11\ PC f-~o

t-~Olfl (I~E

o

ClEAR TAP£.

ERRoR. SIT

-~;

G{> TO

COMI'A.i\Nj) UJcesso~

"- . /

g

~---'IIIf-..---, 'YF~]!J:

~~T Pt<.IO'j<ITY

TO 2

N~ bOt-JE

?

.

. /

SCKZO'

I

Sw,w~

'SA,VE iFlBu:: '){

vt; 0..;:.,

I lUI T 11'\ I~ CtJ r< F , 0 t:>ISC. 11</' I J::r1::: FC

s WPj Pc

-

/0

1ti[7(;

~.

I~

£.s Nt'll1\)

'PRo.:; .~

"-10

"-,

~e,~

PR06 IN

C()~V

N(l

?

ser 'AJ'PLJ'I

COrv FIG. ... ~AIlON

Btl

n.

REM(N6··~

1f0f'vT

f1~WU)1

81T

Gt?T

-I

!<.reE've PI" p.hr~n

12-G~T VSl10;

HFLA'-- B

('Ht\~(-'L .

i

LIN \L WOr~D I

. ___ 1 __

e2;J~~ E

-.Z>/:Se A2>.2J£,zs.:.; /-oR#~r I

(

~"'R FI?/L>y-- / //x',.£2;) = /

?L/177.-FR

S ( 9 M

.o/''''!jJ ~ lSi J r sr-) J

,Uo,'

J

Nt/M!31(1(

/5

/y

/3 1.2 1/ 10

Y

;&'

7 6 ) Y

.3 .2 I 6

_ / AlTER /V,4L /'.c;R'#,?T

CJ~ LZ:> ~t!)J)e c0/V /"7:>

TftgLV

---~

-3 .J) /9-,7-5

/ / 0 0 /

-v--f'?~jD ==

~

/77"?

I

/

, I

/o::;.g

I

g'

p ,

,

I

,

5'4-'

I

L17

F'

I ,

, I

sZ:-7"7

'g'

rP

I

~oR ,.y,61 r

.t!),F

l

syS;-E/V ..D/.5C r

I

I

#tJ,bI.,':l·'

~~

-Cl'~k';€ .:;::~( 1'-,7,.Y' ~::Y/

~-~----, .. ----.-

,-~-.---,

/

2..000£

1\., ,.."

/ IllJ)../ TCN8!JCE ~?ECI F} CflT/OJj,<;:

/ / £/1.' /F j,'.'£ /i" ;r 4" /l tI £.5 .,.c c;e T /':7' [

--J?;> /R

E Co /-c.~ R

/,,4

r~ d.5,".O r7,1f" /.:.J!:)

L'c#

7---~-.----~ .. -.

--

--'--!/r'"'~~:::' // ~/ ~'::c'f _ ( ~~~.,

_~ /,./ ... " /.'-!- I /;-'1 . , '

. ,; /:;>': ",.,,; A~ /";:: ",IF ;'V' ,../1 z:, r ,"- /'/ILf .e / /' ":::~7-Y /v{)/,''':''::

:~ ,',I.' ,

kILl:.:

Contents

TELETYPE TABLES--- 9 EQUIPMENT TABLE--- 12 CORE MAP---

14

DISC ORGANIZATION---

15

SCHEDULING---

17

COMMUNICATION BETWEEN SYSTEM

MODULES---DISC DRIVER--- 20 I/O PROCESSOR DRIVERS--- 22 SYSTEM CONSOLE DRIVER--- 25 INPUT AND TERMINATION REQUESTS--- 26 SYSTEM FLOWCHARTS--- 27 SYSTEM LIBRARY ROUTINES--- 51 SYSTEM LIBRARY FLOWCHARTS--- 98

I/O PROCESSOR PROGRAM---MULTIPLEXOR --- 134

INPUT PROCESSING SECTION--- 135

SETIN---·--- 136

ABORT PROCESSING SECTION---

137

INPUT PROCESSING SECTION--- 138

LADDR

SECTION---~---

139

MPXIO SECTION--- 140

PHONES TIMING---

141

INITIALIZATION--- 142 POWER FAIL AND RECOVERY--- 142 TELETYPE TABLES--- 143 HARDWARE CONFIGURATION--- 148 PROCESSOR INTERCONNECT--- 149 TWO PROCESSOR POWER FAIL CHARACTERISTICS--- 152 I/O PROCESSOR CORE

MAP---~---

155 I/O PROCESSOR FLOWCHARTS--- 156 LOADER--- 164 LOADER FLOWCHART--- 165

BASIC---SYNTAX--- 171 COMPILATION--- 171 VALUE--- 172 DECOMPILATION--- 173

FR~ST---

1/3

EXECUTION--- 173 ERROR ROUTINES--- 182 CORE MAPS--- 123 INTERNAL REPRESENTATION--- 186 VARIABLE STORAGE ALLOCATION--- 191 FILE TABLE ENTRY--- 193 FILE CONTENTS--- 193 RUN-TIME STACKS---

19L:

LANGUAGE PROCESSOR TABLES--- 196

BASIC FLOWCHARTS--- 197

BASIC SyNTAX--- 221

L/O

1..

o;-)J;>C/?

1/0

10

1/- IA

13

)4

15-

I G )7

1

fJTRODUCT ION

DISC.

HI>

DE' /]/"

_ ... f~'-C

79aO/l OPt iI.' ICJ

-r "

R I (

Phi

0 T 0 J:'[:',J7 J eX:

)S g /7C}( /,',/,c,

ur

H? l.2q;;.o

/j.sYIICi/!?(N./OV,; /'i'(/l7i1'!{/.:

C otVT/? OL

2000B TIME SHARED BASIC TABLES

DIREC contains information on the directory itself.

WORD

-" ~

',-II.

- - - -

lJNW£K---rou t i nes--that--these--trackshave -spec ia 1-- -s i g" ~ f-icance-~

At the end of the ADT is one additional entry having the form:

c:J

r

//':;,1: .-i' ::, _-:: /3 e, _c,-If' C;[~'-'U , _ ... -_.".,._' --.~-:....-'-.----~-.,----~.-.,-- '''.

"

,.

-'"

. .

-.---.-....---- -.

/,~' ~.;"""".

-- )\

I "'" "'

.

r~ ,'-(16

,.:.J .

,.2

'j;/

s: ~. ( " j ( / ~:'

:-~ :-~ 'l'" ~ /.2~::- (3 fJ7-p..--/!/o'/

2j

S)

---

...

__

. -... ----. ,_.-

---/S3t

.'f-tv ,,~/ .• /.;: ~', ~N~L

".2)u#,M.

V-/

r---,

I T

!l/i(f/(:;.

..?y $/..'~?C~S -~ !

=-..2y"

/.2-

~;- J;i/~d h~/(~w

/2";

y-=

IV. FUSS

The FUSS table is a J;2.~ ~ word table which resides on the disc. Its disc address can be obtained by the instruction.

LOA FUSS, 1

16

g

FUSS is divided into ~ sections of ~ words each.

/1»D J')u:. U,VC-T"':'

in each section are the disc addresses~of the user files

S"

The ~ vJOr'ds currsntly being accessed by the user corresponding to that table. Addresses of 0 indicate

BIT IS; OF I? FILE LEN': ,f) !A./cX'D

no file. ei-sc addresses ~1itA bit 7="t indicatesthat the user has read only access.

The purpose of maintaining this table is to:

1.) Prevent simultaneous write access by two users to one file;

2.) Prevent KILLing a file when some user has access to it.

A user's FUSS (i .e. his area of the FUSS table) is set by the FILES routine, which is called from BASIC at the beginning of execution of a program containing a FILES statement. It is cleared by BYE, HELLO, KILLIO, and sometimes by KILL.

6

v.

COMTABLE executed immediately by the system

codes for commands which.are executed by

VI. LOGGR

3::<

LOGGR is a -61i-word queue \</hich contains codes for printing

LOGON/OFF messages. Entries are placed on the queue by HELLO,BYE, and SLEEP. Each entry consists of 2 words, with the following format:

WORD

0:

1 :

user id (BIT 15=0 for ON, 1 for OFF) bits 15-5 = 60 x hrs + mins

bits 4-0 = termlnal number

The representation of a user id is as follows:

BITS 14-10 = letter (A = I, B = 2, •.. , Z:= 328) BITS 9-0 number (0-999)

The following variables are relevant:

LOGeT = # of unprocessed entries in LOGGR

LOGP1 points to v:ord of last processed entry LOGP2 points to I</ord of last unprocessed enIIY Note that LOGCT

o

<=> LOGP1=LOGP2

8

iJ

II I .

-'v...IO R [) o

CCJJT:

B

l")N- ,

I I .

Sf/ED,'

REM!) .

33

-, 4

J

L /;V/<

PLEV

TEt..CTY?[ )./U/"llC''::/-: IN elT~

USE!) E V 71>'E

CH

nJ:

/7C TEl;' S.

ON INPuT 7t)

INTO

0/1./ OUTJ'()7

ON To

1;2,-

8

T!lE

T/-/c

THe

?()I,VTS TO T;"C

EC' Fe TC/.JEb,

foe

T .sTR.'

/ N F (I t 1-7;'7 Tla/:/ :

Err nc:

/)tVIIVC- /F :: I

C

JO[jT

/ MIST

NO J)..!?vT /'7 L LOW ED

2. letT

3

J,.' Iv' [; T

I I

L!

, CXBT

Co/v -r-x' c!..

x

~> r

XOBT

X-OFF

{, L.

"r

!/"r ... ~- ' , " , Y , ~ ' /

r ! t' " ~ ... 1v-"'"

?

LL'!.-(T

o

CC 1.1 f' ,~. ED

? (/ ~ VITi

c" I .PDST

JO ul,,!i:;8T , } l)[jTNY

/I

/2- }tf

"eR

I R .. V() I L r I ~- C OV.· ... '! C I?

CDL Y:

LDL Y

/...IVC. tcE{3D

Ph'ul1J :

1)

P

D

r--) •

/\ f \ , ' .

$PRn:

DISC:

schedul ing for further information.

this is set, when a user is placed on the queue,

>4,

command processing

When a command is being processed, STAT indicates the command. STAT discussion or. schedul ing for further information.

10

PlEV: this word gives the priority level of the user when he is on the queue. When the user's status is set to 2 or 3, the previous value of STAT is copied into PLEV, and the user removed from the queue. The possible values of PLEV are as follows:

0: highest priority, used for syntax, users returning from

I/O

suspend, and for disc resident routines once they begin.

This includes FILES and CHAIN.

J: used for commands RUN,LIST,PUNCH

2: used for disc resident routines until they reach the top of the queue

4:

used for long running programs.

-fff-ft+: ..tl:le lellgttr of ~1me in SeeeRe-b-t.j;o.at it tee.k-t~'~~

~-n)~~dt"C1ne~

Associated with each item in these tables is a symbol which is

to the>

7FLAG EQU 0 7TNUM EQU

.

7RTIM EQU 15

i t",m- p)(.:>mnlp.·

--.~ ·r

-These symbols are primarily used for adjusting pointers to the table. For example, if the B register contains a pointer to the LINK entry of some USer, the instruction

ADB

.+7

ID -

7

LINK will point B to his ID entry.

is a symbol located in base page at the 0 entry of a table of con-stants from -26 to +

49.

A word containing the value N, where -26< N<~9 can be referenced by .+N.

11

77

7

Dans le document 6/? 77/ (Page 49-91)

Documents relatifs