Publication: Sincus News
Pub Details: SINCUS v5 n2 (Volume 5, Issue 2)
Date: January - February 1987
Pages: 17
Thanks to Bill Pierson, [address omitted], for “Tape Analyser” works in Spectrum mode, but will read tapes from 2068 or Spectrum. Handy for tape libraries to find just what is on that 90 minute tape.
1 REM tape analyser
10 BORDER 0: PAPER 0: INK 7
11 CLEAR 29999
15 DEF FN p(x)=PEEK x+256*PEEK
(x+1): LET p=30016
20 FOR i=1 TO 16: READ a: POKE
29999+i,a: NEXT i
30 DATA 221,33,64,117,17,17,0,
75,55,205,86,5,216,195,48,117
40 PRINT INVERSE 1;" *T
[illegible]pe Analyser* "; INVERSE
0
50 PRINT " NAME";TAB 10;"Leng
[illegible] Remarks"'': PLOT 0,156: DRA
[illegible] 255,0
60 PRINT #1;" Start tape, then
press any key": PAUSE 0
65 PRINT #1;AT 1,0,,
70 RANDOMIZE USR 30000
75 LET n$=""
80 LET type=PEEK p: LET l=FN p
[illegible]p+11)[illegible] FOR i=p+1 TO p+10: LET n
$=n$+CHR$ PEEK i: NEXT i
90 LET l$=STR$ l: LET l$="
"(1 TO 6-LEN l$)+l$
100 PRINT n$;l$;" ";
110 IF type>3 THEN PRINT "Read
[illegible]rror": GO TO 70
130 IF type<3 THEN GO TO 170
140 LET s=FN p(p+13)
150 IF s=16384 AND l=6192 THEN
PRINT "SCREEN$ ": GO TO 170
160 PRINT "CODE at: ";s: GO TO
70
170 IF [illegible]ype=0 THEN GO TO 200
180 LET s=PEEK (p+14): LET t=IN
[illegible] (s/32)[illegible] LET l$=CHR$ (s-32*t+96
[illegible] IF t=2 OR t=6 THEN LET l$=l$+
"$"
190 PRINT [illegible]Array: ";l$: GO TO 7
0
200 LET l=FN p(p+13): LET s=FN
p(p+15)
210 PRINT "Basic";
220 IF l<10000 THEN PRINT " LIN
E ";l;
230 PRINT : GO TO 70

Media
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.