Google
 

Trailing-Edge - PDP-10 Archives - klad_sources - klad.sources/dskfa.txt
There are no other files named dskfa.txt in the archive.
;DSKFA







				IDENTIFICATION
				--------------

	PRODUCT CODE:		AH-E339A-DD

	DIAGNOSTIC CODE:	DSKFA

	PRODUCT NAME:	 	DSKFAA0 DECSYSTEM 2020
				INSTRUCTION TIMING DIAGNOSTIC

	VERSION:		0.1

	DATE RELEASED:		APRIL 1978

	MAINTAINED BY:		DIAGNOSTIC ENGINEERING

	AUTHOR:			JOHN R. KIRCHOFF

		        COPYRIGHT (C) 1978

	        DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.

	THIS SOFTWARE IS FURNISHED UNDER A LICENSE FOR  USE  ONLY  ON  A
	SINGLE COMPUTER SYSTEM AND MAY BE COPIED ONLY WITH THE INCLUSION
	OF THE ABOVE COPYRIGHT NOTICE.   THIS  SOFTWARE,  OR  ANY  OTHER
	COPIES  THEREOF, MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE
	TO ANY OTHER PERSON EXCEPT FOR USE ON SUCH SYSTEM AND TO ONE WHO
	AGREES  TO  THESE  LICENSE TERMS.  TITLE TO AND OWNERSHIP OF THE
	SOFTWARE  SHALL  AT   ALL  TIMES  REMAIN  IN  DIGITAL  EQUIPMENT
	CORPORATION.

	THE INFORMATION IN THIS DOCUMENT IS SUBJECT  TO  CHANGE  WITHOUT
	NOTICE  AND  SHOULD  NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL
	EQUIPMENT CORPORATION.

	DIGITAL EQUIPMENT CORPORATION ASSUMES NO  RESPONSIBILITY FOR THE
	USE  OR  RELIABILITY  OF  ITS SOFTWARE IN EQUIPMENT WHICH IS NOT
	SUPPLIED BY DIGITAL EQUIPMENT CORPORATION.
						MAINDEC-10-DSKFA.TXT
							PAGE 2

			TABLE OF CONTENTS
			-----------------


1.0	ABSTRACT

2.0	REQUIREMENTS

2.1	EQUIPMENT

2.2	STORAGE

2.3	PRELIMINARY PROGRAMS

3.0	PROGRAM PROCEDURES

3.1	LOADING PROCEDURE

3.2	STARTING PROCEDURE

3.3	OPERATING PROCEDURE

4.0	DATA SWITCH FUNCTIONS

5.0	TIME MEASUREMENTS

6.0	ACCURACY

7.0	TIME CALCULATIONS

8.0	OPERATIONAL VARIATIONS

9.0	MISCELLANEOUS

10.0	LISTING
						MAINDEC-10-DSKFA.TXT
							PAGE 3

1.0	ABSTRACT

	THE DECSYSTEM 2020 INSTRUCTION TIMING DIAGNOSTIC IS DESIGNED
	TO ALLOW THE EXECUTION TIMES OF THE DIFFERENT CLASSES OF
	DECSYSTEM 2020 INSTRUCTIONS TO BE TIMED.  THE TIME MEASUREMENTS
	ARE THEN USED TO INSURE THAT THE PROCESSOR IS OPERATING
	CORRECTLY.

2.0	REQUIREMENTS

2.1	EQUIPMENT

	A DECSYSTEM 2020 EQUIPPED WITH A MINIMUM OF 32K OF MEMORY.
	CONSOLE PROCESSOR
	CONSOLE TELETYPE
	LOAD DEVICE

2.2	STORAGE

	THE PROGRAM FITS INTO THE FIRST 32K OF MEMORY.
	PROGRAM BEGINS AT 30000(8).

2.3	PRELIMINARY PROGRAMS

	PROCESSOR DIAGNOSTICS
	MEMORY DIAGNOSTICS

3.0	PROGRAM PROCEDURES

3.1	LOADING PROCEDURE

	THIS DIAGNOSTIC REQUIRES THAT THE DECSYSTEM 2020 SUBROUTINE
	PROGRAM BE RESIDENT IN THE PDP-10.

	LOAD VIA CONSOLE PROCESSOR OR VIA "SMMON".

3.2	STARTING PROCEDURE

	A.  SELECT OPERATIONAL CONSOLE DATA SWITCH SETTINGS
	    (REFER TO 4.0 DATA SWITCH FUNCTIONS).

	B.  STAND-ALONE STARTING ADDRESS IS 30000.
						MAINDEC-10-DSKFA.TXT
							PAGE 4

3.3	OPERATING PROCEDURE

	THE PROGRAM WILL MAKE ONE PASS PRINTING OUT THE TIMING
	INFORMATION AND THEN HALT.

	PROGRAM MAY BE RESTARTED AT LOCATION 30000 AT ANY TIME.

	PROGRAM RUNNING TIME IS LESS THAN 5 MINUTES.

