background image

Summary of Contents for 900 series

Page 1: ...XEROX Technical Information Xerox 900 Series 9300 MONARCH Technical Manual 90 06 160 April 1968 ...

Page 2: ...701 South Aviation Boulevard EI Segundo California 90245 213679 4511 Xerox 900 Series 9300 MONARCH Technicat Manual 90 06 160 April 1968 Price 3 75 XEROX Printed in U S A ...

Page 3: ...ONARCH Loader Routine Cata log No 042010 900 Series 642025 9300 NOTICE The specifications of the software system described in this publication are subject to change without notice The availability or performance of some features may depend on a specific configuration of equipment such as additional tape units or larger memory Customers should consult their Xerox sales representative for details II...

Page 4: ...032 642031 23 Magnetic Tape I O Subroutine MAGTP 042033 642032 24 Line Printer Subroutine MPRNT 042034 642033 26 MONARCH Control Supplementary Action Routines LDI2 042030 642034 27 Transfer to MOf JARCH Control TFMONRCH 042008 642023 39 900 Series RAD MONARCH Generator SYSGE N 40 RAD MONARCH Loader QSYLDR 04210D 44 900 Series MONARCH Resident RAD File Management Routine QFMR 58 MONARCH Bootstrap L...

Page 5: ...ams have been assembled using META SYMBOL The recom mended means of maki ng changes to one of these programs is by furn ish ing sym bo ic corrections relative to the current META SYMBOL Iisting of that program and then reassembling with the symbolic corrections and the current encoded program as input A new encoded deck shou Id be requested each time a pro gram is reassembled in order to facilitat...

Page 6: ...tervention MONARCH may be assembled using either SYMBOL or META SYMBOL It also uses no internal PROGRAMMED OPERATORS and it is reloca table At Ieast 8K words of core storage MONARCH consists of the following routines Catalog No Routine Mnemonic 900 Series 9300 l MONARCH Control Routine CONTROL 042004 642027 2 MONARCH Message Analysis TABLES 042005 642019 Tables 3 MONARCH Control Message QMSGRD 042...

Page 7: ...NARCH Loader QSYLDR or 042010 LOAD 13 MONARCH Update UPDATE 042011 14 FORTRAN Action Routine FORTACT 042014 15 FORTRAN Bias FORTBIAS 042015 16 ALGOL Action Routine ALGOLA 042017 There is no 9300 MONARCH requirement for FORTACTi thus 9300 FORTACT is used as a test program to test selective I O handler loading only 9300 642023 642024 642025 642026 642035 642036 ...

Page 8: ...memory location s d Transfer control to the Action Subroutine processor corresponding to the function code in the control message If errors are detected during this process an appropriate error message is typed out the message contai ni ng the error is ignored and the routine at tempts to read the next control message from typewriter 1 on the W buffer for 900 Series Computers or on Channel A for t...

Page 9: ...r output and in the File Description Table PRTFDT for line printer output ACTION Characters are typed beginning with the leftmost character in the memory location specified by the Index Register bits 10 through 23 for 900 Series Computers or bits 9 through 23 for 9300 Computers until CALLING SEQUENCE PROGRAMMING CONVENTIONS 4 a A period SDS code 338 is typed or printed or b 72 characters have been...

Page 10: ...Loader itself which includes the following a Ali external definitions for MONARCH Unit Assignment Table UAT entries and for 900 Series Computers only the external definitions for the Business Assignment Table BAT b An external definition for the Processor Error Switch QPESW c An external definition for the entry point to the Monitor Bootstrap Routine QBOOT d An external definition for the entry po...

Page 11: ...N ARCH Control Routine SRLDF is initially set to specify loading with no planned halts and no symbol table listing BRM GSYSP or BRU GSYSP with IORELC O_S I O Function Switches IORELC 9_23 Load relocation bias for first subprogram of the system routine OMTE SRLDF Address of a character program ID This same ID is assumed to occur in characters 9 through 16 of the level 1 MONARCH ID record which prec...

Page 12: ...ssage left delimiter character Message right de Iimiter character Left del imiter of numeric word Left delimiter of symbolic word Left delimiter of literal word Universal left delimiter Leading plus or minus sign Character is to be ignored IIIega I c haracrer Right delimiter for literal Universal right delimiter Cell which contains word type code current word Word type code for octaI number Word t...

Page 13: ...IMIIIIQe from typewriter 11 V r V S u a R Is from typewriter I No Obtain and claulfy Mkt word 01 current fWMIIICIIe Is t worda I MSGRST QMSG unit 1 channel 0 MMO Is 1st tage WOtd a legal function cod mnemonic V OMT add of ht word of func tlon cod entry PttMMAX 1IlIUm nuntbef of para t PRMMIN mlnllllUm number of paraMeten ORGPRM arl ln of tabl of para ter _Iu IPf orl ln of MONARCH roc IUbr outlin I...

