• Keine Ergebnisse gefunden

61lgc;eted

Im Dokument HP 2000 (Seite 91-148)

1 :word count

1---;

I

9 : L14t:H:.L

_ _ 1 _ _ _ _ _ _

-ll)lrectory t:::ntry

12 l

: . . . . . . . . . . . . . . .

1024 IProgram A

--~---:---~----~~:

---~---

:t:.ot-I

12 Uirectory ~ntry:

••••••••••••••

256 f j Ie 3~ logiCal fjloCk 1

••••••••••••••

256 Fi le3,Logtcei tiloCk i

---~-: ~Of ---~

12 Directory Entryl

·

•••••••••••••••

.

L tJrogram t;

---~----}.

)

<-- Programs are dumped to exact length - lenQth derived

fro~ DIR£CTO~Y le < M < 1024 wores.

} <-- ~-bloCk fa Ie

} )

<-- L< lO~~ wordS

I~OF }

---

)

3-54

1 :woro count ~ )

: ••••••.••••••••• : ) <-- Ena-of-taPe

: . : )0

:LAb~L l ) )

--- >

lEaF )0

---~---2000/COMPUT~~ SYST~k

tapes tnaic~tor Less common terminatton--last tQPe is used to

2000/caM~uTER SYST~M

SCr-4EDULl~G

4-1'

SCtjEOUL.lt:H2

Th~ h~StC Chi IOSOhy ot the TSH sCheoul Inq a'aorithm Is to orovlde short re5Ponse times ~or short. interactive )005 at the possiole

co~t 0+ ~pl~ys In longer runninQ jons. The imbla~entatlon o~

this tnvolves a Queue Of jObS to run which IS ordered according to ~ o'ority scheme. The ou~u~ Is a I inKed I ist of from 1 to J4 entries. e~ch entry pOinting to the next entry, and the t~st entry pOintinQ baCk "to thP. first. The 34 oossiole entries in the

oU~\Je ~re the 12 user LI"'t< entr,es, l' LINt< \Nord In a truncated TELETYPE tenle reserve~ for th~ syste~ conSOle. Rnd a Queue he~d.

Thp, aup.ue hedri consists of ttie loc~tlons ~"LI"'r< (0:2). c"\nd IS

~Iw~vs tn the Queue. T~e Qu~ue heao has a oriority Of 7/717(H),

Nhi~h is stored in loc~tio~ MLINK+2. ~nd it IS always the last

~ntry in the Queue. As ~n eXB~ple of hON this ~orKS. ~ssume th~t

usprs 1. J ~nd 6 ~re on the QUeu~ In tndt order and so IS the

svste~ ~onsole. in e 00sj tlon ~etw~~n users 3 and b. Then tne

QU~UP' wi I I have the tOI lowlnq ~opeRranco:

TTy II 1 +? LIN K

TTYlJ3+?LINK

TTYOt+":LINK

't~LFV

~---

<---

.---:---:---:

u

---

<---

.---:---.: ---1

----~---

.

--~

: - .. ----

<~--:---:

----.. _---

<---. --- :

---:---~-I 4

---

<---

.---:---:---:

11"111 :

4-2

S.nc~ the MLI~K entry i~ d'w~yS ,t~~ last entry on the aueue.

MLl~~+l is a painter to the first ~ntry. which in thls case is TTvOI. In the case of en emoty Queue. MLIN~+l ~i I I paint to

Itsptf. i.e •• CONT~NTS(~LINK+l)

=

CONTENTS(~LINK). Each ent~y on the ~ueue has a priority no less in numerical value than that of the one its points to. When an entry is to b9 added to the

ou~ue. It is asslqneo a priority according to the rules described below. and th,en INSE:.Q i4S cal led. INSEQ computes a new priority

u~lnq the fot lowin~ formul~:

New oriority

=

-(ala ~riority)*(nU~ber of ports logged on +1)/4

T~e oueue ordering 's o~eserv~d by Insertina the new entry Just

ahe~M of the first entry Nith a lower (more negative) priority

nU~bQr. Note that When the ~irst @ntry in the queue hes priority

o.

