Stop Auto-Run

Author(s): Lloyd Painter
Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v4 n10 (Volume 4, Issue 10)
Date: October 1983
Pages: 10-11

Use this program to stop an auto-RUN program (a program that automatically RUNs when LOADed) before it RUNs.

Type in this program and SAVE it, because your auto-RUN program wipes it out. With this program in your computer, put the auto-RUN tape in your tape deck. Hit RUN then ENTER. The screen goes blank for two seconds in FAST, eleven in SLOW. When a flickering diagonal pattern appears on your screen (indicating LOADing), press PLAY on your recorder. When your auto-RUN program has LOADed, a STOP report code (9/line number) appears in the bottom left of your screen. Now hit LIST to see your program.

   5 REM STOP AUTO-RUN
10 LET U$="042.020.064.054.239.035.034.022.064.054.011.035.054.011.035.054.118"
11 LET A=30815
12 FOR N=1 TO 65 STEP 4
13 POKE A,VAL U$(N TO N+2)
14 LET A=A+1
15 NEXT N
20 FOR A=832 TO 935
21 POKE (A+30000),PEEK A
22 NEXT A
30 FOR A=508 TO 518
31 POKE (A+30000),PEEK A
32 NEXT A
40 POKE 30840,124
45 POKE 30841,120
50 POKE 30871,124
55 POKE 30872,120
60 POKE 30893,124
65 POKE 30894,120
70 POKE 30897,44
75 POKE 30898,119
80 POKE 30519,207
85 POKE 30520,8
90 RAND USR 30815
SYNTACTIC SUM: 34957, 8K ROM

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