Page 14: ...ONARCH CONTROL ROUTINE cont No x type coM for Cunw lt word COMpUter NOTE I _____ Exit 10 Proc _ Subtautlne IRU IPF 9300 PIMOIG Wlh af I ecl lon panIIM 9OOS F_ a oc 24 Wt EC tVEOO h_NCtlon for unit and channel 9 ...

Page 15: ...SGETWRD C1 5 U I Get IWCt ct C fl Ofll cunwnt x left dell lt cla lflcatlon code forC IC character cla mcation code for C G t Internal cha of number DEQIN Convert number to binary S U I S U I R GETINT Get internal chan of word Pack chars of word S GETINT U Get internal I chars of R word 5 ill U Pack chars of I word I ...

Page 16: ...MONARCH CONTROL ROUTINE cont Dl s u R Get next char C from current X 1 1character cl_lflc atlon code for C IG IL Dl A3 Fill u UMd char posi tiON I wold ar with IfMIC 11 ...

Page 17: ...4 char word In ry torage ACCUM ACCUM2 IADMSG T rror ILLEGAL CONTROL MESSAGE MESSAGE IGNOIED NOTE I Del current IAD M we error CONTROL MESSAGE EllOl UNDEFINED SYWOUC rARAMETER DECIIN Convert from 1 to 8 dIQIt decimal Integer to binary Ingl precl ion OCTiIN Convert fl Ol ll 1 to l dlglt octal number to binary lingI pNClllon 8ADfNC Twe rror CONTROL MESSAGE ERROR NSFPRM T error CONTlOL MESSAGE Elloa I...

Page 18: ... paper tape Puncho raF to paper tape clfled TVPM TVPOUT Sav IIWIICIr origin I UEAICPOINT 1 9300 SENSE 1 _ ___________ S U It s U I R no Type 1 carriage return Store origin in FII o crlptlon Tabl TMFOT 1 Typetextol S MTYIO U Type 1 carriage return It S U I R Count number of wOtda In up to period Store word count In fli delc rlptlon tabl PRTFOT 13 ...

Page 19: ...arameters designati ng input output functions are a Iso contai ned in this table b Table of symbolic parameters PARAMS Each entry inthe table containsa 1 t04 character symbol and a 24 bit binary value for that symbo I c Character classification table CHAR Each entry in this table corresponds to one of the 64 possible internal character codes The position of the tabie entry for a given character wi...

Page 20: ...INES USED Not applicable Re locatabl e subrouti ne wi th no transfer address in End Record No PRO GRAMMED OPERATORS are used Variable accordi ng to number of function code and symbol ic parameter en tries The current size is approximately 7358 or 47710 locations None 15 ...

Page 21: ...6 89 P 2 I I 4 Not Used Entry Point First Processor Func tion IPF o 0 0 0 0 0 000 15 o 8 9 23 23 23 23 23 P i for i 1 1 7 refers to reference parameter P i of the META SYMBOL Procedure FCII in the MONARCH Tables Routine 2 3 4 5 P 7 and the UAT unit and channel designation and optionally a parameter in the control mes sage calling the processor function collectively determine which if any of the st...

Page 22: ...trol Routine a If the medium is paper tape or typewriter the record is read di rectly into the control message area by executing the subroutine whose program ID is MTYIO b If the medium is cards or magnetic tape the record is read into a 40 word input area CW in QMSGRD Cards are read using the subroutine whose program ID is CARD The record is read in the binary mode The binary card image thus obta...

Page 23: ...R s u R SQMSGIO Is control 1 cards Vea Reset unit and c 1c In COFDT fil tabl Read 1 from carch Convert Hallerlth coded record to 505 int cod Mo canverted record to control Input area MSG QMSG x medl CARD Read 1 card In bi y mod s u s u R lead 1 record from paper tape typewrite or magnetic tape Convert HaIl lth coded card I to teO by tabl look up MAGTP lead 1 record in binary mod ...

Page 24: ...II J _ IUIII IIVIl switch which is IIsetll LDIOSR will examine the MONARCH Unit Assignment Table entry which corresponds to that switch If the unit address code in that Unit Assignment Table entry is a code for an input output device with which one of the four I O subroutines can communicate then LDIOSR causes that I O subroutine to be loaded Note that even though the same unit code ap pears in mo...

Page 25: ...functIon wItch exGIRlned Extnlct unit add code UAC from UAT entry c tng to current I O function Prlnter 1 10 eut nutlne loaded t No Store current 1_ relocation bl__ printer tubroutl art in No Store current load relocation bl__ mag tape subroutine origin Na Store current load relocation blaa _ origIn 01 paper tape t pewrlter I O IUblOUtlne InMrt printer tl origin Into UAT entry correepondlng to cur...

