(c) 1985, H. Reints, AKZO PHARMA dept. SDA. ------------------------------------------- SQMAP is a program to squeeze LOAD MAPs to a smaller file, deleting most PSECT information and FORTRAN-OTS routine names. The squeezed load map contains only information about overlay regions and segments, such as the size and the routine names in each section. Routine names containing $'s or .'s are excluded, as well as names that do not start with a character from A to Z. Now also PSECT names that do not contain $'s or .'s are listed. When running SQMAP, it prompts for the name of the load map file, the default device is DK: and the default extension is .MAP. When this file name is entered, it prompts for the name of the output file to be produced, default device and file name are the same as the actual device and name of the input file, the default extension is .SMP. The output file is always listed on the terminal as well, so when the load map is only to be checked, enter NL: for the output device rather than TT: (in the last way, each line would appear twice). The following switches can be used at the output file name: "/Q" to suppress the terminal output "/S" to suppress the names of the globals in each segment, thus only listing the segment sizes. "/H" to list only the high limit (overriding "/S") "/P" to print the output file automatically "/C" to include a cross reference, the load map must then also contain a cross reference (LINK with "/N" option), ignored when "/S" or "/H" is used Possible modes for input: RUN SQMAP Load map? infil Short map? outfil[/sw] or: RUN SQMAP infil Short map? outfil[/sw] or: RUN SQMAP Load map? infil,outfil[/sw] or: RUN SQMAP infil,outfil[/sw] When the [/sw] is typed immediately after the comma, the default output file name is used. SQMAP can be run from an indirect command file and takes input from this file. A one-page plot of the overlayed memory useage is included. SQMAP needs the following disk space for scratch files: 1 file of 8 blocks 2 files of 16 blocks unless "/S" or "/H" is used 1 file of 32 blocks when "/C" is used without "/S" or "/H"