--- title: "34 Columns" id: 76287 type: "computer_media" slug: "34-columns" url: "http://localhost/computer_media/34-columns/" markdown_url: "http://localhost/computer_media/34-columns.md" published_at: "2026-11-11T08:03:16+00:00" modified_at: "2026-11-11T08:03:16+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/34-columns-1.png" excerpt: "Type text straight onto the ZX81 screen, 34 columns to a line, by POKEing each key into the display file." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "Mark Freitas" slug: "mark-freitas" taxonomy: "indiv" url: "http://localhost/indiv/mark-freitas/" genre: - name: "Utility" slug: "utility" taxonomy: "genre" url: "http://localhost/type/utility/" media_type: "Program" programmers: - name: "Mark Freitas" slug: "mark-freitas" taxonomy: "indiv" url: "http://localhost/indiv/mark-freitas/" download_url: "https://archive.org/download/timex-sinclair-software-archive/34%20Columns%20%281982%29%28Freitas%2C%20Mark%29%28TS1000%29%28US%29%28Program%29.zip" mediadate: "1982" images: - url: "http://localhost/wp-content/uploads/2026/11/34-columns-1.png" article_media: - id: 65558 title: "34 Columns — 8K" type: "article" url: "http://localhost/article/34-columns-8k/" media_type_tags: "Utility" license: false --- # 34 Columns A tiny typewriter for the 8K ROM. RUN, then type: each key you press is POKEd straight into the display file, so the text runs 34 characters to a line instead of 32, and ENTER starts a new line. Shift 1 types a space and shift 0 backspaces. There is no input prompt. Depending on your TV, the 34th column may be cut off. Don’t type keywords such as STOP. The article advises SAVEing the program before you run it, since the computer sometimes crashes when you leave it. The article says the program fits in 2K, but it needs a full display file: on a ZX81 with less than about 3.25K the display is collapsed, and the POKEs overwrite it and crash the machine. It works in 16K. Published in Syntax April 1982 ([34 Columns — 8K](https://timexsinclair.com/article/34-columns-8k/)). ## Source Code ``` 1 FOR I=1 TO 747 2 PAUSE 900 3 LET A$=INKEY$ 4 IF CODE A$=117 THEN LET A$=" " 5 IF CODE A$=119 THEN LET I=I-1 6 IF CODE A$=119 THEN LET A$="" 7 IF A$="" THEN GOTO 2 8 POKE (PEEK 16396+256*PEEK 16397)+I,CODE A$ 9 NEXT I ```