Page 26: ...eloc atlon bien ar acWre 01 khar MONARCH 10 fer I O S U R eulMautine to be 1 SRLDSY Searc h for load tpec lfled VO MIbroutln Set c urrent load reloc ation bias lum of IORELC length of I O subroutine IUlt 1 LEGENDI X Index R I Regllter IORELC addr of load r loc ation bias used by SRLDSY 21 ...

Page 27: ...es QMSG ACTION One SO column card is read from the card reader specified in binary mode CALLING SEQUENCE PROGRAMMING CONVENTIONS MEMORY REQUIREMENTS SUBROUTINES USED COMMENTS 22 BRM QMSG PZE a Where a is the address of the File Description Table see description of SDS Card Read Subroutine CDR 900 Seri es Cata log No 030004 or 9300 Cata log No 633001 See description of SDS Card Read Subroutine Appr...

Page 28: ...ORY REQUIREMENTS SUBROUTINES USED COMMENTS a Input One record is read fromthe unit assigned into the record area specified by the File Description Table b Output One record is typed on typewriter 1 from the record area speci fied by the File Description Table a Input BRM QMSG PZE a b Output BRM MTYIO OP a Where a is the address of the Fi Ie Description Table and OP 0408 see des cription of SDS Pap...

Page 29: ...e record is written on the specified magnetic tape unit in the parity mode specified by the File Description Table c Rewind The specified magnetic tape unit is given a rewind command d Space The specified number of records is skipped on the specified mag netic tape unit a Input BRM QMSG e g to obtain a control PZE a message record b Output BRM MAGTP e g see LABEL Action OP a Subroutine OP 040S c R...

Page 30: ...OMMENTS This is the standard SDS Magnetic Tape Input Output Subroutine with the entry point label changed from MTAPE to MAGTP to prevent conflict with the use of MTAPE in other contexts within MONARCH 25 ...

Page 31: ...ed by File Description Table CALLING SEQUENCE PROGRAMMING CONVENTIONS MEMORY REQUIREMENTS SUBROUTINES USED COMMENTS 26 BRM HLT MPRNT a where a is the address of the File Description Table see description of SDS Line Printer Subroutine PRINT 900 Series Catalog No 060005 or 9300 Catalog No 662002 See description of SDS Line Printer Subroutine Approximately 3208 or 20810 locations None This is the st...

Page 32: ...following action routines CALLING SEQUENCE PROGRAMMING CONVENTIONS MEMORY REQUIREMENTS a Processor for META SYMBOL systems META b Processor for SYMBOL systems SYMBAR c Magnetic tape functions 1 Backfile BKFILE 2 Skipfile SKFILE 3 Back record BKREC For 900 Computers only these 4 Skip record SKREC routines are assembled wi th the 5 Rewi nd REWI ND 9300 MONARCH I O Subrou tine Loader LDIOSR and ap 6 ...

Page 33: ...rogram sets MSFNC and MSFNCl for communication with the META SYMBOL control program MSFNC loca tion 02738 contains bit settings corresponding to symbolic parameters speci fied on the METASYM control card which specifies the user s input output requirements and MSFNCl location 02748 contains a 4 character BCD PROC name tF ...

Page 34: ...MONARCH CONTROL SUPPLEMENTARY ACTION ROUTINES Initialize to tty nat patallleter CI Aand I Setpa Index 0 29 ...

Page 35: ...30 MONARCH CONTROL SUPPLEMENTARY ACTION ROUTINES cont Inltlallz 10 LO and IMelltClnlc tabl R Merge SI Xl and 10 and or LO bits ta 0367 and at Ia ELC Set 10 Set LO flag t Set IftMIMnlc tabl Rag ...

Page 36: ...MONARCH CONTROL SUPPLEMENTARY ACTION ROUTINES cont Type SEARCH FOR SYMlOl OI M XX FAILED 31 ...

Page 37: ...L SUPPLEMENTARY ACTION ROUTINES cont Proc_ label r quest s No U B R Type ABNORMAL CONOmON MT Ott OF LABEL MSG ItEFUSEO had MId control age from typewrIter Read next controilMllCll for current aalgned control Input c tlu ...

Page 38: ... entry R NEXTWD LASTWD QCW D NEXTWD Set EOM at fil description tabl from parCIIMter L MAGTP S Writ r locatabl U 1 absolut bootstrap on It specified magn tlc tape Yes Store QCWao at QFWacy QFW X 2 QCW X2 s _____ U Set EOM at fil delc rlptlon tabl from L Mr l1Q Punch relocatabl I R bootstrap on specified paper tape Type IDUPLICATE LASELI 33 ...