it wi II maintain that position unti I it is removed from the QUp.up' entirely. To ensure th~t al I jObS wi I t eventually reach

t~p top of the aueue. the priority of the entry Just behind the new entry is incremented ny one. Note th~t bv uslnQ the number of ports loqoea on the system as a factor in oeterminlng

priority. we base the speed at whlch JObS re~ch the top of the

ou~ue on th~ system load.

Th~ fol lowinq rules are used to aSSign (ana reaSSign) priorities by rout i np.s wh i cn ca I I INSF (~:

I'. tJoon first enterino t"'e Queue, jobS are assi(~ned priorities

-31; follows:

~YNTAX lines dna JOhS rp.turnlnQ from I/O suscend: 0 HASIC commandS H<UN, LIST. ~UNCH. LOAD) 1 comnands for oiSc-resideht rout'ines (G~T. dYE. Etc.):

c

2. Priorities of jObS ~re reassiqnerl in the fol lowing wey:

.Jobs of priority 2. when they reach the toe of tne oueue. are r"p.Bssignea criority O.

RtJf'04 Jobs, when they exceed their time slice. are reassigned crlor,ity 4. ana recoSitioned in the aueu~ according to that priority. EaCh ~UN JOb is aSS'Qned a time sl ice Of two spcontjs. and i t ' it eXhausts tnat It. Is assi~ned another.

when executinq a <CHAIN statement>, a <SYSTEM statement>. ~

<C~~ATE statement>. ~ <LOCK statement>. an <UNLOCK

statement>. a <FILES st~tement>. or an <ASSIG~ statement>,

~ RUN jOb is reassioned a prior~ty of O.

The C~FATr command is re~ssioned a criorlty of 4 when It is susonnoea after wrltana file m~r~s in 40U blOCKS.

Aft~r ~n abort during oroaram execution a user is re-asslgned a

4-3

oriority of 0 to run the routine which uPd~tes the last c.hanQe date +or f i I es.

LI~ coi ('Its to· the I ocai on I n the COMTABLE of the di sc ~ddress of the library routine in core. LIH = 0 when none is present.

Th~ fol lowjnQ conditions must exist for the scneduler to permit

ex~clJtion:

A) for Syntax ~no HA~lC commends;

~AIN set td potnt to correct user t~ble

R) for diSC reslcent comm~nds:

MAIN = 0

LIR ~et to corr~ct ~isc reslden~ routine

Th~ ~chedul~r routine S~APR is responsible for creatine these conrlitions. and makes its decisions ~cCOrdlnQ to the values o~

MAIN, LIb, end tne entry on top of the Queue.

4-4

SCHEDULER

8u;.tr

-re~jIo\lj,ler

::c':i) ....

C.OUHT

