This program provides an unusual display of machine code (MC) graphics. It alters the I register, which contains the high order address of the graphics table. I discovered this trick while trying to develop hi-res graphics for my ZX81. By altering where the computer thinks the graphics table is, the program produces graphics symbols not normally seen by displaying the bit patterns located at the new addresses you set in line 20.
Try different messages in line 50, but don’t exceed 31 characters. To hold a screen, press BREAK. To restart, press CONT and ENTER.
DELETE lines 40-70 and add GOTO 1 for a high speed demo.
If you add these lines:
90 POKE 16515,30
100 RAND USR 16514
you can change the loop at line 10.
If you stop the program while experimenting, you’ll find the program lines are unreadable. To restore to normal display (press ENTER after each):
EDIT POKE 16515,30 RAND USR 16514
1 REM 12345
2 SLOW
3 POKE 16514,62
4 POKE 16515,30
5 POKE 16516,237
6 POKE 16517,71
7 POKE 16518,201
10 FOR I=0 TO 30
20 POKE 16515,I
30 RAND USR 16514
40 FOR J=1 TO 22
50 PRINT "WATCH A VERY BIG DEMONSTRATIONX"
60 NEXT J
70 CLS
80 NEXT I
SYNTACTIC SUM: 15005, 8K ROM
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.