A simple memory viewer for a 16K ZX81. Enter a starting address (an even hundred is easiest; 0 shows the start of the ROM). After about 15 seconds the screen shows the 100 bytes from that address in five columns, with the addresses down the left. The program stops after each screen; CONT shows the next 100 bytes.
The author offered the program on cassette. It runs faster in FAST mode.
Published in Syntax February 1982 (8K Memory PEEK).
Source Code
10 PRINT "ADDRESS IS =",
20 INPUT A
30 CLS
35 PRINT AT 0,6;"WAIT 15 SECONDS"
37 PAUSE 80
38 POKE 16437,255
40 PRINT AT 0,6;"+00 +20 +40 +60 +80"
50 FOR I=1 TO 20
60 PRINT AT I+1,0;A-1+I
70 NEXT I
90 FOR J=1 TO 5
95 FOR I=1 TO 20
100 PRINT AT I+1,6+4*(J-1);PEEK (A-1+I)
110 NEXT I
120 LET A=A+20
130 NEXT J
140 STOP
150 GOTO 40Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.
