/ 
/ 
/                   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  #000	SK
/	001	SK
/	002	SK	1-FEB-74	DEFINE .SCOM 
/
.SCOM=100
	LAC*	(.SCOM+4	/SET UFD IN CAL
	AND	(100
	SZA
	LAC	BNK		/BANK MODE SYS
	SNA
	LAC	PAG		/PAGE MODE SYSTEM
	DAC	UFD
	LAC*	(.SCOM+44	/INSALL?
	SAD	ALL
	JMP	.+3		/YES.
	LAC	(INSERR		/NO. INSERR
	SKP
	LAC	(INSALL
	DAC	FILNAM
	.USER	-1,XX
UFD=.-1
	.INIT	-1,0,CTLP
	.INIT	-12,1,CTLP
	.SEEK	-1,XX
FILNAM=.-1
PNTLOP	.READ	-1,2,BUF,66
	LAC	BUF		/CHECK FOR EOF
	AND	(7
	SAD	(5
	JMP	CTLP
	.WRITE	-12,2,BUF,66
	.WAIT	-12
	JMP	PNTLOP
CTLP	.CLOSE	-1
	.CLOSE -12
	.USER	-1,XX
UFDSAV=.-1
	.EXIT
BUF	50002
	0
	.BLOCK	66
INSALL	.SIXBT	/INSALL/
	.SIXBT	/SRC/
INSERR	.SIXBT	/INSERR/
	.SIXBT	/SRC/
PAG	.SIXBT	/PAG/
BNK	.SIXBT	/BNK/
ALL	.SIXBT	/ALL/
	.END
