File NXTXT.

Directory of image this file is from
This file as a plain text file

C	SUBR PICKS UP NEXT 1/2-WORD FROM TAPE FILE
	SUBROUTINE NXTXT(I)
	COMMON ND,IDBLK,INDAT,NT,ITBLK,INTXT
	DIMENSION INDAT(256),INTXT(256)
	IF (NT)40,40,10
 10	IF (NT-256)30,30,20
 20	ITBLK=ITBLK+1
	CALL LTAPE(2,INTXT,ITBLK)
	NT=1
 30	J=INTXT(NT)
S	 TAD \J
S	 CLL RTR;RTR;RTR
S	 AND (77
S	 DCA \J
	I=J
	NT=-NT
	RETURN
 40	J=INTXT(-NT)
S	 TAD \J
S	 AND (77
S	 DCA \J
	I=J
	NT=1-NT
	RETURN
	END



Feel free to contact me, David Gesswein djg@pdp8online.com with any questions, comments on the web site, or if you have related equipment, documentation, software etc. you are willing to part with.  I am interested in anything PDP-8 related, computers, peripherals used with them, DEC or third party, or documentation. 

PDP-8 Home Page   PDP-8 Site Map   PDP-8 Site Search