Page 39: ... u R Fetch 10 and store text at TID s Type ILLEGAL LEVEL R FOIl LAIEL s u Itlon 0 at LASTWO R s u R Set QCW o 01 odctr af label Writ requested 1 llnO s Write SYSENO at R NEXTWO and cl 0 s QCWoat QFWXl and QCWX1 5 U R Y Type ILLEGAL LOGICAL FILE FOR OF lABEL ...

Page 40: ...LEMENTARY ACTION ROUTINES cont Set logical fli at fll delCrlptlon tabl u Rewind the logical fII l WrIte ipeClal EOf mark 171JOOOOa on specIfled paper tape punch used by FORTRAN complied program output on paper fa No No 35 ...

Page 41: ...36 MONARCH CONTROL SUPPLEME I bRY ACTION ROUTINES cont Convert EOM _m to UATfOl lNlt S TYPM U Type UNSUCassFU SEARCH POSmON R MSG NOT COMPlE Save QSYSTP and Mt II indicator at QSYSTP ...

Page 42: ...NTROL SUPPLEMENTARY ACTION ROUTINES cont ltepIoceUATentry No v Merge address of QTAP neI bits with Indlcator f l ___ with UAT entry unit and of QOISK and channel Save QSYSTP and t newly formed vatue at QSVSTP 37 ...

Page 43: ...38 MONARCH CONTROL SUPPLEMENTARY ACTION ROUTINES cont Space of orto EOF rk no s u R eztrunberof or To EOf mart ...

Page 44: ...l Routine When the MONARCH Loader loads the MONARCH Monitor complex this routine is the last to be loaded and the transfer address in the End Record of TF MO NRCH causes the loader to transfer control to TFMONRCH TFMONRCH in turn transfers control to the entry point of the MONARCH Control Routine RDMSG This is the only subroutine in the MONARCH Monitor complex that can have an End Record with a tr...

Page 45: ...The generation of a RAD MONARCH system is accomplished in two steps 1 The Tape MONARCH system is converted to a RAD MONARCH system by an UPDATE operation unnecessary when beginning from a tape situ ated RAD MONARCH system 2 The resultant NST New System Tape is input to a SYSGEN operation that copies the RAD MONARCH system onto the RAD The SYSGE N operati on is accompl ished by first bootstrapping ...

Page 46: ...rap SYSGEN 2 performs the SYSGEN operation SYSGEN 2 performs the following steps 1 Initializes the RAD EOM SKS table in the File Management Routine to correspond to the unit and channel assignment specified in QSYST UAT X1 2 Initializes the UAT entries utilized during SYSGEN 3 Initializes the file pointers maintained within the File Management Routine 4 Writes SYSGE N 1 the RAD Bootstrap onto RAD ...

Page 47: ...hen the end of the asTis reached the Sand D fi Ies are closed the asT is rewound and control is returned to the MO NARCH SYSGEN uses the resident File Management Routine in performing all RAD I O operati ons ...

Page 48: ...nitialize ItAO I O tabI Initialize UAT entrI for S Xl SO Initialize ItAD fli oln Output ItAD baohtrap to ItAD Seeton 2 RewlndOST Iypau boatatrap Open 3 OST Old System Tape S ItAO Sys FII D ItAD Directory FII SO lilt Output AWn late to first words 43 ...

Page 49: ...n of the operations performed by this routine CALLING SEQUENCE PROGRAMMING CONVENTIONS BRM QSYLDR with the initial load relocation bias in the A Register and the loader option switches in the B Register and QETBL address of last entry in loader s symbol table QSYS N unit channel and I O subroutine addresses for bi nary input medium This information is in UAT format t QSYSTP unit channel and I O su...

Page 50: ...ader Bits 9 through 23 of QSYSTP must contain the value of QTAPE when control is relinquished to the loader These are the only input subroutines referenced by the loader 4 The dump routine QDUMP This routine may be referred to by MON ARCH routines or by a user to dump memory in octal with zero suppression 5 The RAD File Management Routine see QFMR writeup on page 58 The loader s symbol table will ...

Page 51: ...dress of last reference 15 I I I I Symbol value of address of lost reference 15 the third word of each item is an instance of one of the following 0 8 Internal POP Definition 900 Series only Common or Program Length I Sub POP Sequence No Yr type o 0 6 1 012 7 8 9 o I CD Sub Not Used B C type o 0 0 0 o 1 2 6 7 8 9 I o I I Ac tua I effec ti veI origin of POP subroutine 15 I I Length of program or co...

Page 52: ...d in the table o Band C fields of subtype 00 items B 1 if L is length of a program C 1 if L is length of a labeled common block 0 Treated as illegal input by the MONARCH Loader For 900 Series Computers only POP items whose subtype is 11 are not entered in the table The origin of the POP subroutine is stored in the address field of the actual POP transfer table entry at X lOOa when a POP definition...

