--- title: "Stop Auto-Run" type: "article" slug: "stop-auto-run" url: "http://localhost/article/stop-auto-run/" markdown_url: "http://localhost/article/stop-auto-run.md" published_at: "2020-10-27T17:11:55+00:00" modified_at: "2026-11-10T23:27:35+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Stop an auto-RUN program (a program that automatically RUNS when LOADed) before it RUNS." post_tag: - name: "1983" slug: "year-1983" taxonomy: "post_tag" url: "http://localhost/tag/year-1983/" - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "Lloyd Painter" slug: "lloyd-painter" taxonomy: "indiv" url: "http://localhost/indiv/lloyd-painter/" publication: "Syntax" publication_r: id: 10246 title: "Syntax" type: "periodical" url: "http://localhost/periodical/syntax/" authors: "Lloyd Painter" volume: "4" issue: "10" issues_articles: - id: 26720 title: "Syntax/Syntax ZX80 v4 n10" type: "issue" url: "http://localhost/issue/syntax-syntax-zx80-v4-n10/" pages: "10-11" pubdate: "October 1983" archive_link: false volumeissue: "v4n10" article_media: - id: 76633 title: "Stop Auto-Run" type: "computer_media" url: "http://localhost/computer_media/stop-auto-run/" --- # Stop Auto-Run 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 ``` ## Source Code: Stop Auto-Run ``` 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 ```