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.

Likewise, information acquired by Phase 1 thatmust be passed on to Phase 2 and error messages requiredby both phases reside in a low core positionso as not to be overlayed by Phase 2.PHASE 2At <strong>the</strong> conclusion of ei<strong>the</strong>r an initial load or reload,<strong>the</strong> SLET and Reload Tables are checksummedand <strong>the</strong> result stored in <strong>the</strong> last word of <strong>the</strong> ReloadTable sector.Phase 2 displays appropriate error messages, asI necessary, using <strong>the</strong> WRTYZ subroutine in corestorage.FUNCTIONS, INITIAL LOAD AND RELOADPhase 2 checks <strong>the</strong> phase ID number sequence forascending order and completeness throughout aninitial load, and during <strong>the</strong> addition of one or moreprograms during a reload. At o<strong>the</strong>r times duringa reload, <strong>the</strong> phases present should be in ascendingorder, but omissions are allowed.Phase 2 performs a checksum test on all type A(data) records.Phase '2 builds <strong>the</strong> Reload Table in core storageas <strong>the</strong> monitor system program phases are loaded.Each 3-word entry in <strong>the</strong> table consists of <strong>the</strong> IDnumber of a phase requesting SLET data, <strong>the</strong> relativelocation within <strong>the</strong> requesting phase where <strong>the</strong>SLET data is to be stored, and <strong>the</strong> number of SLETitems to be supplied by <strong>the</strong> <strong>System</strong> Loader. On aninitial load, this Reload Table is written to disk insector nRTBL.If so indicated in columns 12 through 15 of <strong>the</strong>Load Mode control record, phase 2 bypasses <strong>the</strong>programs described by phase ID pairs 2, 3, 8 and/or 9 from <strong>the</strong> PHID control record(s).Phase 2 updates <strong>the</strong> version and modification levelnumbers in <strong>the</strong> parameter #SYSC in sector ( 9.,D DCOMof <strong>the</strong> cartridge. These numbers are taken directlyI from <strong>the</strong> first PHID control record. No comparisonwith previous version and modification level numbersis made.Phase 2 determines from <strong>the</strong> data obtained from<strong>the</strong> <strong>System</strong> Configuration records which devices are<strong>the</strong> principal I/0 and principal print devices. Phase2 builds five special sets of SLET entries for <strong>the</strong>specified devices as well as for <strong>the</strong> principal I/0 andprint device conversion subroutines.Phase 2 steps through <strong>the</strong> Reload Table andsearches out every phase requesting SLET data.It <strong>the</strong>n searches out <strong>the</strong> SLET data that is requested,places it in <strong>the</strong> requesting phase, and writes thatphase back to disk. This continues until <strong>the</strong> end of<strong>the</strong> Reload Table (/F FEE) is reached.Phase 2 substitutes zeros for <strong>the</strong> SLET data requestedby a phase if that phase requested a programdescribed by phase ID pair 2, 3, 8 or 9 and thatprogram is not present on <strong>the</strong> cartridge. For examp:le,<strong>the</strong> Assembler <strong>Program</strong> (represented by phase ID pair3) may have been deleted or never loaded.FUNCTIONS, INITIAL LOAD ONLYPhase 1 has cleared to zero <strong>the</strong> sectors that willbecome <strong>the</strong> SLET table. The SLET entries arefilled in as each monitor system program is stored.Phase 2 checks for missing phases. <strong>All</strong> phasesspecified in <strong>the</strong> PHID control record must be present,except when one or more programs are bypassed.Phase 2 keeps a record of <strong>the</strong> highest sector loadedso that <strong>the</strong> sector addresses for <strong>the</strong> Supervisor ControlRecord Area (SCRA), Core Image Buffer (CIB), LocationEquivalence Table (LET), and User Area (UA) ondisk may be correctly established.Phase 2 checks <strong>the</strong> data obtained from <strong>the</strong> I,oadMode control record, and if a program is bypassed,no gap is left in SLET. The next program loadedfollows immediately on <strong>the</strong> cartridge and <strong>the</strong> SLETentry for its first phase fills <strong>the</strong> first availablelocation in SLET.FUNCTIONS, RELOAD ONLYPhase 2 verifies that <strong>the</strong> file-protection address isnot greater than /062F. (O<strong>the</strong>rwise, phase 2 cannotbe temporarily stored on disk.)Each time a phase with a positive phase ID numberis reloaded, <strong>the</strong> Reload Table is searched. If thatphase ID is present, it is removed and <strong>the</strong> tablerepacked.Phase 2 updates <strong>the</strong> SLET entries for each phaseas that phase is reloaded.Phase 2 provides for expansion of <strong>the</strong> system into<strong>the</strong> Cushion Area when required. If a phase growsby more than one sector, it is expanded accordingly.<strong>All</strong> subsequent SLET entries are updated each timean expansion occurs. A check is made to see that<strong>the</strong> Supervisor Control Record Area (SCRA) is notoverlayed.The phase ID range of an existing program may beexpanded at <strong>the</strong> 'upper end' to permit addition of oneor more phases to that program. In such a case,<strong>the</strong> phase whose ID is one less than <strong>the</strong> first phase tobe added must be present so that a pointer can locate<strong>the</strong> position in SLET where data for <strong>the</strong> added phasewill be inserted. SLET entries above <strong>the</strong> addedphase will be shifted to provide 4 SLET words for10

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

Saved successfully!

Ooh no, something went wrong!