Trailing-Edge
-
PDP-10 Archives
-
decus_20tap5_198111
-
decus/20-0137/csmp/csmp3.for
There is 1 other file named csmp3.for in the archive. Click here to see a list.
00100 SUBROUTINE CSM8(V,H,IOFSET,NSTP)
00200 C PRINT CONTROLLER
00300 INTEGER OU
00400 REAL IPLOT(0/100)
00500 DIMENSION V(1),H(1),KI(4)
00600 DIMENSION C(76)
00700 DIMENSION SYM(4)
00800 COMMON REALS(395),INTS(547)
00900 EQUIVALENCE (INTS(386),KEY7),(INTS(388),KEY9)
01000 EQUIVALENCE (INTS(535),K1),(INTS(536),K2)
01100 EQUIVALENCE (INTS(537),K3),(INTS(538),K4)
01200 EQUIVALENCE (INTS(539),NK)
01300 EQUIVALENCE (REALS(2),C(1)),(REALS(77),T)
01400 EQUIVALENCE (REALS(392),VDEL),(REALS(394),VMIN)
01500 EQUIVALENCE (KI(1),K1)
01600 DATA FBLANK,FDASH,FI,FPLUS/1H ,1H-,1HI,1H+/
01700 DATA SYM/'A','B','C','D'/
01800 COMMON /ODEVIM/OU
01900 GO TO (160,9,140,9),KEY7+2
02000 9 NMAX=100
02100 NZ=.5+50.*(-VMIN)/VDEL
02200 IF(OU.NE.5.AND.OU.NE.8.AND.OU.NE.19)GO TO 70
02300 NMAX=0
02400 DO 8 K=0,50
02500 8 IPLOT(K)=FBLANK
02600 DO 40 J=1,NK
02700 N=.5+50.*(C(KI(J))-VMIN)/VDEL
02800 IF(NZ.GE.0.AND.NZ.LE.50)IPLOT(NZ)=FI
02900 IF(N.GE.0.AND.N.LE.50)IPLOT(N)=SYM(J)
03000 40 NMAX=MAX0(NMAX,MIN0(N,50),MIN0(NZ,50))
03100 GO TO 100
03200 70 NZ=.5+100.*(-VMIN)/VDEL
03300 DO 92 K=0,100
03400 92 IPLOT(K)=FBLANK
03500 DO 90 J=1,NK
03600 N=.5+100.*(C(KI(J))-VMIN)/VDEL
03700 IF(NZ.GE.0.AND.NZ.LE.100.)IPLOT(NZ)=FI
03800 90 IF(N.GE.0.AND.N.LE.100.)IPLOT(N)=SYM(J)
03900 100 WRITE(OU,130)T,(IPLOT(I),I=0,NMAX)
04000 130 FORMAT(1H ,G9.3,1X,101A1)
04100 RETURN
04200 C PRINT ONLY
04300 140 IPLOT(1)=C(K1)
04400 IPLOT(2)=C(K2)
04500 IPLOT(3)=C(K3)
04600 IPLOT(4)=C(K4)
04700 WRITE(OU,150) T,(IPLOT(I),I=1,NK)
04800 150 FORMAT(1H ,G11.5,4G13.6)
04900 RETURN
05000 C GRAPHING
05100 160 DO 162 I=1,NK
05200 ISS=NSTP+(I-1)*IOFSET
05300 V(NSTP+(I-1)*IOFSET)=C(KI(I))
05400 162 H(NSTP+(I-1)*IOFSET)=T
05500 END