Program Reader

Publication: The Data Expansion
Pub Details: The Data Expansion v3 n10 (Volume 3, Issue 10)
Date: October 1986
Pages: 18-19

Have you at one time or another forgotten the name of a particular 1000 program but didn’t want to wait the 10 minutes to see what it was? Help is at hand! This routine will read and print the name the program was saved under, all in a few seconds and without affecting the saved program.

Type in the program, remembering the 75 character REM statement. Run the program. After running the program, delete lines 10 to 70 and add line 10 RANDOMIZE USR 16514.

To use the routine just run the program and start the tape recorder. A few seconds after the program load pattern appears, the program will stop with the program name on the screen.

This would be a good routine to keep in the 8K NVM. When typing in the program just change line 20 to whatever address in the 8-16K area you wish to use. Then NEW the machine and call the routine whenever you like by simply RANDOMIZE USR X, X being whatever address you chose for X in line 20.

 1 REM SET UP REM STATEMENT WITH AT LEAST 75 SPACES.
10 LET A$="CD230FCD8A4018FB0E0106003E7FDBFED3FF1FD2A20317173811
10F1F1CD8A40CB7A792001D71730F4181DD51E94061A1DDBFE17CB7B7B38F51
0F5D12004FE5630C83FCB1130C3C9C98"
20 LET X=16514
30 IF A$="S" THEN STOP
40 POKE X,16*CODE A$+CODE A$(2)-476
50 LET X=X+1
55 PA$( TO 2);" ";
60 LET A$=A$(3 TO )
70 GOTO 30
CD  23  0F  CD  8A  40  18  FB
0E  01  06  00  3E  7F  DB  FE
D3  FF  1F  D2  A2  03  17  17
38  11  10  F1  F1  CD  8A  40
CB  7A  79  20  01  D7  17  30
F4  18  1D  D5  1E  94  06  1A
1D  DB  FE  17  CB  7B  7B  38
F5  10  F5  D1  20  04  FE  56
30  C8  3F  CB  11  30  C3  C9
C9

From ZX-Appeal Sept. 86

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