Page 53: ... location a Number of external references satisfied less 2 End of Loader1s Symbol Table Number of POP definitions 1t t Number of multiple external label definitions Number of multiple external POP definition Number of multiple external label reference Number of multiple external POP references t Load mode switch Purge test switch Location of load address for current data word or location of effect...

Page 54: ...d relocation bias In A RegIster FLAG loader options in I Register Al t JL ____ STRT LOOP S U 1 R S U I R READ lead next record R LOAD Proc erified record R S SEARCH U 1 OIltlon Item tape at library R 100 SEQNR where SEQNR IIAS for loat program loaded length of that program s U 1 T Pe loader uymbol table R 49 ...

Page 55: ...E of MONARCH library Is L level 1 MONARCH 10 rec WIll detected S U It No Any UftICItlsfled Label or 900 Serl POP references v Set LOAOMand PRGTST 1 record R from loader Input medlulI b It a MONARCH 10 record 13 No Ves CT WOCT word count 2 Purge loader symbol table etc READ SUIlOUTINE ...

Page 56: ...fixed locations Store 0 in a location if the correspond Ing modlfl r word i not pr nt in R b load add in Rr locatabl v LOC laad add lIAS No r ______ v c Does IWO require COI MlOn relocation 9300 Computer 900 Serl Hove all data word In Rbeen prac ed LOC iaad addr Add lIAS to add fl 1d In IWD t bit 18 of LOC l to 1 If the biased add _ 51 ...

Page 57: ...52 MONARCH LOADER cont Have all lte in Rbeen proc ed D2 t No Store effective addr In LOC Extract Sub Type code from bits 0 1 of value word and tore In ST LOAD SUBROUTINE POPs AND EXTERNAL LABELS I I ...

Page 58: ...OEF aQ1 h load aymbol table IhMII X with __ C MONARCH LOADER cont CHAIN ad d field of orig Inal value word CHAJN CHAlN 8 CHAJN 9_23 1 value No 53 ...

Page 59: ...ER cont No v Inltlallz symbol tabl point at first entry in loader s symbol tabl F2 NOTE I No of C and X match and Record ryp of C and X agree MATCHED EXTERNAL POP flItOCESSING SVWOL TAilf SEARCH AND INSERT SUlROUTlNf ...

Page 60: ...MONARCH LOADER cent S t bib 3 thN 01 value ward 01 new ayneol tabl entry POPCTR 18_23 G2 G3 PXDCI PXRCI X2 pop sequence number from value word of C A Actual POP code fl Oftl X 55 ...

Page 61: ...d of Input eubroutlne QCAlD QTAPf QPAPfR S WIQ S SEnO S SETIO U Set unit and chanMI U Set unit and channel U Set unit and channel Determine fil number B OIII ts aulgnments auignIMnts S 0 BI 3 R R R LOADER INPUT SUBROUTINES 56 ...

Page 62: ...Jnt wOlds of record R W fJnt wold read a 1 v Are chan 9 16 SYSENOI No Are chan 9 16 10 l0 1 A 1 arch key No U the IllCllilnetlc tope read IUbroutlne used by the MONARCH Loader when QSYSTP OIIigned to magnetIc tape When QSYSTP Is OIIlgned to the RAO SNXT reads from the RAO Directory 0 file 57 ...

Page 63: ...s the last 650 locations in memory NIA The subroutine is loaded as part of the RAD MONARCH System Loader BRM QSYS OP FDT Return A Address of next word on the RAD fi Ie The parameter following the BRM consists of a six bit operation code OP and a pointer to a file description table OP is used to indicate the following file operations 00 Rewind 01 Open 02 Close 03 Read 04 Write 05 Write with Verific...

Page 64: ... read operation self delimiting files only The core origin is the beginning core location to from which the user requests an I O operation to be performed The block size is set by the user to specify the number of words that are to be transferred When the user is reading from a fi Ie whose records are sel f delimiting it should be so indicated by setting the block size negative self delimiting fil...

Page 65: ...ied refilled in prep aration for the next sector Since the sectors are in numerical sequence the p th word is located at word r in sector q where p q 64 r 0 q 2047 0 r 63 X2 and BO are actually the same file but are distinguishable from the stand poi nt of rewi nd RAD fi Ies are si mi lar to tape fi Ies and are destructibl e when rewound Therefore the same control cards can be used for ei ther Tap...

Page 66: ...ncurrently active fi les When the system is generated these are S the System File and D the Direc tory After the system is generated Sand D are closed and the remaining storage is used for the Xl and X2 files Since X2 and BO BI are not simul taneouslyactive they both share the same file X2 is defined as beginning immediately after the BO fi Ie Rewind Calling sequence BRM 00 QSYS FDT Rewind and ope...

