When I got my TS-2068 I thought one of the marvellous things about it was a Header program by which one could get the name of a program displayed on-screen a few seconds after it started loading. If only the ZX-81 had that feature it would be marvellous, I thought. Where have I been all this time?
I have only just discovered there is a program to do practically the same thing. It is to be found in Mike Lord‘s book “Explorers guide to the ZX-81“. How I ever spotted it I will never know.
With the thought there must be many in the same position as myself, I would like to present this practical program.
It is a M/C routine that is placed in a REM statement at the beginning of a short Basic program. First create a REM statement of 66 spaces (or more) then enter the lines as shown in Fig. 1. Put your computer in the FAST mode, RUN the program and enter the numbers in Fig. 2 starting with the top row, left to right. When you are done check that the sum of the numbers is 7620. Then delete all lines except the line 1. containing the REM statement.
Enter the lines in Fig. 3. SAVE this program, since this is the program you will use to obtain HEADER information from your other program tapes.
When you RUN this program, it will prompt you to start playing the tape which you wish to identify. At the start of the LOADing of a tape the program name under which it was SAVEd will appear on the screen. Any other program appearing on the tape will be similarly identified.
Written by:G.F. Chambers; Canada, Submitted by: ZX users Group of New York.
Fig 1)
1>REM 123456789012345678901234567890123456789012345678901234567890123456
10 FOR I=16514 TO 16579
20 INPUT A
30 POKE I,A
40 PRINT " 40 SCROLL "
50 PRINT I;" ",A
60 NEXT I
70 PRINT "FINISHED"
110 PRINT "PRESS A KEY TO CHECK "
120 IF INKEY$="" THEN GOTO 120
130 LET TOTAL=0
140 FOR I=16514 TO 16579
150 LET X=PEEK I
160 LET TOTAL=TOTAL+X
170 NEXT I
180 PRINT TOTAL
Fig 2)
205 35 15 205 136 64 24 251 14 1 6 0 62 127 219 254 31 23 23 56 16 16 245 241 205 138 64 121 215 203 121 40 247 205 43 15 201 213 30 146 6 26 29 219 254 23 203 123 123 56 245 16 245 209 32 4 254 86 48 206 63 203 17 48 201 201
Fig 3)
1>REM LN 7?LN ▒RND/ CLS :▒▒Y▒ = RETURN 3**5(( PRINT LET LN ▒RND?NOT ACS ?C RUN LN F?TAN STR$ 2▒,1 =RETURN*ACS ??5 PRINT (PRINT SGN 4▒ RETURN*KEXP ZACS)KTAN TAN
20 PRINT " 20 RAND USR 16514"
30 PRINT AT 20,0;"PRESS A KEY TO READ TAPE"
40 IF INKEY$=" THEN GOTO 40
50 CLS
60 GOTO 20
100 SAVE "HEADER READER"
110 GOTO 30
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.