--- title: "POKE: Small Change for Machine Language Pokers" id: 76570 type: "computer_media" slug: "poke-small-change-for-machine-language-pokers" url: "http://localhost/computer_media/poke-small-change-for-machine-language-pokers/" markdown_url: "http://localhost/computer_media/poke-small-change-for-machine-language-pokers.md" published_at: "2026-11-11T08:02:24+00:00" modified_at: "2026-11-11T08:02:24+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/poke-small-change-1.png" excerpt: "A tiny monitor for poking machine code into memory above RAMTOP on a 16K ZX81, one byte at a time, and running it." 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: "Joseph Hartmann" slug: "joseph-hartmann" taxonomy: "indiv" url: "http://localhost/indiv/joseph-hartmann/" genre: - name: "Machine Language" slug: "machine-language" taxonomy: "genre" url: "http://localhost/type/machine-language/" media_type: "Program" programmers: - name: "Joseph Hartmann" slug: "joseph-hartmann" taxonomy: "indiv" url: "http://localhost/indiv/joseph-hartmann/" download_url: "https://archive.org/download/timex-sinclair-software-archive/POKE%20-%20Small%20Change%20for%20Machine%20Language%20Pokers%20%281982%29%28Hartmann%2C%20Joseph%29%28TS1000%29%28US%29%28Program%29.zip" mediadate: "1982" images: - url: "http://localhost/wp-content/uploads/2026/11/poke-small-change-1.png" - url: "http://localhost/wp-content/uploads/2026/11/poke-small-change-2.png" article_media: - id: 19377 title: "Poke: Small Change for Machine Language Pokers" type: "article" url: "http://localhost/article/poke-small-change-for-machine-language-pokers/" media_type_tags: "Machine Language" license: false --- # POKE: Small Change for Machine Language Pokers First lower RAMTOP with POKE 16389,112 and NEW, as the article says, then load or type the program and RUN. It shows the current address and its contents. Type a number to POKE it and move on, A followed by an address to move somewhere else, ENTER alone to skip a byte, R to run the code at 28758 with USR and print the result, and STOP to quit. In line 50 the word STOP inside the quotes is the STOP keyword (SHIFT A), as the article says. Try 1, 0, 4, 201 at 28758 and then R: the code loads BC with 1024 and returns. Published in Syntax December 1982 ([Poke: Small Change for Machine Language Pokers](https://timexsinclair.com/article/poke-small-change-for-machine-language-pokers/)). ## Source Code ``` 4 LET A=28758 5 PRINT 10 PRINT "(";A;")=";PEEK A; 30 INPUT A$ 40 IF CODE A$=CODE "A" THEN GOTO 100 50 IF CODE A$=CODE " STOP " THEN STOP 60 IF A$="" THEN GOTO 78 62 IF CODE A$=CODE "R" THEN GOTO 1100 70 POKE A,VAL A$ 75 PRINT TAB 14;VAL A$; 78 LET A=A+1 80 GOTO 5 100 LET A=VAL A$(2 TO ) 105 PRINT 110 GOTO 5 1100 LET B=USR 28758 1102 PRINT 1105 PRINT B 1110 GOTO 5 ```