--- title: "8K Machine Code Keyboard Scanning" type: "article" slug: "8k-machine-code-keyboard-scanning" url: "http://localhost/article/8k-machine-code-keyboard-scanning/" markdown_url: "http://localhost/article/8k-machine-code-keyboard-scanning.md" published_at: "2020-10-27T21:19:05+00:00" modified_at: "2024-06-23T07:48:54+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Bernard Puerzer's program for scanning the ZX80 keyboard (Machine Code Keyboard Scanning Program) was written for the 4K ROM, His program served as the occasion to give the same ability to read the keyboard to 8K ROM users. This required adaptation since the programs are not automatically transferable. One of the problems was to get…" category: - name: "SYNC" slug: "sync" taxonomy: "category" url: "http://localhost/category/periodicals/sync/" post_tag: - name: "1983" slug: "year-1983" taxonomy: "post_tag" url: "http://localhost/tag/year-1983/" - name: "Machine language programming" slug: "machine-language" taxonomy: "post_tag" url: "http://localhost/tag/machine-language/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" - name: "ZX80" slug: "zx80" taxonomy: "post_tag" url: "http://localhost/tag/zx80/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX80" slug: "zx80" taxonomy: "model" url: "http://localhost/model/zx80/" - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" indiv: - name: "Sidney Belman" slug: "belman-sidney" taxonomy: "indiv" url: "http://localhost/indiv/belman-sidney/" publication: "Sync" publication_r: id: 10243 title: "SYNC" type: "periodical" url: "http://localhost/periodical/sync-magazine/" authors: "Sidney Belman" volume: "3" issue: "1" issues_articles: - id: 26647 title: "SYNC v3 n1" type: "issue" url: "http://localhost/issue/sync-v3-n1/" pages: "70-71" pubdate: "January/February 1983" archive_link: false volumeissue: "v3n1" --- # 8K Machine Code Keyboard Scanning Bernard Puerzer’s program for scanning the ZX80 keyboard (Machine Code Keyboard Scanning Program) was written for the 4K ROM, His program served as the occasion to give the same ability to read the keyboard to 8K ROM users. This required adaptation since the programs are not automatically transferable. One of the problems was to get around the differences in the way that the index registers are used. This program avoids that problem. Further, it adds a WAIT loop which keeps the screen dark after ENTER is pressed and then prints the keyboard entry following ENTER.