Hexloader

Publication: LISTing Newsletter
Date: September 1993
Pages: 7
 1 REMXXXXXXXXXXXXXXXXXXXXXXX
10 LET I=16427
15 INPUT A$
20 IF A$="S" THEN STOP
30 PRINT A$:"**":
40 POKE I,16*(CODE (A$)-28)+CODE (TL$ (A$))-28
50 LET I=I+1
60 GOTO 15

HEXLOADER works on the ZX-80, which is something of a rarity. The REM in line one must contain more characters than there are bytes in the machine code program. The number code 118 must not be used in machine code routines or all kinds of strange things will start to happen to the listing.

To remove the REM statement from line one, POKE 16403, 10. This program will help many people who still own a ZX-80 to obtain more power from it using machine code. Machine code programming is something which has not been entered into any great depth with the ZX-80.

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