Page 67: ...en operation must precede the first read operation Variable length records may be read under count control II by specifying their length to be unknown word three 0 The file management routine will then assume the record length to be specified in bits 3 8 of the first word in the record Write Calling sequence BRM 04 QSYS FDT Write onto the file whose number is specified in the fourth word of the fi...

Page 68: ...tion the S file randomly in accordance with addresses specified in the D file RDISC WDISC CaIIing Sequence LOA LDB BRM Return Interlace control word RAO Sector RDISC WOISC Upon return A wi II be cIear if the I O operation was performed successfuIIy Otherwise A will contain a lone l in bit 1 and if part or all of the specified disc area is file protected A will contain a lone l in bit 5 The RAD han...

Page 69: ...k co II ing parameters Therefore after latency the handler provides for I O transmission at the maximum effective rate The handler is ignorant of the physical size of the disc unit s and it is the responsibility of the calling program to ensure that the co II is legitimate ...

Page 70: ...RESIDENT RAD FILE MANAGEMENT ROUTINE QFMR REWIND 9 t m _ Q R SECTOR Q IUFFER J QFMI FDT 2 N FDT 3 1 initialize READ PRIME SUI TO READ SUI IUFFER N ITEMS IN WRITE CLOSE QCWro Q R SUI IUFFER I BUFFER N ITEMS OUT SECTOR Q 65 ...

Page 71: ...900 SERIES MONARCH RESIDENT RAD FILE MANAGEMENT ROUTINE QFMR cont 66 READ WRITE DISC SECTOtt Q f I BUFFER Ott BUFFER SECTOR Q N NO WORDS TO IE TUNSFEUED I LOGICAL ALE NO f O OK tl ...

Page 72: ...900 SERIES MONARCH RESIDENT RAD FILE MANAGEMENT ROUTINE QFMR cont Load Interlace Connect ALC EOM POT IUC 67 ...

Page 73: ...he MONARCH system tape and load ing them into upper memory Execute magnetic tape FILL procedure for magnetic tape unit 0 on the W buffer for 900 Series Computers or on Channel A for 9300 Computers A tape reel containing a MONARCH system tape must be positioned at load point on tape unit 0 on the W buffer for 900 Series Computers or Channel A for 9300 Computers This program has been written so that...

Page 74: ...eo ute relocation blot for loader baaed on tAAX had 1 record R ff Olll Magnetic Tape 0 on W buff C nutIIber of data worda from word count In R extract load relocation word AcCUMUlate check add load relocation bias to addr field of dato words requir ing load relocation store data words It ted checksu check In R It Ran End Record LEXIT No 69 ...

Page 75: ...NARCH Reference Manual for a detailed descrip tion of the operations performed by this routine BRM QSYLDR with the initial load relocation bias in the A Register and the loader option switches in the B Register and QETBL address of last entry in loader s symbol table QSYSIN unit channel and I O subroutine addresses for binary input medium This information is in UAT format QSYSTP unit channel and I...

Page 76: ...ed to the loader Bits 9 through 23 of QSYSTP must contain the value of QTAPE when control is relin quished to the loader These are the only input subroutines ref erenced by the loader d The dump routine QDUMP This routine may be referred to by MONARCH routines or by a user to dump memory in octal with zero suppression T I I hi bI II II I d f lie oa er s sym o a e W nltla y contain externa e n t on...

Page 77: ...ess of last reference 15 I I I Symbol value of address of last reference 15 the third word of each item is an instance of one of the following o 8 Internal POP Definition 900 Series only Common or Program Length I Sub POP Sequence No type a a 6 1 012 7 8 9 CD I o Sub Not Used type B C a a a 0 a 1 2 6 7 8 9 I CD I I Ac tua I effec ti ve origin of POP subroutine 15 I Length of program or common bloc...

Page 78: ...d in the table Band C fields of subtype 00 items B 1 if L is length of a program C 1 if L is length of a labeled common block Treated as illegal input by the MONARCH Loader For 900 Series Computers only POP items whose subtype is 11 are not entered in the table The origin of the POP subroutine is stored in the address field of the actual POP transfer table entry at X lOOa when a POP definition is ...

Page 79: ...cation a Number of externaI references satisfied less 2 End of Loader1s Symbol Table Number of POP definitions 1t t Number of multiple external label definitions Number of multiple external POP definitions t Number of multiple external label references t Number of multiple external POP references t Load mode switch Purge test switch Location of load address for current data word or location of eff...

