Google
 

Trailing-Edge - PDP-10 Archives - BB-L288A-RM - swskit-utilities/rstrsh.hlp
There is 1 other file named rstrsh.hlp in the archive. Click here to see a list.
                          HELP FILE FOR RSTRSH



     RSTRSH is a  program  whose  purpose  is  to  detect  bug-induced
changes  in the portion of the resident monitor code present in a dump
file,  since  the  resident   monitor   code   is   not   at   present
write-protected.   Since  BOOT will overlay part of this region, it is
not all present to be checked.

     The inputs to the program consist of the monitor and dump  files,
the page numbers to start and end the comparison, and the output file.
The page numbers given should be selected to avoid the BOOT pages, and
may  be  determined by inspection or experiment for any given monitor.
The region of interest is of course the  RSCOD  PSECT,  excluding  the
pages overwritten by BOOT.

     The output consists of a simple octal listing of the  address  at
which  a difference occurs, the value from the monitor and dump files,
and the exclusive-OR (XOR) of the two values,  indicating  which  bits
have changed.

     There will be a few locations in  the  RSCOD  region  which  have
changed,  and  will show up as changes in all dumps.  These locations,
such as JB0TT or TTFEVT+1 or TTPTVT+1 are modified by  the  system  at
initialization time, and should contain known values.  These locations
can be resolved by going to FILDDT or to  the  fiche/listings.   Other
locations,  ones  which  cannot  be  resolved  in this manner indicate
resident code modification, which is what the program was designed  to
discover.

     RSTRSH has a REENTER option where it assumes  a  set  of  default
inputs  which  have  been  assembled-in to the program, and allows the
avoidance of typing in the inputs.

     The nature of this program allows it to be used  to  compare  the
data  regions of two EXE-format files, over a range of pages, but that
was not the intent of the program.
@! EXAMPLE OF PROVIDING THE INPUTS TO RSTRSH BY HAND
@
@ENABLE
$RSTRSH

Monitor File: PS:<SYSTEM>MONITR.EXE

Dump File: PS:<SYSTEM>DUMP.EXE

Beginning Page Number (octal): 14

Ending Page Number (octal): 67

Output Differences to File: TTY:

Address    Monitor         Dump       XOR of Values

 20576/            0   306000450000   306000450000
 20577/            0   457000717000   457000717000
 34756/            0         400205         400205
 52531/ 777777777777              0   777777777777
 53442/ 777777777777            206   777777777571

5  Differences Encountered
$
$
$! EXAMPLE OF USING THE REENTER OPTION TO SELECT THE DEFAULT VALUES
$
$
$GET RSTRSH
$REENTER

Address    Monitor         Dump       XOR of Values

 20576/            0   306000450000   306000450000
 20577/            0   457000717000   457000717000
 34756/            0         400205         400205
 52531/ 777777777777              0   777777777777
 53442/ 777777777777            206   777777777571

5  Differences Encountered
$
$
[End of RSTRSH.HLP]