• Aucun résultat trouvé

SET PROTECT BITS

1. The set protect bit routine is used to set memory protect in the callers test area. Care must be used to ensure protect bits are not· altered in the monitor.

CALL

+0 +1 +2

PARAMETERS +0

+1

RETURN

RTJ-ADC NUM

(SETPP) fwa UU Return

First word address of protect a rea Number of words to protect

Protect bits are set in callers protect area C. CLEAR PROTECT BITS

E-30

1. The clear protect bit routine is used to clear memory protect bits in the callers test area. Care must be used to ensure protect bits are not altered in the monitor.

CALL

+0 +1 +2

PARAMETERS +0

+1

RETURN

RTJ- (CLRPP)

ADC fwa

NUM Ull

Return

First word address of protected area Number of words to clear

Protect bits are cleared in callers protected area.

60182000 J

V.

UTILITY -A.

B.

DELAY 1. CALL

RTJ (FIXDLY)

+0 NUM tttt TIMER

+1 Return

PARAMETERS

+0 tttt

Time in millis econd s. Range

= o

to 7FFF.

+1 Return after delay.

RANDOM DE LA Y

1. Minimum and maximum values: in milliseconds are given. The delay will range somewhere between these two values.

CALL

RTJ- (RDMDLY)

+0 NUM xxxx

+1 NUM yyyy

+2 Return

PARAMETERS

+0 xxxx

Minimum value in milliseconds.,

+1 yyyy

Maximum value in milliseconds.

+2 Return after delay.

60182000 J E-31

PRINTER/TELETYPE DUMP (DMPA3B Test No. 3B)

1. INTRODUCTION

II.

The Dump routine is a service routine for obtaining memory dumps on a line printer or a teletype. This routine is intended for use by customer engineers for dumping SMM test buffer areas during troubleshooting. and also to dump all of memory (if using a printer) when reporting diagnostic problems by DPSR. Snap dump and break-point dump options are also included for diagnostic debugging.

REQUIREMENTS A.

B.

HARDWARE REQUIREMENTS 1. A 1700 series computer 2. One of the following:

a. 1742 Line Printer b. 1740- 50 1 Line Printer c. 9322/9323 Line Printer d. 1711/1712/1713 Teletype SOFTWARE REQUIREMENTS

1. Dump loads under control of SMM17.

2. Dump does not take control from the monitor at any time. The operator must give the routine control by starting from its initial address (IA).

3. Dump is less than 200

16 locations long.

60182000 L 100-1

III. OPERATIONAL PROCEDURE A. LOADING PROCEDURE

The routine must be loaded under SMM17 as test number 3B. The selected equip-ment address determines which device type will be used. An equipequip-ment address of 0091 selects the teletype. Setting bit 15 of the equipment address selects a 9322/9323. All other equipment addresses select a 1742/1740-501. After being loaded, this routine repeatedly executes test exit monitor calls until the frequency (FC) equals zero and the routine is removed from the SMM test list. To now execute the dump program, it must be started at its initial address (IA).

B. PARAMETERS

1. Forcing a Parameter Stop

A parameter stop in Dump is not determined by the Stop/Jump word. A parameter stop will always occur when the routine is started at IA by the operator. There are two methods of forcing a parameter stop to start the routine.

a. If the contents of registers are not important at the time of entering Dump:

1) Master / Clear.

2)- Select P register and set P=IA of the routine.

3) Run.

b. If the contents of the registers are important at the time of entering Dump:

1) Depress STEP key.

2) Continue depressing STEP key until INSTRUCTION light comes on.

3) Select and clear X register.

4) Select and clear P register.

5) Set P=IA of the routine.

6) Run.

100-2 60182000 L

2. Selecting Parameters

60182000 L

When the routine is started at lA, the following parameter stops will occur.

Al = 3B2l ID word

Ql = 0000 or Snap address (Biased address, not listing) A 1 /Ql are used to select one of three dumping modes:

Panic dump, Snap dump, or Breakpoint dump.

All three modes also contain an A2/Q2 parameter stop (see next page).

Panic dump is selected when Ql is set to 0000. In this dumping mode the dump is initiated immediately after the parameter stop. When the dump is complete, the parameter stop will again occur. Any dumping mode may then be selected.

Snap dump is selected when Ql is set to a non-zero snap address and Al is set to 0000. In this dumping mode a dump is initiated for each time the instruction at the snap address is executed. The dumps will be enabled until a new dump is selected by forcing a dump routine parameter stop. If an illegal snap address is selected, the Al /Ql stop will be repeated with Ql=OOOO. Refer to Snap/Breakpoint dump "caution", Section V.

Breakpoint dump is selected when Ql is set to a non-zero snap (break-point) address and Al is not altered. In this dumping mode a dump is initiated for each time the instruction at the snap address is executed.

After each dump, a dump routine parameter stop occurs. Any dumping mode may then be selected. If a panic dump is selected, A 1 should be unaltered to enable another parameter stop after the dump is complete.

If a snap or breakpoint dump is selected, a new snap address may be selected. A different area of memory to be dumped may be selected with any of the dumping modes. Once a Snap dump is selected, a Breakpoint dump can only be reselected by forcing a dump routine parameter stop. If an illegal Snap address is selected, the A 1 /Ql stop will be repeated with Ql=OOOO. Refer to Snap/Breakpoint dump

"caution", Section V.

100-3

A2 = First Word address of memory area to dump Q2

=

Last Word address of memory area to dump

If Q2 is set to 0000, no memory dump will occur. Only the contents of the registers A. Q, I, and M will be dumped.

Documents relatifs