Hex Loader for the ZX81

Date: 1992
Type: Program
Platform(s): ZX81, TS 1000

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).

Related Articles

Reading through some old issues of Your Computer, I found this small machine code utility for creating REM statements of any length.

Image Gallery

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

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.