--- title: "Poke Graphics" id: 77913 type: "computer_media" slug: "poke-graphics" url: "http://localhost/computer_media/poke-graphics/" markdown_url: "http://localhost/computer_media/poke-graphics.md" published_at: "2026-11-19T15:04:12+00:00" modified_at: "2026-11-19T15:04:12+00:00" featured_image: url: "http://localhost/wp-content/uploads/2026/11/poke-graphics-1.png" excerpt: "A seven-line etch-a-sketch that draws by POKEing straight into the ZX81 display file, steered with the 5-8 arrow keys." 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: "Len Harmon" slug: "len-harmon" taxonomy: "indiv" url: "http://localhost/indiv/len-harmon/" genre: - name: "Graphics" slug: "graphics" taxonomy: "genre" url: "http://localhost/type/graphics/" media_type: "Program" programmers: - name: "Len Harmon" slug: "len-harmon" taxonomy: "indiv" url: "http://localhost/indiv/len-harmon/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Poke%20Graphics%20%281983%29%28Harmon%2C%20Len%29%28TS1000%29%28US%29%28Program%29.zip" mediadate: "1983" images: - url: "http://localhost/wp-content/uploads/2026/11/poke-graphics-1.png" - url: "http://localhost/wp-content/uploads/2026/11/poke-graphics-2.png" article_media: - id: 19466 title: "Poke Graphics" type: "article" url: "http://localhost/article/poke-graphics/" media_type_tags: "Graphics" license: false --- # Poke Graphics An etch-a-sketch that draws by POKEing a black square (code 128) into the display file instead of using PRINT. Line 10 finds the start of the display file from the system variable DF_CC. Steer with the arrow keys 5 (left), 6 (down), 7 (up) and 8 (right); each key moves one character position and leaves a trail. BREAK to exit. The program needs a full display file (16K RAM), and it does not check the edges of the screen: if you move off the screen, the POKEs land outside the display, and this can crash the computer. Published in Syntax April 1983 ([Poke Graphics](https://timexsinclair.com/article/poke-graphics/)). ## Source Code ``` 10 LET A=PEEK 16398+256*PEEK 16399 20 POKE A,128 30 IF INKEY$="5" THEN LET A=A-1 40 IF INKEY$="6" THEN LET A=A+33 50 IF INKEY$="7" THEN LET A=A-33 60 IF INKEY$="8" THEN LET A=A+1 70 GOTO 20 ```