--- title: "Test-Bit Subroutine" type: "article" slug: "test-bit-subroutine" url: "http://localhost/article/test-bit-subroutine/" markdown_url: "http://localhost/article/test-bit-subroutine.md" published_at: "2026-03-14T13:10:39+00:00" modified_at: "2026-03-14T13:10:39+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "BASIC subroutine (at line 100) allowing the user to determine whether a specific bit (0-7) of any byte address (0-65535) is on (1) or off (0) on the TS1000/TS2068. Includes a demonstration program that prompts for address and bit number and prints the result. Note in listing: adjust line 110 for 1000 vs 2068." category: - name: "Timelinez" slug: "timelinez" taxonomy: "category" url: "http://localhost/category/periodicals/timelinez/" post_tag: - name: "BASIC (programming language)" slug: "basic-programming-language" taxonomy: "post_tag" url: "http://localhost/tag/basic-programming-language/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" - name: "Tutorial" slug: "tutorial" taxonomy: "post_tag" url: "http://localhost/tag/tutorial/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "Jack Dohany" slug: "jack-dohany" taxonomy: "indiv" url: "http://localhost/indiv/jack-dohany/" publication_r: id: 21571 title: "Timelinez" type: "periodical" url: "http://localhost/periodical/timelinez/" authors_r: - name: "Jack Dohany" slug: "jack-dohany" taxonomy: "indiv" url: "http://localhost/indiv/jack-dohany/" volume: "3" issue: "1" issues_articles: - id: 38815 title: "Timelinez v3 n1" type: "issue" url: "http://localhost/issue/timelinez-v3-n1/" pages: "7" pubdate: "January 1985" archive_link: false --- # Test-Bit Subroutine BASIC subroutine (at line 100) allowing the user to determine whether a specific bit (0-7) of any byte address (0-65535) is on (1) or off (0) on the TS1000/TS2068. Includes a demonstration program that prompts for address and bit number and prints the result. Note in listing: adjust line 110 for 1000 vs 2068.