Table of Contents

DMSOLD Abstract

Statistics

Type ASSEMBLE
Source Lines : 1,716
Fixes Applied : 12
Most Recent Version : Tuesday, December 12, 1978
Last Fix ID : [HRC006DS]

Synopsis

Function

     TO INITIALIZE FOR AND TO PERFORM EACH LOADING OPERATION
     BY  PROCESSING   TEXT  FILES  WHICH  MAY   CONTAIN  THE
     FOLLOWING CARDS:  SLC, ICS,  ESD, TXT,  REP, RLD,  END,
     LDT, LIBRARY, AND ENTRY.

Attributes

     REENTRANT, DCSS/MODULE RESIDENT

Operation

     1.   ACQUIRE AND INITIALIZE A WORK AREA (LDRST).

     2.   CALL DMSLIO TO SET UP LOADER I/O OPERATIONS.

     3.   IF  TXTLIB DIRECTORIES  ARE NOT  IN FREE  STORAGE,
          CALL DMSLGTB TO BRING THEM IN.

     4.   CALL DMSLSBD TO PROCESS LOADER OPTION LIST.

     5.   PROCESS EACH TEXT FILE SEQUENTIALLY BY READING TEN
          CARDS AT A TIME, THEN  ANALYZING EACH OF THE CARDS
          TO DETERMINE ITS  TYPE.  FOR EACH CARD,  BRANCH TO
          THE  APPROPRIATE ROUTINE.
             EACH ROUTINE  WILL RETURN  TO THIS  READ
          ROUTINE FOR THE NEXT CARD.

     6.   AT END-OF-FILE ON  LAST TEXT FILE OR  UPON FINDING
          AN LDT CARD, BEGIN TXTLIB SEARCHING TO SATISFY ANY
          UNDEFINED  REFERENCES  (DMSLIB).  FOR  EACH  MATCH
          DMSLIB WILL RETURN TO THE READ ROUTINE (IN STEP 5)
          TO CONTINUE LOADING.

     7.   WHEN NO MORE  MATCHES CAN BE MADE,  SAVE SPECIFIED
          STARTING  ADDRESS,  SAVE  VALUE  OF  THE  LOCATION
          COUNTER,  AND LIST  ANY UNDEFINED  ENTRIES AT  THE
          TERMINAL.

     8.   CLOSE TXTLIBS AND FREE THE WORK AREA

     9.   RETURN TO DMSSLN.

     NOTE:  ANY CHANGES MADE TO THIS MODULE SHOULD
           ALSO BE CONSIDERED FOR DMSLDR.

Calls to Other Routines

     DMSLSBA  - FROM VARIOUS ROUTINES FOR HEX TO BINARY CONVERSION
     DMSLSBC  - FROM ICS ROUTINE TO DEFINE CSECT, FROM ESD
                TYPE 1 TO DEFINE ENTRY
     DMSLSY  - FROM ESD PRIVATE CODE RTN.
     DMSLGTB  - TO SETUP TEMPORARY TXTLIB DICTIONARIES.
     DMSLIO   - FOR ERROR MESSAGES AND LOAD MAP PROCESSING
     DMSLIB   - TO SEARCH TEXT LIBRARIES FOR UNDEFINED ENTRY NAMES
     DMSSLNDY - FROM ESD ROUTINE IF OS LINK OR LOAD WAS ISSUED
     DMSSCN   - FROM CTLCRD1 TO A TEXT FILE CARD
     DMSSMNSB - TO INITIALIZE FREE STORAGE IF START.
     DMSBRD   - TO READ TEXT FILES AND TXTLIBS.
     DMSFNS   - TO CLOSE READING
     DMSLSBB  - FROM RLD ROUTINE TO ADD TO UNDEFINED STRINGS
     DMSLSBD  - TO PROCESS LOADER OPTIONS
     DMSLGTA  - TO FREE TXTLIB DIRECTIONS
     DMSFREB   - FOR FREE STORAGE