Publication: Timex Sinclair User
Pub Details: Timex Sinclair User n6 (Volume 1, Issue 6)
Date: November 1983
Pages: 36

THIS program displays the message in A$ upside-down on the screen in enlarged characters. A$ must be at least 32 characters long. After the message is printed upside-down, the error message 0/80 appears upside-down on the screen. To make the program print the message right-side-up, change line 100 to:
100 IFC-2*INT (C/2)=1 THEN PLOT (J-1)*8+L-1, (5-I)*8-K and delete lines 150 and 160. Submitted by David Fulmer of Herminie, Pennsylvania. (T/S1000,1500,ZX81 16K)

5 DIM P$(4,8)
10 LET A$=" YOUR TV IS UPSIDE DOWN "
20 FOR I=0 TO 3
30 LET P$(I+1)=A$(I*8+1 TO (I+1)*8)
40 NEXT I
50 FOR I=1 TO 4
60 FOR J=1 TO 8
70 FOR K=0 TO 7
75 IF CODE P$(I,J)=0 THEN GOTO 130
80 LET C=PEEK (7680+CODE P$(I,J)*8+K)
85 IF C=0 THEN GOTO 125
90 FOR L=8 TO 1 STEP -1
100 IF C-2*INT (C/2)=1 THEN PLOT 61-(J-1)*8-L+1,41-(5-I)*8+K
110 LET C=INT (C/2)
120 NEXT L
125 NEXT K
130 NEXT J
140 NEXT I
150 PRINT AT 0,26;"08/0"
160 POKE 16384,74
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.