Page 80: ... _ _ 1 1 ____ STRT LOOP No S U B R S U B R Read next record R LOAD Process verified record R Is R an End Record with a transfer address A2 1 LDAPCT S SEArCH u B Position systerri tope at library R f 1 BIAS SEQNR where SEGNR BIAS for lost progrctm I IJded t length of that program w S TYPSYM U B Type looJer ssymool table 75 ...

Page 81: ...RCH ID record S U B R Yes Any unsatisfied label or 900 Series POP references Yes Set LOADM and PRGTST Read 1 record R from loader input medium Is R a MONARCH lD record No Is word count in R S 31 Yes Is word count in R 2 Yes CT WDCT word count 2 NRP No READ SUBROUTINE NOTE T End of MONARCH library was detected Purge loader s symbol table etc ...

Page 82: ...Store D in a location if the correspond ing modifier word is not present in R Is load oddress in R relocatable Yes LOC Ioad address BIAS iwD address of ist data word in R No r _______ Y Does IWD r qu ir common r locatlon 9300 no Computer 900 Series Have ali dara words in R been processed LOC load address Add BIAS to address field in IWD set bit 18 of LOC l to 1 if the biased address ex 77 ...

Page 83: ...en processed Y EXIT _ NEXTl G I D2 No Does address in 2nd word of item Store effective address in LOe Extract Sub T e cade from bits 0 1 of value word and store in ST X record type code LOAD SUBROUTINE POPs AND EXTERNAL LABELS POPs 900 Series only ...

Page 84: ...MONARCH LOADER cont DEF Search loader s symbol table for Item X with lame name C value word CHAIN o s CHAIN O_8 CHAIN 9_23_symbol value No G 79 ...

Page 85: ...t Yn Initialize symbol table pointer at first entry in loader s symbol table No F2 w NOTE J Names of C and X match and Record types of C and X agree MATCHED EXTERNAL POP PROCESSING SYMBOL TABLE SEARCH AND INSERT SUBROUTINE ...

Page 86: ... NSRTP Set bits 3 thru 8 of value word of new symbol table entry POPCTR 18_23 G2 X2 A POPCTR POPCTR POPCTR 1 IPOPD G3 SUBORG X2 01 X s 10 23 LOC 1O_23 G4 PXDCR PXRCR X2 POP sequence number from vaIue word of C A Actual POP code from X 81 ...

Page 87: ...t x address of input subroutine QTAPE S SETIO U Set unit and channel 8 R assignments Replace unit address codes and channel designators in all EOM SKS instructions used by loader in ut subroutines LOADER INPUT SUBROUTINES QPAPER S SETIO U Set unit and channel 8 R assignments ...

Page 88: ...Store search key Address in 10 and set search flag S QSYSTP U B IRead first 4 words of record R Was first word read a 6I Yes Are chan 9 16 SYSENO t No Are chan 9 16 10 10 1 A B search key Reset search flag No Uses the magnetic tape read subroutine used by the MONARCH Loader 83 ...

Page 89: ...ut subroutine in bits 9 23 QSYST unit and channel addresses of magnetic tape unit on wh ich the new system tape is to be written in bits 0 8 Address of a magnetic tape input output subroutine in bits 9 23 QSYSU unit and channel address of a card reader or paper tape reader in bits 0 8 Address of a card or paper tape in put subroutine in bits 9 23 QMSG unit and channel addresses of control message ...

Page 90: ...ffers The following subroutines in the MONARCH Control Routine are used by UPDATE QMSGRD GETWRD TYPOUT MTYIO CARD MAGTP MPRINT GLOSSARY OF ABBREVIATIONS UPDATE ROUTINE OST Old System Tape NST New System Tape UPD UPdate File o Current Record from Old System Tape R Current Record from Control Message Medium U Current Record from UPdate Fi Ie 85 ...

Page 91: ...T No b na of 1st arg l0AOMM No Writ current CST I vel 1 10 record on NST T curr nt CST 1 1 1 ID record Na chora 9 16 of current OST l v 1 1 10 record SYSENON R 4 Va SltCHl2 Search OST for I t __ aI 1 12 10 record Do 1 12 na of 1st CHI na In current CST leY 1 1 ID rec otd No ewlnd OST y s 1t 1 no S U It no Search OST for next level 1 10 record Write CUf Nftt OST lewl 21D on NST T current OST leY 1 ...

Page 92: ...ode switch Flag 0 indicating that It hal been written Chars 9 16010 SYSEND v UPDATE ROUTINE cont Type NONSTANDARD FORMAT I BREAKPOINT 1 9300 SENSE 1 Set Store 0 as current OST level 1or level 2 ID record Is level 1 Stop Iwltch set No Is na In 0 level 1 name of 2nd argument Is level 1 Stop Iwitch let No Is level 2 Stop Iwltchaet No Is name In 0 level 2 name of 2nd argument C6 BLOCKING SUBROUTINE 0 ...

