11.07.2015 Views

Program Logic Manual - All about the IBM 1130 Computing System

Program Logic Manual - All about the IBM 1130 Computing System

Program Logic Manual - All about the IBM 1130 Computing System

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SNOFF SubroutineFixed Area is <strong>the</strong> buffer specified by SDBUF. It isone sector long if <strong>the</strong> core size is 4K; o<strong>the</strong>rwise,This subroutine is executed by all STORE operations. it is seven sectors long.It terminates <strong>the</strong> STORE function as follows. LET/FLET sectors are read and written one ata time, using <strong>the</strong> buffer specified by LETAR.• Moves <strong>the</strong> cartridge ID of <strong>the</strong> TO drive into <strong>the</strong> When STORE reads binary records, it reads <strong>the</strong>mSTORE terminal message. into <strong>the</strong> area specified by THIS and NEXT. If storingfrom cards, double buffering is used; THIS and NEXT• Moves <strong>the</strong> disk block address where <strong>the</strong> data or are each considered to be 80 words long. If .storingprogram was stored into <strong>the</strong> STORE terminal from paper tape, double buffering is not used; THISmessage.and NEXT are considered to be an extended buffer,large enough to contain <strong>the</strong> maximum length record• Moves <strong>the</strong> disk block count of <strong>the</strong> program or data (108 words).into <strong>the</strong> STORE terminal message.• Uses <strong>the</strong> PRINT subroutine in DUPCO to print<strong>the</strong> terminal message.Errors Detected• Exits to <strong>the</strong> REST subroutine in DUPCO to clear<strong>the</strong> CATCO switches and restore DCTL if it is not The following DUP errors are detected in STORE:in core storage. D30, D31, D33, D90, and D93.ST700 SubroutineThis subroutine is executed when performing aSTOREMOD operation. It performs <strong>the</strong> followingfunctions:• Computes <strong>the</strong> location within <strong>the</strong> User Area orFixed Area sector at which <strong>the</strong> old version of <strong>the</strong>program begins.• Moves <strong>the</strong> new version of <strong>the</strong> program into <strong>the</strong>buffer to replace <strong>the</strong> old version, one word at atime.When an output sector is completed, it is writtento <strong>the</strong> User Area or Fixed Area. The next User orFixed Area sector is <strong>the</strong>n read into <strong>the</strong> buffer toallow <strong>the</strong> word by word replacement to continue.The entire STOREMOD process is under controlof <strong>the</strong> disk block count. The number of disk blocksreplaced by <strong>the</strong> new version is determined by <strong>the</strong>disk block count of <strong>the</strong> old version, as found in LET/FLET. STOREMOD does not alter this count.Buffers Used By STOREThe disk buffer used for moving data or programsbetween Working Storage and <strong>the</strong> User Area or <strong>the</strong>FILEQThis phase of DUP is read into core storage by DCTLwhen <strong>the</strong> Count field (27-30) of <strong>the</strong> STORECI controlrecord is non-zero. The function of FILEQ is toprocess <strong>the</strong> records following <strong>the</strong> STORECI controlrecord and place <strong>the</strong> processed records into <strong>the</strong>SCRA for use by <strong>the</strong> Core Load Builder. Four typesof STORECI control records are processed by thisphase; *LOCAL, *NOCAL, *FILES, and G2250.FILEQ consists of <strong>the</strong> subroutines LC000, FR000,GR200, and LF200.LC000This subroutine processes *LOCAL and *NOCALcontrol records. A mainline name is not specifiedon <strong>the</strong>se records when <strong>the</strong>y follow <strong>the</strong> STORE CIcontrol record; an error is indicated if one is specified.Thus, <strong>the</strong> mainline name is set to blanks. <strong>All</strong>subroutine names specified in *LOCAL or *NOCALcontrol records are converted to name code.LOCAL/NOCAL information for <strong>the</strong> core loadto be built is stored in <strong>the</strong> SCRA.The format of LOCAL/NOCAL information in <strong>the</strong>SCRA is shown on page 22.54

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!