/ 
/ 
/                   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 #2
/
/ COPYRIGHT DIGITAL EQUIPMENT CORP., MAYNARD, MASS.
/
/			2/23/71	R. MCLEAN
/
/	REQST -- FORTRAN CALLABLE SUBROUTINE
/		TO REQUEST AN RSX TASK.
/
/
/	CALLING SEQUENCE:
/	    CALL REQST (NAME, PRIORITY, EV)
/
/		NAME=REQUESTED TASK'S NAME
/		PRIORITY=REQUESTED TASK'S NAME
/		EV=EVENT VARIABLE
	.GLOBL	REQST,.DAA,.FTSB
REQST	0
	JMS*	.DAA	/PICK UP CALLER'S ARGUMENTS
	JMP	ARGEND	/JUMP OVER ARGUMENT POINTERS
TSKNAM	0
PRTY	0
EVNTV	0
ARGEND	LAC	EVNTV		/SET UP EVENT VARIABLE ADDRESS
	DAC	CALEV	/AND SAVE IT IN REQUEST
	LAC*	PRTY	/SET UP TASK PRIORITY
	DAC	CALPRI
	DZM	EVNTV	/CLEAR EVENT VARIABLE POINTER
	JMS*	.FTSB	/CONVERT TASK NAME TO SIXBT
	TSKNAM
	REQNAM
	CAL	REQCPB	/REQUEST TASK
	JMP*	REQST	/RETURN
REQCPB	1		/REQUEST
CALEV	0		/EVENT VARIABLE ADDRESS
REQNAM	0		/REQUESTED TASK'S NAME .SIXBT
	0		/SECOND HALF & TMP STORAGE
CALPRI	0		/PRIORITY OF REQUESTED TASK
	.END	REQST
