--- title: "Save a Self-Run Program" id: 77505 type: "computer_media" slug: "save-a-self-run-program" url: "http://localhost/computer_media/save-a-self-run-program/" markdown_url: "http://localhost/computer_media/save-a-self-run-program.md" published_at: "2026-11-15T18:38:12+00:00" modified_at: "2026-11-15T18:38:12+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/save-a-self-run-program-1.png" excerpt: "Copy auto-running, unbreakable ZX81 tapes such as Psion Chess with a patched copy of the tape routines." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - 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/" genre: - name: "Tape" slug: "tape" taxonomy: "genre" url: "http://localhost/type/tape/" media_type: "Program" download_url: "https://archive.org/download/timex-sinclair-software-archive/Save%20a%20Self-Run%20Program%20%281990%29%28-%29%28TS1000%29%28Program%29.zip" mediadate: "1990" images: - url: "http://localhost/wp-content/uploads/2026/11/save-a-self-run-program-1.png" article_media: - id: 23198 title: "ZX81 Tape Library" type: "article" url: "http://localhost/article/zx81-tape-library/" media_type_tags: "Tape" license: false --- # Save a Self-Run Program Makes a tape copy of an auto-running program that cannot be broken into, such as Psion Chess. RUN copies the ROM’s tape routines up to 31740 and patches them from the hex in the line 1 REM; when the loading pattern appears, play the unsaveable program. Instead of starting, it is held: the screen goes blank, you put a fresh tape in, press record, and press S to save it. From the club’s ZX81/TS1000 tape library, tape #65; the article “ZX81 Tape Library” is by George Chambers, but no author is printed for the program. Needs 16K. Published in Sinc-Link September-October 1990 ([ZX81 Tape Library](https://timexsinclair.com/article/zx81-tape-library/)). ## Source Code ``` 1 REM E1CDBB02E821FDF8A7ED5220F421DB04C3FC0200000000000000 10 REM SAVE A SELF-RUN PROGRAM 20 FAST 30 LET A=124 40 FOR I=508 TO 929 50 POKE I+A*256,PEEK I 60 NEXT I 70 LET B=A*256+834 80 POKE B,55 90 POKE B+7,A+3 100 POKE B+32,6 110 POKE B+33,A+2 120 POKE B+38,A+3 130 POKE B+60,A+3 140 POKE B+64,A+1 150 FOR J=1 TO 25 160 LET C=16512+J*2 170 POKE J+A*256+517,(PEEK C-28)*16+PEEK (C+1)-28 180 NEXT J 190 PRINT USR B 200 PRINT "THIS PROGRAM WILL SAVE PROGRAMS THAT CANNOT BE BROKEN INTO. PSION CHESS, FOR EXAMPLE." 210 PRINT ,,,,"RUN PROGRAM.",,"WHEN PATTERN APPEARS, PLAY THE UNSAVEABLE PROGRAM" 220 PRINT ,,"THE SCREEN WILL GO BLANK ..... INSERT A FRESH TAPE..... PUSH RECORD BUTTON .... PRESS ""S"" TO SAVE" ```