Page 93: ... cont S U 8 R No Read 1 Record U from UPO File UPDIN Is U a binary or encoded record Is U a MONARCH 10 Record en U a level 1 MONARCH 10 Record Ves Chal 1 9 16 of U SYSENo la U a binary or encoded END Record Ves II UP clevie a paper tape read ...

Page 94: ...Iltlon OST at Int record gap preceding first record MONARCH loader Potltlon NST at load point Write MONARCH Bootstrap Loader on NST Read 1 record U from UPD file Is U a COpy or a MONARCH IO Record v Convert binary card Image to SOS Internal code 1 1 for level 1 MONARCH IO Rec UTVPE 2 for level 2 MONARCH IO Rec 3 for COPY 1MIICIge o for binary or encoded record SRCHL2 Search OST for next level 2 MO...

Page 95: ...Table paint NP at NIARGI Set Syntax Table painter SP at entry for COPV i e E COPV El Obtain nest word W from COPV meaage I code for W cod for E Ves Is there an action auoclated with E Ves r I Set X entry point to action wbroutinel E ___ ____ J DECODING OF COPY MESSAGES W current IMIICIg8 word E current syntax table entry UNxARGy means xth name ti yth argument ...

Page 96: ...Reload to start again Set CUrNnt NCord pointer to 2nd word of block Add cUlTent record length to block Ilze field of block _ sentlne rnet block ty flag Block flag initialized foN Rnt entry Set current record point to next available word in block No 91 ...

Page 97: ...F Origin of Action Subroutine OMTE Origin of Control tv essage Function Code Table entry for the current controI message PRMCTR Number of parameters suppl ied in the current control message Double precision literals are counted as 2 parameters ORGPRM Origin of table of parameter values Each parameter value occupies one word Parameter values are stored in the same order as the corresponding paramet...

Page 98: ...is one which loads a system routine and possibly one or more standard input output subroutines GSYSP or a subroutine which performs the same functions as GSYSP should be executed and control ultimately given to the MONARCH Loader via the instruction BRM QSYLDR Variable Approximately 6048 or 388 10 for FORTACT and approxi mately 608 or 4810 for ALGOLA Any or all of the following subrouti nes can be...

Page 99: ...tch FSWl llst output n8 FSWI Input 75 FSWQ binary output u R 7 Read In FORTRAN contJOl FORTRAN ACTION ROUTINE S QFMl Rewl aodisc fII U InMrt LlNKNO CIa label In D fll l Update Xl disc fil pointers FlPTA at 106 FlPTI at 1078 FlPTC at 110e Read In FORTRAN loader control ...

Page 100: ...LGOL ACTION ROUTINE Stare blank at MSfNC 1 2 Set MSfNC 0 and PAlMI 0 Compare PAlMI to panllMter counter PlMCTR Get flnt parameter from L Comparison no Get next parameter froIn L 1 U 4 I R Load ALGOl y 95 ...

Page 101: ...ed c Write an Action Subroutine and assemble it using either SYMBOL or META SYMBOL See preceding sections of this manual for a description of the characteristics of Action Subroutines d If the new function requires that a system routine be loaded from the system tape and executed then that system routine should be assembled using SYMBOL or META SYMBOL e Make a new system tape using the MONARCH Upd...

Page 102: ...IT EAX BRUERR BRM TYPM BRU MSGRST ERROR EXIT BRUERR TEXT ILLEGAL ADDRESS IN BRU I MESSAGE c Update the current MONARCH system tape inserting a new binary object program for TABLES and the binary object program for the Action Subroutine d Test the new function by furnishing such sample control messages as b BRU b BRU b BRU 017766 II 298 II 9988999 II Iega I legal illegal 97 ...

Page 103: ...ales 0 Clear 0 Well organized What is your overall rating of this publication What is your occupation 0 Very good 0 Fair o Very poor 0 Good 0 Poor Your other comments may be entered here Please be specific and give page column and line number references where applicable To report errors please use the XDS Software Improvement or Difficulty Report 1188 instead of this form Th lnk lnll fnr lnllr int...

Page 104: ...STAGE STAMP NECESSARY IF MAILED IN THE UNITED STATES POSTAGE WILL BE PAID BY Xerox Data Systems 701 South Aviation Boulevard EI Segundo California 90245 ATTN PROGRAMMING PUBLICATIONS STAPLE FIRST CLASS PERMIT NO 229 EL SEGUNDO CALIF I l I I I I ...

Page 105: ...701 South Aviation Boulevard EI Segundo California 90245 213 679 4511 XEROX Xerox IS a registered trademark of Xerox Corporation ...

Reviews:

Related manuals for 900 series