4.0	DATA SWITCH FUNCTIONS

	SWITCH		STATE	FUNCTION
	------		-----	--------

	0    ABORT	0	NORMAL OPERATION
			1	ABORT AT END OF PASS

	1    RSTART		NOT USED

	2    TOTALS		NOT USED

	3    NOPNT	0	NORMAL TYPEOUT
			1	INHIBIT ALL PRINT/TYPEOUT
				(EXCEPT FORCED)

	4    PNTLPT	0	NORMAL OUTPUT TO TTY
			1	PRINT ALL DATA ON LPT
				(LOGICAL DEVICE, USER MODE)

	5    DING		NOT USED

	6    LOOPER		NOT USED

	7    ERSTOP		NOT USED

	8    PALERS		NOT USED

	9    RELIAB		NOT USED

	10   TXTINH		NOT USED

	11   INHPAG		NOT USED

	12   MODDVC		NOT USED

	13   INHCSH	0	ALLOW CACHE USE
			1	INHIBIT CACHE
						MAINDEC-10-DSKFA.TXT
							PAGE 5

5.0	TIME MEASUREMENTS

	DESCRIPTION OF THE NON-STRAIGHT FORWARD TIME MEASUREMENTS
	IS AS FOLLOWS:

	NOTE:  THE SYMBOLOGY T(X) MEANS THE TIME REQUIRED FOR
	       OPERATION X.

	ITEM 1:  T(MAIN CLOCK)=<T(LSH ^D35])-T(LSH ^D15)>/20

	ITEM 2:  T (INDEXING)=T(MOVEI (3))-T(MOVEI)

	ITEM 3:  T (INDIRECTING)=T(MOVEI @3)-T(MOVEI)

	ITEM 4:  T(INDEXING + INDIRECTING)=T(MOVEI @(3))-T(MOVEI)

	ITEM 12: T(PUSHJ)=T(PUSHJ + MOVEI)-T(MOVEI)

	ITEM 1:  THIS TIME IS THE SETTING OF THE MASTER
		CLOCK DELAYS.

6.0	ACCURACY

	THE TIMING MEASUREMENTS ARE ACCURATE TO WITHIN 5
	NANO-SECONDS.

7.0	TIME CALCULATIONS

	A TABLE IS LOADED WITH THE INSTRUCTION TO BE TIMED ALONG WITH
	ANY INITIALIZING INSTRUCTIONS NEEDED.  THE TABLE IS REPEATEDLY
	EXECUTED FOR ONE SECOND WHILE THE NUMBER OF ITERATIONS OF
	THE INSTRUCTION SEQUENCE (THE TEST INSTRUCTION PLUS
	INITIALIZING INSTRUCTIONS) IS COUNTED.  THE TIME FOR THE
	INSTRUCTION UNDER TEST IS, THEN, THE TIME FOR THE INSTRUCTION
	SEQUENCE MINUS THE TIME FOR THE INITIALIZING INSTRUCTIONS.

	ANY CONCLUSIONS FROM THE PRINTED DATA MUST BE DRAWN VERY
	CAREFULLY; THE DATA IS ACCURATE BUT THE NATURE OF WHAT WAS
	TIMED IS SOMETIMES MISLEADING.  FOR EXAMPLE, IT WOULD SEEM
	REASONABLE THAT THE TIME NECESSARY TO DO AN INDEX OPERATION AND
	AN INDIRECT OPERATION SEPARATELY, WOULD BE THE SAME TIME REQUIRED
	TO DO THEM IN ONE INSTRUCTION.  DUE TO THE PROCESSOR
	FREQUENTLY WAITING FOR THE MEMORY CYCLE TIME, THIS IS NOT
	ALWAYS TRUE.
						MAINDEC-10-DSKFA.TXT
							PAGE 6

8.0	OPERATIONAL VARIATIONS

	A.  DIAGNOSTIC MONITOR

	THIS PROGRAM IS USABLE WITH THE DIAGNOSTIC MONITOR TO PROVIDE
	RELIABILITY TESTS OR ACCEPTANCE TESTS.  THE PROGRAM WILL
	MAKE ONE PASS PRINTING THE TIMING INFORMATION AND WILL THEN
	RETURN TO THE DIAGNOSTIC MONITOR.  CERTAIN PROCEDURES ARE USED
	WHEN THE PROGRAM IS USED IN THIS MANNER.  THEY ARE:

	1.  THE DIAGNOSTIC MONITOR TRANSFERS CONTROL TO THE
	    PROGRAM AND STARTS IT AT LOCATION 30002.

	2.  MONFLG - LOCATION 30042 IS USED AS THE DIAGNOSTIC MONITOR
	    SPECIAL USER MODE FLAG.

		-1 =	NORMAL USER MODE
		 0 =	SPECIAL USER MODE, I/O TREATED AS EXEC
			AND PROCESSED BY THE DIAGNOSTIC MONITOR.

	3.  MONCTL - LOCATION 30043 IS USED AS THE DIAGNOSTIC MONITOR
	    CONTROL WORD.

		LH = 0, STAND-ALONE OPERATION
		    -1, RUNNING UNDER DIAGNOSTIC MONITOR

		RH = RIGHT HALF OF CONSOLE SWITCHES IF UNDER
		     DIAGNOSTIC MONITOR CONTROL.
		     (RIGHT HALF SWITCHES NOT USED BY DBKFB)

	B.  USER MODE

	THIS PROGRAM IS AN EXEC MODE PROGRAM ONLY.

9.0	MISCELLANEOUS

10.0	LISTING