Type ASSEMBLE
Source Lines : 728
Fixes Applied : 3
Most Recent Version : Tuesday, December 12, 1978
Last Fix ID : [R14823DS]
Module
DMSMOD
Function
GENMOD. TO CREATE A FILE WHICH IS A CORE IMAGE COPY OF LOADED OBJECT CODE LOADMOD. LOAD A FILE WHICH IS IN CORE IMAGE FORM.
Attributes
NUCLEUS RESIDENT, REENTRANT
Operation
GENMOD- GENMOD ISSUES THE START (NO) COMMAND TO FINISH LOADING OF OBJECT PROGRAMS. NEXT ERASE THE OLD MODULE IF IT EXISTS. THE START AND ENDING LOCATIONS ARE DETERMINED FROM THE USER OPTIONS 'TO' AND 'FROM' OR BY DEFAULT. THE DEFAULT START IS THE ADDRESS OF THE FIRST LOADER TABLE NAME, THE DEFAULT END IS THE CURRENT SETTING OF LOCCNT IN NUCON. AN EIGHTY BYTE RECORD IS WRITTEN AS THE FIRST RECORD OF THE THE MODULE. THIS RECORD CONSISTS OF THE NUCON LOADER INFORMA- TION. NEXT THE TEXT INFORMATION IS WRITTEN TO THE MODULE FILE IN VARIABLE SIZE RECORDS UP TO 65535 BYTES. IF THE MODULE IS NOT FOR A TRANSIENT ROUTINE AND NOMAP WAS NOT SPECIFIED THE LOADER TABLE IS WRITTEN AS THE LAST MODULE FILE RECORD. CLOSE THE NEW MODULE FILE AND RETURN TO THE CALLER. LOADMOD- LOADMOD CHECKS FOR THE EXISTENCE OF THE REQUESTED MODULE THEN READS THE TEXT INFORMATION INTO THE LOCATIONS SET UP WHEN THE MODULE WAS CREATED. THE MODULE NAME IS STORED IN THE APPROPRIATE NUCON LOCATION. IF THERE IS A LOADER TABLE RECORD IN THE MODULE IT IS READ INTO THE LOADER TABLE LOCATION IN STORAGE. SELECTED LOADER INFORMATION IS STORED IN NUCON. RETURN TO CALLER
Calls to Other Routines
DMSERS DMSBWR DMSFNS DMSFREB DMSSMNSB DMSERR DMSSTT DMSBRD