--- title: "2068 Peculiarities" type: "article" slug: "2068-peculiarities" url: "http://localhost/article/2068-peculiarities/" markdown_url: "http://localhost/article/2068-peculiarities.md" published_at: "2022-01-09T07:45:23+00:00" modified_at: "2026-06-21T23:37:17+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "I discovered something very peculiar about the 2068 when I tried to put some machine code into the area of memory normally occupied by the RAM-resident code \"function dispatcher\". It seems as if machine code routines in this area (6200 hex or greater) run more slowly than identical rountines elsewhere in memory. To see this…" category: - name: "Sinc-Link" slug: "sinc-link" taxonomy: "category" url: "http://localhost/category/periodicals/sinc-link/" post_tag: - name: "Best of Timex/Sinclair 2068 Articles and Documents" slug: "ts2068best" taxonomy: "post_tag" url: "http://localhost/tag/ts2068best/" - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" - name: "Machine language programming" slug: "machine-language" taxonomy: "post_tag" url: "http://localhost/tag/machine-language/" - 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: "Cameron Hayne" slug: "cameron-hayne" taxonomy: "indiv" url: "http://localhost/indiv/cameron-hayne/" publication: "Sinc-Link" publication_r: id: 10240 title: "Sinc-Link" type: "periodical" url: "http://localhost/periodical/sinc-link/" authors: "Cameron Hayne" authors_r: - name: "Cameron Hayne" slug: "cameron-hayne" taxonomy: "indiv" url: "http://localhost/indiv/cameron-hayne/" volume: "3" issue: "3" issues_articles: - id: 38190 title: "Sinc-Link v3 n3" type: "issue" url: "http://localhost/issue/sinc-link-v3-n3/" pages: "8" pubdate: "May/June 1985" archive_link: false volumeissue: "v3n3" --- # 2068 Peculiarities I discovered something very peculiar about the 2068 when I tried to put some machine code into the area of memory normally occupied by the RAM-resident code “function dispatcher”. It seems as if machine code routines in this area (6200 hex or greater) run more slowly than identical rountines elsewhere in memory. To see this for yourself, try putting the routine shown below at two locations: at A000 and at 6200, then run the two routines. Enter the routine at A000, save it to tape, then compare the results of the two sequences. ``` LOAD "" CODE 40960 PRINT USR 40960 LOAD "" CODE 25088 PRINT USR 25088 ``` ### Machine code routine ``` A000 FE DI A001 3E02 LD A,02 A003 47 LD B,A A004 21FF1F LD HL,1FFF A007 10FE LOOP DJNZ,LOOP A009 De3FE OUT (FE),A A00B EE0F XOR 0F A00D 06A4 LD B,A4 A00F 2D DEC L A010 20F5 JR NZ,LOOP A012 05 DEC B A013 20F5 DEC H A014 20F1 JR NZ,LOOP A016 FB EI A017 C9 RET ```