STAND-ALONE UTILITY PROGRAMS

These utility programs -- each self-loading and complete with subroutines -- are separate from the System Library and enable the user to perform operations without Monitor system control. The first three programs are available in card and paper tape, the last two in paper tape only. The utility programs are:

CONSOLE PRINTER CORE DUMP

This program aids the user in debugging programs by dumping selected portions of core on the Console Printer.

Format

Each core location is dumped as a four-digit hexadecimal word with a space separating each word. The first word dumped is the starting address of the dump (as specified in the console entry switches).

Operating Procedures

Dumping continues until IMM STOP Is pressed. To continue, press PROGRAM START.

PRINTER CORE DUMP

This program dumps core in hexadecimal format on either the 1403 Printer or the 1132 Printer, whichever is in a ready status. If both are ready, the dump will be on the 1403.

NOTE: "Not present" is equivalent to "not ready".

Format

Dumping starts at location $ZEND. Each line contains a four-digit hexadecimal address, followed by 16 four-digit hexadecimal words. A space separates the address and each word in the printed line. An additional space is inserted between each group of four words.

To decrease dump time, the program does not print consecutive duplicate lines. Before printing a line, it compares the next 16 words with the 16 words just printed. If they are identical, the program goes on to the next 16 words in core. If they are not identical, the printer spaces one line and prints. The address printed is that of the first word on the line.

Operating Procedures

Dumping starts at location $ZEND and continues to the end of core. The user may halt the dump at any time by pressing IMM STOP. Press PROGRAM START to continue on the 1403. The 1132 has no restart capabilities.

DISK CARTRIDGE INITIALIZATION PROGRAM (DCIP)

The Disk Cartridge Initialization Program (DCIP) is composed of

Initialization

Initialization of a cartridge is required before the Monitor system can be loaded.

The disk I/O subroutines operate with up to three defective cylinders, i.e., three cylinders that contain one or more defective sectors.

Cylinder zero must not be a defective cylinder; otherwise, the cartridge cannot be initialized.

At the completion of disk initialization, a four-word table is written on sector@lDAD. Words 1, 2, and 3 contain the address of sector zero of any defective cylinders found (maximum of three). When there are no defective cylinders, these words contain /0658, e.g., the table for a cartridge with a defect only in sector 9 (cylinder 1) would contain:

    /0008
    /0658
    /0658

Word 4 contains the cartridge ID. The copy code (word 5) through word 270 Is cleared to zero, and the Cold Start Error Message (including the program to type the message) is stored on sector @IDAD starting at word 271.

After sector @DCOM has been cleared to zeros, certain parameters are initialized to indicate that this is a non-system cartridge. The parameter set, including their initial values, are listed below:

#ANDU /0180 (disk block address) End of User Area, adjusted (update during JOB T)
#BNDU /0180 (disk block address) End of User Area, base
#FPAD /0018 (sector address) File protect address on this cartridge
#CIDN XXXX Cartridge ID of this cartridge
#CIBA /0008 (sector address) First sector of CIB on this cartridge
#ULET /0002 (sector address) First sector of LET on this cartridge

An initial LET is also created on sector @RIAD. Its contents are as follows:

Word 1 LET sector number /0000  
Word 2 Sector address of UA /0018  
Word 3 Reserved /0000  
Word 4 Words available in this sector /0138  
Word 5 LET/FLET chain address /0000 (Last LET/FLET sector)
Word 6 1st Word of 1DUMY entry /7112
brace to group this and the next row's 4th cell1DUMY in packed
truncated EBCDIC
Word 7 2nd Word of 1DUMY entry /4568
Word 8 Size of 1DUMY /6280 (Size of WS available in disk blocks)
Words 9-320 of RIAD all contain zero.

Copy

The disk copy subroutine of DCIP

Dump

The disk dump subroutine of DCIP

The address of the first sector to be dumped and the number of consecutive sectors to be dumped are specified in the console entry switches.

Each sector printout is 20 lines -- 16 four-digit hexadecimal words per line. Two sectors are printed on each page and each sector is preceded by a 3-word header. The first digit of the first header word is the drive number. The remaining three digits of the first header word show the physical sector address of the sector being dumped. The second header word is the sector address that actually appears on the sector being dumped. The third word is the logical sector address, taking into account any defective cylinders. If the user dumps a sector that is in a defective cylinder, the third word will contain the letters DEFC.

Operating Procedures

If the system configuration is 2501-1442, make the 1442 not-ready. (On the paper tape system, place the DCIP tape in the reader, positioning the tape so that one of the delete codes following the program name in the leader is under the read starwheels.)

NOTES:

  1. At any point in this program, an invalid entry in the console entry switches will cause the following message to be printed.
        ENTRY ERROR ... RETRY
    
    Correct the error and press PROGRAM START to continue.
  2. If a drive is not ready, the standard preoperative trap to $PRET is made. The Accumulator contains /50X0 where X is the number of the physical drive that is not ready.
  3. All console entry switch settings are printed on the Console Printer as 4-digit hexadecimal numbers.
  4. DCIP messages refer to console entry switches as "bit" switches.
  5. If the system has two card readers, only the reader wired for IPL should be in the ready state.
  6. A DCIP function can be aborted at any time by pressing keyboard INT REQ. The user is then given the option of repeating the current function or selecting a new function.

Initialization (Console Entry Switch 0 On)

If more than 3 defective sectors are printed, or if cylinder zero is defective, or if the sector address cannot be written on every sector, the cartridge cannot be usedwith the Monitor system and the following message is printed:

    CARTRIDGE DEFECTIVE

The last message printed is:

    TURN ON SW 0 FOR ADDITIONAL TESTING

Copy (Console Entry Switch 1 On)

NOTE: When copying is complete, the program returns to select the next DCIP function and the option messages are printed. If a disk read/write error occurs, the following message is printed.

    DISK ERROR... TURN ON SW 0 TO RETRY

At the WAIT, the Accumulator contents will be /0001 for a read error or /0002 for a write error. The Extension will contain /XYYY where X is the drive code and YYY is the address of the sector in error.

Turn console entry switch 0 on and press PROGRAM START to rewrite or reread the sector in error.

Leave console entry switch 0 off and press PROGRAM START to ignore the error and continue. If the error is ignored, the contents of the object cartridge will reflect the last attempt to copy the sector in error.

Dump (Console Entry Switch 2 On)

PAPER TAPE REPRODUCING PROGRAM

This program, available only with the paper tape system, is a self-loading paper tape strip that reproduces paper tapes. The program reads a character and punches it with no intermediate conversion.

Operating Procedure

STAND-ALONE PAPER TAPE UTILITY PROGRAM (PTUTL)

This program, also included as an executable program in the System Library, is a self-loading paper tape utility program that allows the user to enter records from the 1134 Paper Tape Reader or the Keyboard. Program output is to the 1055 Paper Tape Punch and/ or the Console Printer.

Operating Procedures



But wait, there's MORE...

Valid HTML 4.01 Transitional