--- title: "Hex Loader for the ZX81" id: 77421 type: "computer_media" slug: "hex-loader-for-the-zx81" url: "http://localhost/computer_media/hex-loader-for-the-zx81/" markdown_url: "http://localhost/computer_media/hex-loader-for-the-zx81.md" published_at: "2026-11-15T18:38:35+00:00" modified_at: "2026-11-15T18:38:35+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/hex-loader-for-the-zx81-1.png" excerpt: "A standard ZX81 hex loader into a line 1 REM, any number of bytes per entry, S to stop." 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/" genre: - name: "Machine Language" slug: "machine-language" taxonomy: "genre" url: "http://localhost/type/machine-language/" media_type: "Program" download_url: "https://archive.org/download/timex-sinclair-software-archive/Hex%20Loader%20for%20the%20ZX81%20%281992%29%28-%29%28TS1000%29%28Program%29.zip" mediadate: "1992" images: - url: "http://localhost/wp-content/uploads/2026/11/hex-loader-for-the-zx81-1.png" article_media: - id: 23725 title: "ZX81 Resources: A 0 REM Generator" type: "article" url: "http://localhost/article/zx81-resources-a-0-rem-generator/" media_type_tags: "Machine Language" license: false --- # Hex Loader for the ZX81 A standard hex loader: it POKEs machine code typed in hex into the line 1 REM from 16514 on, as many bytes per INPUT as you like, showing each address and byte. Type S to stop. Make the REM long enough for your code first. From Your Computer, May 1983, page 67, with no author printed; typed for Sinc-Link by GFC, after Rene Bruneau’s A 0 REM Generator. Published in Sinc-Link May-June 1992 ([ZX81 Resources: A 0 REM Generator](https://timexsinclair.com/article/zx81-resources-a-0-rem-generator/)). ## Source Code ``` 1 REM (FILL THIS LINE WITH ENOUGH CHARACTERS TO HOLD THE MACHINE CODE 10 LET X=16514 20 LET A$="" 30 IF A$="" THEN INPUT A$ 40 IF A$="S" THEN STOP 50 POKE X,16*CODE A$(1)+CODE A$(2)-476 60 PRINT AT 11,7;X;" ",A$(1 TO 2) 70 LET X=X+1 80 LET A$=A$(3 TO) 90 GOTO 30 ```