/ 
/ 
/                   FIRST PRINTING, FEBRUARY 1974
/ 
/ 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 RESPON-
/ SIBILITY FOR ANY ERRORS THAT MAY APPEAR IN THIS
/ DOCUMENT.
/ 
/ THE SOFTWARE DESCRIBED IN THIS DOCUMENT IS FUR-
/ NISHED TO THE PURCHASER UNDER A LICENSE FOR USE ON
/ A SINGLE COMPUTER SYSTEM AND CAN BE COPIED (WITH
/ INCLUSION OF DIGITAL'S COPYRIGHT NOTICE) ONLY FOR 
/ USE IN SUCH SYSTEM, EXCEPT AS MAY OTHERWISE BE PRO-
/ VIDED IN WRITING BY DIGITAL.
/ 
/ DIGITAL EQUIPMENT CORPORATION ASSUMES NO RESPONSIBILITY
/ FOR THE USE OR RELIABILITY OF ITS SOFTWARE ON EQUIP-
/ MENT THAT IS NOT SUPPLIED BY DIGITAL.
/ 
/ COPYRIGHT (C) 1974, BY DIGITAL EQUIPMENT CORPORATION
/ 
/ 
        .EJECT
/	EDIT #1
 
/ COPYRIGHT 1973  DIGITAL  EQUIPMENT CORP., MAYNARD, MASS. U.S.A.
 
/		3 JULY 73	T.A. MURRAY
 
/FORTRAN CALLABLE RSX UTILITY ROUTINE TO EXECUTE SPYSET FUNCTION
 
/	CALLING SEQUENCE
/		CALL SPYSET (ADDRS,VALUE [,EV])
/	WHERE
/		ADDRS IS AN INTEGER WHOSE VALUE IS THE ADDRESS RELATIVE
/		 TO THE CONTENTS OF LOCATION 321 TO SPYSET
/		VALUE IS AN INTEGER WHOSE VALUE IS TO BE SPYSET
/		EV IS THE INTEGER EVENT VARIABLE
 
	.GLOBL	SPYSET,  .DAA
 
SPYSET	0
	JMS*	.DAA
	JMP	ARGEND
ADDRS	0
VALUE	0
EV	0
 
ARGEND	LAC	EV	/MOVE EVENT VARIABLE ADDRESS TO SPYSET CAL
	DAC	SPYS1
	DZM	EV	/ZERO IN CASE NOT SPECIFIED ON ANOTHER CALL
	LAC*	ADDRS	/ENTER ADDRESS INTO CPB
	DAC	SPYS2
	LAC*	VALUE	/MOVE VALUE TO BE SPYSET TO SPYSET CAL
	DAC	SPYS3
	CAL	SPYS0	/EXECUTE SPYSET FUNCTION, NO WAITFOR NEEDED
	JMP*	SPYSET
 
SPYS0	32
SPYS1	0		/EV ADDRESS
SPYS2	0		/SPYSET ADDRESS
SPYS3	0		/SPYSET VALUE
 
	.END
