This routine is an interesting means of turning the display upside down, the code is loaded to 32000 but it is relocatable and can be placed anywhere you wish. Use it by RANDOMIZE USR address. This one came from the I.O.W. and was written by David Hiscock.
10 RESTORE : LET t=0
20 FOR l=0 TO 117: READ a: POK
E 32000+l,a: LET t=t+a: NEXT l
30 IF t<>10795 THEN PRINT "ERR
OR IN DATA!!"
40 DATA 17,0,88,33,160,90,6,11
,14,32,197,26,79,126,18,113,193,
19,35,13,32,244,197,1,64,0
50 DATA 167,237,66,193,16,232,
17,0,64,33,160,87,6,6,14,3,197,6
,8,197,6,32,26,79,126,18,113
60 DATA 19,35,16,247,229,235,1
,224,0,9,235,225,1,32,1,167,237,
66,193,16,227,229,235,1
70 DATA 224,7,167,237,66,235,2
25,9,193,16,210,13,121,254,2,32,
10,17,192,64,33,224,79,6,2,24
80 DATA 194,254,1,121,192,17,0
,72,33,160,79,6,3,24,180
ZX Computing Monthly · November 1986
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.