--- title: "Speed Test" id: 77522 type: "computer_media" slug: "speed-test" url: "http://localhost/computer_media/speed-test/" markdown_url: "http://localhost/computer_media/speed-test.md" published_at: "2026-11-15T18:38:16+00:00" modified_at: "2026-11-15T18:38:16+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/speed-test-mc-address-1.png" excerpt: "Times the same machine-code loop at three addresses to show that code below 32768 runs slower on the TS2068." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "Steve Gunhouse" slug: "steve-gunhouse" taxonomy: "indiv" url: "http://localhost/indiv/steve-gunhouse/" genre: - name: "Machine Language" slug: "machine-language" taxonomy: "genre" url: "http://localhost/type/machine-language/" media_type: "Program" programmers: - name: "Steve Gunhouse" slug: "steve-gunhouse" taxonomy: "indiv" url: "http://localhost/indiv/steve-gunhouse/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Speed%20Test%20%281992%29%28Gunhouse%2C%20Steven%20V.%29%28TS2068%29%28US%29%28Program%29.zip" tsrun_member: "Speed Test (1992)(Gunhouse, Steven V.)(TS2068)(US)(Program)/Speed Test (1992)(Gunhouse, Steven V.)(TS2068)(US)(Program).tap" mediadate: "1992" images: - url: "http://localhost/wp-content/uploads/2026/11/speed-test-mc-address-1.png" article_media: - id: 23609 title: "Letter from Steve Gunhouse" type: "article" url: "http://localhost/article/letter-from-steve-gunhouse-6/" media_type_tags: "Machine Language" license: false --- # Speed Test Shows that TS2068 machine code runs more slowly below 32768, where the CPU has to share memory with the video chip. An 18-byte routine that clears FRAMES, counts to 65536 and returns the frames elapsed is POKEd to 23300 (the printer buffer), 33000 and 65300 in turn and timed at each. The printed results were 25, 18 and 18 sixtieths of a second. Published in Sinc-Link January-February 1992 ([Letter from Steve Gunhouse](https://timexsinclair.com/article/letter-from-steve-gunhouse-6/)). ## Source Code ``` 1 REM program- speed test 2 LET code=100 10 LET start=23300: GO SUB code 20 LET start=33000: GO SUB code 30 LET start=65300: GO SUB code 40 STOP 100 RESTORE 1000: FOR i=0 TO 17: READ a: POKE start+i,a: NEXT i 110 PRINT "start: ";start,"Time: ";USR start 120 RETURN 1000 DATA 1,0,0,237,67,120,92,13,32,253,5,32,250,237,75,120,92,201 ```