File IO.FT (FORTRAN source file)

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

	SUBROUTINE IO(RECORD)
C
C
C	USED TO READ THE DATA FROM THE PACKED DIRECT
C	ACCESS FILE AND UNPACK IT INTO THE TEXT ARRAY
C	FOR PRINTING.
C
C
	COMMON /TXTCOM/ IRTEXT,LINES,IASCVR,LOC,DATA
	INTEGER IRTEXT(205),LINES(12),DATA(52),RECORD
	INTEGER OLDREC
	DATA OLDREC/-1/
	IREC=RECORD/4+1
	IF(IREC.NE.OLDREC)READ(2'IREC)DATA
	OLDREC=IREC
	N=13*(MOD(RECORD-1,4))+1
	LOC=DATA(N)
	DO 10 I=1,12
10	LINES(I)=DATA(N+I)
	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