File PFMSPY.FT (FORTRAN source file)

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

C	PROGRAM TO DISPLAY 2 BLOCK SEGMENTS OF DATA TAKEN BY SAMP3.SV
	INTEGER ARRAY
	COMMON ARRAY(411),DUMI(90)
	DIMENSION PLTBUF(900),XBUF(900),BUFFER(700)
	DEFINE FILE 5(160,85,U,IBLK)
	DO 5 I=1,800
	X=I/600.
	IF(X.GT.1.3)X=1.3
 5	XBUF(I)=X
 10	WRITE(4,100)
	READ(4,110)MANU
	ISTP=(MANU+1)*16
	IF(MANU.LT.0)STOP
 20	WRITE(4,120)
	READ(4,130)IBLK
	CALL CLRPLT(600,BUFFER)
	IF(IBLK.LE.0)GO TO 10
	IF(IBLK.GT.ISTP)GO TO 10
	IBLK=MANU*16+IBLK
	READ(5'IBLK)(DUMI(I),I=1,85)
	CALL PFTRNS
	DO 30 I=1,255
 30	PLTBUF(I)=ARRAY(I)/1024.+.5
	IF(IBLK.GT.ISTP)GO TO 50
	READ(5'IBLK)(DUMI(I),I=1,85)
	CALL PFTRNS
	DO 40 I=1,255
	K=255+I
 40	PLTBUF(K)=ARRAY(I)/1024.+.5
	IF(IBLK.GT.ISTP)GO TO 56
	READ(5'IBLK)(DUMI(I),I=1,85)
	CALL PFTRNS
	DO 70 I=1,255
	K=510+I
 70	PLTBUF(K)=ARRAY(I)/1024.+.5
	GO TO 60
 50	DO 55 I=256,510
 55	PLTBUF(I)=.5
 56	DO 57 I=511,765
 57	PLTBUF(I)=.5
 60	DO 65 I=766,800
 65	PLTBUF(I)=0.
	CALL PLOT(800,XBUF,PLTBUF)
	GO TO 20
 100	FORMAT(1H "MANU ?"$)
 110	FORMAT( I2)
 120	FORMAT(1H "IBLK ?"$)
 130	FORMAT( I2)
	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