('HE.c.)< ~!\.

UU~ fAUSt:

( .... "'~M.'·,) IIM~ CI u·i'

UPDATE THE TIME OF THE .. HOUR.

SAVS REGISTERS ANO BLOCS< THE CLOCK.

CLFCLOCK

PRIORITY-4 REMOVE FROM QUEUE.

ODD

·ves

NO

NO

FLOWCHART 1 of 13

CLFCLOCK

SCHEDULER

INSERT THE USER ON THE QUEUE BY PRIORITY.

ADVANCE POINTER TO NEXT TTY.

Cc..EAf\ THE PAC .,.

alT.

FLOWCHART 2 nf 11

SCHEDULER

c..:, ""s.,..~u(.t"

l!"iV..1. Me;-::O!).\GIO A)..Ii) U i' j) ,;'T"~

Qve:lJS"

No

SETPOINTEA BACK TO FJ RST TTY TABLE

UPDATE COUNT ANOMEe5AGc BUFFER POINTER.

UPDATE COUNT AND SUlLO LOG MeSSAGE.

FLOWCHART

'1 !~ 1 3

C"~~T~lJc:.T' MG'~~A"~

# S(HE:DULE ~

St:N.b TUo\ 10 :tOt:.

~E.;.elv': "'ES~"".J 01)1\1" '':'10. HT A ... ~

M€SS"'" Pc; I"'T~I\

StiNI)

M Ii OS :. ,\ C; L!

'T~

-roP

FLO~7CHART

4 of 13

SCHEDULER

PRINT Un?"" YES

GET COMMAND

PREPARE TO PLACE THE CON·

SOLE ON THE QUEUE.

SET POINTERS FOR QUEUE INSERTION.

NO

YES

S E'T PAc.T 8,T' F9g.

'])IiV,<.E'" U~ e It

SCHEDULER

ONLY 8ASIC PROGRAM EXECUTION IS TIMED.

... _----_._- -

-INTERRUPT OFF

UNBLOCK THE CLOCK.

seT THE TIMER.

SETTIMEF IF THIS IS RUN, LasT -,. P";IIICt4

RESTORE REGISTEnS.

RESTOR! DISC BUSY FLAGS.

ENABLE INTER·

RUPT AND EXIT VIAPREG.

FLOWCHART

(:; nf= ,~

LIBRARY TYPE PROGAAM$ MUST RUN TOENO BEFORE BilNG SWAPPI!D OUT.

PRIOR'TY .... O

PREG .... 1RSTR 7ASTA",

SCHEDULER

AN INPUT H.AS BEEN TYPED OR AN OUTPUT HAS ALMOST COMPLETED.

___ _ -10---'

RESTORE THE ACTUAL STATUS (SAVED IN

?PLEV).

SETPLEV"'O.

ADJUST POINTER FOR TTY TABLE.

SETUP FOR RUNNING CORE RESIDENT ABUCO ROUTINE.

tErMc,vo! IiSa~

F;'f..oi'\ QuEUS, C.LEAI. S",j\'f\I~ (.oLe)

·"et.\. :toP ~

Use "~<:l.TI~" ~ kiLL. ov,,: ftLG IF p~t!''';';N'''''

S<.a.AfC.tt P~(;4it~

IP ... 6L.L.O cit

A,.. .. THq~ U:'.:~ 's

L.e><'KeD r'~o,j(MJ\

II :'STefl"

REMOVE USER FROM QUEUE.

HEMOVE OUTPUT WAIT .4\"'1) C.HAIN

S,TS' F.(o,"l 1 F ..

A,

KILL OUTPUT.

IH"!lA\"L.,uW Aa"~r~

."'

Si:T Pl\lo~IT'i ¢

FLOWCHAP.T

CODE TO HANDLE ABORT.

SCHEDULER

SKiP RJ!START MEANS ENTER TtMEOOUT.

REMove USER FROM aucus.

CLEAR ABORT FL~GS.

" -_ _ _ _ _ ... 1 - - - RS·rR .... ASTA+1,

FLOWCHART

R n-F ,~

CODE FOR FORCED DtS-CONNECT (USE R HUNG UP).

AN ENTEA STATEMENT- HAS TIMED OUT.

SCHEDULER

PRINT "PLEASE LOGIN"

A LINE HAS BEEN ENTERED FOR AN IDLE USER.

---._ .... _"---_ ....

?PLEV ~O

SET ?RSTR FOR SYNTAX.

STATUS-+-, SYNTAX SeT B

FOR INSeQ.

PRINT LINE FEE'C.

FLOWCIlART

PRINT"???"

TELL COM-MUNICATfONS PROCESSOR THAT ANOTHER LINE IS ALLOWABLe:

SCHEDULER

Cl£'ftR

""Ar~ Mone

FLAG-CLEAR TAPE ERROR FLAG.

e

FLOWCHART 10 of 13

COME HERE WHEN A VALID COMMAND HAS BEEN FOUND.

CHANGE COM- . MAND TO -rAPe eRltOR PMS!NT··

SCHEDULER

SET PROGRAM STATUS.

SET STARTING ADDRESS IN LIBUS.

?PLEV ~2

SET B ~?LINK

FOR INseo.

II

SET STARTING ADDRess.

?PLEV ~1

SWAPR

SAVE DtSC 8USV FLAG IN'TTY TABLE.

---- ----p.---...

THIS ROUTINE PREPARES THE PROGRAM ON THE TOP OF THE QUEUE TO RUN.

FLOWCHART

12

of 13

SCHEDULER

5 I C.KP

WRITE OtJTPR~

GRAM '''' C-...A!.

MAIN"'O

SMAIN +--1 INITIATE READING LIBRARY PROGRAM.

e

RETURN

SCHEDULER

e

COMMUNICATION ~ETwFE~ SYSTEM MODULiS

4-5

Therp. ~rp. six system mOdulps th~t communic~tp. Nett' each other in

v~rious ways: t~e elsc rlrtvrr. lin Processor driver, syste~

console oriver. scheduler. HASIe. and system I lorary routines (HELLO. ~YE. KILLIu, etc.).

Any section of t~e Syste~ m~y c~1 I the nlSc'nrlvpr' to perform ~

(mov,~o-~e~d) elSC transf~r. Thr~c Pdra~~t~rs are oassed to t~~

or ivpr:

A

=

,uointer to elSc a~~r~ss (thp corp aodress ot e t~o ~ord IO~lc~1 oisc bloc~ numoer et Which the tr~nsfer is to beqin)

f-4 = core ~orJress (bits 14-0 - co~e address at Nhlch trdnsfpr is to oeqln; bit

l~

=

i for rp.nd from diSC to core; vits 1~ = 0 for write from core to ,-jisc)

T~p. v~rleble MWO~u

=

the neQ~tive of thp. nUMner of words to oe

tr~nsf.err~d. If MWtJ!;U>=O. tt"te dr iver Ni I I cause no tr~nsfer. but will oositicn the dCJurooriatp disc unit fl\t th~ soecified blOCK.

The ~ISC orlv'er is celled by ..JSt-i UISCA,.I.

Th~ driver determines the 10aic~1 nlsc on whic~ the ~pecified

blOCK I ies. and, It th~t 10oic~1 diSC is pre~ent on the system.

ornco~ses the requested tr~nsfer. whi Ie e request is bein~

orOCPssed ~n~ transfer t~~ina ot~ce, the orlver OUSY fl~e. ~~USy,

is s("'t to -1. If the "rlv,?r IS c~lled whilp MfjUSY IS so set, it wi I I return without cOlne anythino. Jf the diSC OIOCK number

O~SS~rlto tt"te nriver OOPs not I Ie on onp. Of t"e discs oresent on t .... p, system, the r.rr .ver Will jncrement the return c!lddresS by one

~n~ return ~it"out dOlnq ~nvthjna. If the nriver accepts the

rPQUp.~t. it v- ill .ncremE=!'nt t~e return ""oorp-ss :lY two and return

~ft~r orocessine Ot the r~ouest has b~en initi~ted.

A Movlnq M~~d else transf~r tnvolv~s two steos: OOSitjoninQ the

he~ns to the correct dr~M c~ the dtsc ~no c~rforming the ~etua'

c1;,t .... trtolnsfp.r. Th,~

e.se

driver returns to j'ts cc:'1 ter w,",i Ie e~Ch

o~ these is <;lOlnq on. COmrnl=!nd channel interruots return control to thp. driver ~hp.n the oo~r~tions arp comol~tp: t"e driver checKs for successful comclet,on of the oopr~tions before oroceedinQ.

4-6

fl, sin' 1 I e ci 13 t c!I t ran S fer 0 n a (1 I sec s,n not aut 0", a tic a I lye 0 n tin u e from one cylinder to the next. The 7~Ou diSC has the further restriction that a transfer cannot cross the IImld-cyl Indern

bounct~ry (between trac~ 1 and trac~ 2). when·a data tr~nsfer

.S

rpcuestoo whiCh crosses one or more o~ these boundaries, the disc -driver br~aks uP the transfer to .conform with the restrictions.

When the driver completes hand' tng a reauest and returns to the

C~ I I p.r, ~HlJSY is set to I nd i cate the o.u~come of the. transfer as

follows:

0:

The requestea tr~nsfer has been successfully completed.

1: The transfer has f~i led; the seeK (cosltion) operation could not bPcomolpted.

2: T...,e trdnsfer. hdS fni 'ed; the nata transfer was unsuccessful.

3: Th~ transFer hnS fai leo; p~rt of the data lies on. or woulC'S oe written to. a disc' whiCh IS not cresent on the system.

A COMPlete oisc trans+~,.. Celn be Pf!!rForrned by the fOllowing SPQupr"'tce:

.JS~ DISC~.I

<return ~or rtr I ver 'bUSV>

<return for disc not cresent>

LOA r-1RU:;'Y SSA

~MP -;s.-2 SZA

<process elSC ~rror>

<crocess su~cp.ssful tr~nsF~r>

Th~ rlisc driver does not ~OOlfy thp. contents o~ MWORD and tne A

~n~ ~ reolsters. lhe system never suspends ~ orogram for a disc

tr~nsf.er.

4-7

SVc)Tf.M CONSOLI:: f)~IVt:.~

The syste~ console oriver ~ajn~jns three flaqs. TJ~Fl. lJ5Fd. and

T1~F3. which netermines Its st~tus. Tne meaning 0+ these flaqs

ar~ ~s follows:

T3SF 1 :

=

•• 1- driver is buSy. l) othPr""lse

T3~1o="2: Norm,::, I I y

o.

t t is set to -1 bY t .... e drtver at the con-clusion 0+ inout. .enn clecltred to u externally.

T 3Sf 3: NorrT'le I I y

o.

it is set to -1 by th~ dr i ver at tne

con-clusio~ of Inout. ~nd cle~reo to u by tne drtver after output nBS heE?n initiated.

ThR co~t)lnpC vRlues ot tnes~ fl~os are ~ore slanlflcant:

Fl F2 ~j

0 0 0 [Jr I vpr

.

~ ccc~ptinc inC'lut

0 -1 -1 lnout COmlllbr'lC1 receive,., lItr'lc:l I s belno orocessecte cut outPut h~S not hefJn Inltic!l'teo.

0 -1 0 out out termln~ted frorT'l I! SystP,,., commt9nd -"hicn Is to reinltiated.

-1 0 0 outoutting

-1 -1 0 outouttina. .. t thp. ene:: of which the current syste"

comM.;:,nlj Vw I I I be reinlticllttp.rl.

W h p n r:.-2

= -

1. the 0 r I v e r w I I, I not .e c c e e t a n yin 0 u t • Tn i s

nu~rAntees SysteM 'Ibr~ry proQr~~~ tnat t~P.y wi I I not be

int~rfered witn. TheSe routines ~re ~p'sponsloIQ for c'a~ring

F?

Ai"',,"n

tney cc!11 tha "r i ver .for thl) last tiMe. Fi: .dnrl tne

consol~ st~tus (T3b~T) ~re cl~ar~d if e K~y i~ struc< on t~e

co,",!:nle durino outout +or certnin ,console routin~s. TnlS ~i I eft-p.ctivPly t~·r"'lncte suc,,", routines -=ts f>I;'<ectortes. ~EPorts ~nd

!=:lAttJ~es.

Wnp.n F3

=

-1. log-on en~ loo-of~ r~oorts ~s w~1 I as the ~ess~q~

t'] tJ ~ l J ear e h (' too

+ + • ,.

n i Ii cUr! r ~ n t ~ P. S t h n t t n e s e ." P. S S a q e s W I I I

not n~ interf-p.r/Sld ~i tn bv th~ SystP'rTI t Inrary oroqram outout.

F 1 ... n~r'I set v- i I I 1""0 I c of f loel-on ffnC"f I o,(J-of t r900r t s ~s we I I as tnp l"'Iessaae OlJHue. .. 1 is set our i no OlJtout. F 1 I S a I so set for

(~O ~"c) ~hen~ver th~ user or~ssps ~ key (exceot CR).

T~n fnl lowln~ v~ridoles ~nd fl~OS are ~Iso. maintained for ~

tp.r~lnct consol~ ny th~ conscle ar;ver. These ~re necess~ry

be

be (" ~ IJ s e t he con sol emu s t n p t lJ r n E" a 0 f f a 4- t f.:t r ItS C"'I e e n i;j I e for

,=,onro)(i~(lJt~ly 50 seconos ~n("J turned nn 8ct=!ln wnen there' is outPut to h~ orlnt~n. The term,"pt. console ~Iso r~cutres f l "

cn~r~cters ~ft9r d L~.

4-8

TO:

Tnsu:

r~ITST:

TFC~T:

~it I!:>· if ~et indicates a tp.rm;nct console

Normally U,.} when d ~otor Shutco~n Is In orogress

Nor~al1y 0, 1 when·a motor shutdown is In progress Contains th~ ~otor st~tP. 0 is off, 1 if on

Cont~ln number of f' 115 left to·outout

T., e c ~ I lin q S? Que nc e is:

A: bit 1~

=

0 .if C~Lf is to be aooended. oits (14:0) - # of Char s.

~: oit 15

=

1 If ~unchinq is to taKe place in ~ddltion to orlntin<;l. bits (1,+:0) = core r::tocrpSS of outout buffer •

.. J S ~ TTY 35 • 1

The ~r.vpr uses the ~b word ~uffer T3~RF as ~n inout ouFfer.

~ost of the I iorary rout ines use it For output, and occasionally For t~~oorery storc~e bet~epn lines of outPut.

4-9

SYS1~~ ~kOCf~~Ok-I/n ~HOC~SSO~

'CO~MU~lCATJO~

4-10

The bl~Ck d~agram for the Processor Interconnect Is on the second page ~ol lowing. In the IDLE state. the 'nter~ace cardS are set UP as follOwS:

Cl (CHI)

C~(CH~)

CONT~OL

&

ENOCOU~:

"L~'" & IRQ:

CONTROL ~ ENCOD~:

FLAb:

lk<at:

SE..T CLEAR

CLEA~

SE.T CLEAR A data transm'ssion.O~er~tion occurs thusly:

l . ~enoinQ machine wnlts ~or flaa to be set on C2(CH2)

indicating that the prf'vi<",q'lt tra.,smission· has been processed.

2. ~ending machine claces data word In output register of

C~(eH2) thereby placing it on the Input register Of CHI (el). (OTA/b Ct!(eH~».

3. SenainQ maChine issues STet CLF to C~(CH2) making the

~NCOOe LIN~ 90 high, setting FLAb on eMl (el), clearing

E~eOOE on CH1(Cl). and strohina the data word tnto CHI(Cl).

4. Sending machine tssues CLC to C~(CH~) to prevent an interruct from that card. The sending maChine is now

~ree to return to other tasl(s.

~

5. In the receiving CTlachine. T~ will set the IR~ on CMI(el).

l~ the interru~t syste~ IS enableo and the priority. line IS high, the lkY wi" Ceuse an Interrupt to a service routine.

6. The service routine ooes an LIA/~ from CHl and deCOdes

t~e lb ~it ddtc Nord.

7. If 0 response IS c~lleo tor. the receiving maChine can IO~d the output re~ister with a data word (oTA/~ CH1(Cl».

H. ~hen the receiving maChine has comotetea its processing, It issues an ST~.~(eL~) to CH1(Cl) whICh restores the cards to the idle state.

The .ollowlnq IS the resuitant statuses of the sendtng two computers atter a command has been sent. recejved ana

acknowieaged:

4-11

a) The tlaq IS set on Ca(CH~) of the SendIng computer inolcatinQ th~t another trcnster is now al 'owed. This occurred wnen the receivina computer issued ~n STC.C to CH1(Cl) after it h~d decoaed ana executed the command.

The STC.~ IS the ec~nOWledQement to the SEND cOMPuter that the M~C~IVE computer dio rec~ive tne transmission.

b) The control on C2(CH2) is cleareo by the CLC to

'C2(CH2). l h ls was done to inhIbIt t~e interrupt th~t

normal Iy W~Uld occur atter the StN(i computer outputted the commeno.

c) The control IS s~t ~nd the flag IS cleared on CHi (el) (from the ~lC.C ~c~nowledoement) Inoicatin1 readiness to receive anot~er transmiSSion.

4-12

The system processor sendS communications on 1/0 11 channel and receives them on 110 channel 10. An exception 6s.a communication sent by the system processor whtCh reQuires ~ response, w~'Ch

wit t be received on 1/0 channel 11. communicat·lons are In.tlated by JSA SUVRP,I with the commun'c~tlon 'in the A register.

The system proc~ssor Cdn i~itiate reQuest.s an~ commands ~or the

1/0 ~rocessor. Six

0+

these are o~ genera' nature (I.e. not I imlteo to a sln~le user). They include PHS. PRR, ~jE, SCI and

reM.

User commands associated NttM hardware control InclUde ECO. ECF and STP. User commanas associated with bu~fer control are

poe.

POSt H~S. FNC. ~IS. kLd.

ssp,

and_kBP. User commands associated with the general status are STE. wTP, UIH, UNR. lwT. HUU, ULO,

TOP. NU<';. KTQ. AL.I. OwT. IBA ,and ~BT.

Co,,"m~ndS concerned with control of ASCII devices areSTR. AD", RDV, ~Ltl. Xkb and KDO.

4'-13

IS 1~ 12 ~ 7

o

: oP CODE ~0RT # DATA FIELD :

• •

.

---~---~--~---

.

l~ Ie:: ., b

o

: oP COU£ D£VIC~ # DATA FIELu:

• •

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

The above format holdS ~or COMmand COdeS 0 thru 5 Command COdes b ana 7 are micro-COded and have one of the

~o, lowing formats:

l~ 13 1~

OP COOt. PO~T 1#

d

MICRO COUt

o

• •

.

---~---.

IS 1=:S l i

oP CQUE D£VICE .,

I 4

MIC~O

COOt

----~~---~---~---o

Comm~ndS in the above format whiCh must supely data are two word

comM~nos wIth the aata suppl teo In the second word.

4-14

Numeric

Process output character start ENTER Timing

Subt~Qe information Phones timing parameter Perform C9ntrol funct.on Process output string Micro COde grouQ 0 Micro COde group 1

Oe~C:l:let12o

what terminal type

Inttlaiize lOP/preempt reauest User Is runnlnQ

Transfer input ~uffer BaCkspace terminal Duffer

KI II device output

31 32 33 34 35 36 37

(unUSed) SCI

~Lt::i

SSU

SB~

~tH"

TC~

Sene core iMaqe

~elease buffer System shutdown Seve buffer pointer wele6se buffer pointer Transmit console messege

4-16

eoc

The crocess outPut Ch~rBcter command cpntalns a port number tn bits· 12 thru 8 and an ASCII character In o*ts 1 thru O. The character Is to be Pla~ed in the port's outPut buf~er.

SI~

The start enter timtng commana conta.n~ the Port numbe~ In bits 12 thru ~ and dn tnteger oetween 1 ~nd 25~ in bits 7 thru O. The

tnteqer specified IS the maximum number of secondS the user port .s to be enabled for enterinq a 'Ine of data.

If

the time

elaps~s without the USer completing a I ine. the lOP retu~ns the

comm~nd ETO. OtherwiSe the lOP returns the command·HVL whiCh contatns the actual response time in bits 7 thru

u.

SIe

The suctype infor~ation command contains the port number In bits 12 thru 8 and the term~n~I' type COde In bits 7 tnru O. The

terminal type COde

.s

a~ inteqer betwe&n 0 and 8 and specifies

t~e ter~inal type 0+ the port. ThiS command is sent by the SP to the lOP ~hen the S~ IS executing the HELLO command and has

ev~lu~ted the terminal type pa~ameter.

The Phones ttminq perameter contains ~n Integer value between 0 and 255 In bits 7 thru O. ThiS value is the number of secondS that a user is permitted' ~or logginQ on. This command is sent when ~he system operator Issues the PHONES command at the system console. I~ no command IS given, the default logon time Is 120 secondS.

eCE

The perform control function command contains a logical unit

nu~ner in bits l~ thru 7 dnd a control COde in bits 0 t~ru O.

T~e control COde corresponos to the device control COde In the table of elL ~unctlon values and inolcates tne operation to be

T~e control COde corresponos to the device control COde In the table of elL ~unctlon values and inolcates tne operation to be

Im Dokument HP 2000 (Seite 91-148)

ÄHNLICHE DOKUMENTE