--- title: "Golden Goodies for 2068 Users" type: "article" slug: "golden-goodies-for-2068-users" url: "http://localhost/article/golden-goodies-for-2068-users/" markdown_url: "http://localhost/article/golden-goodies-for-2068-users.md" published_at: "2022-09-14T02:43:33+00:00" modified_at: "2026-07-19T01:21:20+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "The following tips, etc for 2068 Programming is from a collection assembled by George Mockridge of TIMELINZ newsletter. These are a little more “advanced\" than some that have been published befare. POKE 23730 & 23732 with RAMTOP Resets RAMTOP without destroying variables that were not defined in the program. 1 POKE 23732,0: POKE 23673,0 9999…" category: - name: "The Plotter" slug: "the-plotter" taxonomy: "category" url: "http://localhost/category/periodicals/the-plotter/" post_tag: - name: "Best of Timex/Sinclair 2068 Articles and Documents" slug: "ts2068best" taxonomy: "post_tag" url: "http://localhost/tag/ts2068best/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "George Mockridge" slug: "george-mockridge" taxonomy: "indiv" url: "http://localhost/indiv/george-mockridge/" publication_r: id: 21216 title: "The Plotter" type: "periodical" url: "http://localhost/periodical/the-plotter/" authors: "George Mockridge" authors_r: - name: "George Mockridge" slug: "george-mockridge" taxonomy: "indiv" url: "http://localhost/indiv/george-mockridge/" volume: "8" issue: "2" issues_articles: - id: 39479 title: "The Plotter v8 n2" type: "issue" url: "http://localhost/issue/the-plotter-v8-n2/" pages: "7" pubdate: "February 1990" archive_link: false --- The following tips, etc for 2068 Programming is from a collection assembled by George Mockridge of TIMELINZ newsletter. These are a little more “advanced” than some that have been published befare. ``` POKE 23730 & 23732 with RAMTOP ``` Resets RAMTOP without destroying variables that were not defined in the program. ``` 1 POKE 23732,0: POKE 23673,0 9999 PRINT INT ((PEEK 23672+256*PEEK 23673+.5)*100/60/1145+.5)/100 ``` GOTO 9999 to find the elapsed time in seconds that a program has been running. ``` FOR N=16384 TO 22527: LET X=PEEK N: POKE N,255-X: NEXT N ``` Inverts the screen display. ``` LET A=1: IF (INT (N/2)*2-N)<>0 THEN LET A=-1 ``` Determines if N is even or odd. A=(+1) if EVEN, (-1) if ODD. Normal method of (-1)^N will not work on 2068. Try LET A=COS (N*PI) also works but slower. ``` 1 REM SCREENSAVE 5 DATA 33,0,64,17,166,222,1,0,27,237,176,201 10 DATA 33,168,222,17,0,64,1,0,27,237,176,201 20 FOR A=65300 TO 65323: READ A: POKE I,A: NEXT I 30 STOP ``` Save a screen to address 57000 and instantly recall it. RAND USR 65300 to UPLOAD and RAND USR 65312 to RECALL. ``` POKE 26692,83 ``` Puts line EDIT at top of screen. POKE 26692,75 resets the screen. ``` LOAD ""CODE: RAND USR 33792 ``` Try this method to load programs that will not load.