Upside Down

Author(s): David Fulmer; Martin Helfgott
Publication: LISTing Newsletter
Date: September 1985
Pages: 12

? UPSIDE DOWN ?

FROM THE SCREEN OF M.L.H. ………. T/S 1500

"From the screen of M.L.H." logo and the program's screens: IS YOUR TV SET UPSIDE DOWN ? (printed upside down), OR-ANY ?BUGS? IN YOUR PROGRAM, THEN TRY NYTSE NETWORK
"From the screen of M.L.H." logo and the program's screens: IS YOUR TV SET UPSIDE DOWN ? (printed upside down), OR-ANY ?BUGS? IN YOUR PROGRAM, THEN TRY NYTSE NETWORK

SEND SASE FOR INFORMATION TO:
MARTIN L. HELFGOTT
BOX 284 BATH BEACH STATION
BROOKLYN,N.Y. 11214

Listing (headed “FULMER”; the top of the first line is cut off in the copy). Inverse-video text is shown in [inverse: …]; the block graphics of lines 660-665 are not typed – see the figure.

[illegible] DIM P$(4,8)
10 LET A$="IS YOUR TV SET 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
101 REM IF C-2*INT (C/2)=1 THEN PLOT (J-1)*8+L-1,(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,28;"08,0"
165 PAUSE 100
170 PRINT AT 19,0;"EMERGENCY"
175 PRINT AT 20,10;"GOTO 200 IMMEDIATELY[illegible]"
200 DIM P$(4,8)
210 LET A$="OR ? ANY BUGS IN YOUR PROGRAM?"
220 FOR I=0 TO 3
230 LET P$(I+1)=A$(I*8+1 TO (I+1)*8)
240 NEXT I
250 FOR I=1 TO 4
260 FOR J=1 TO 8
270 FOR K=0 TO 7
275 IF CODE P$(I,J)=0 THEN GOTO 330
280 LET C=PEEK (7680+CODE P$(I,J)*8+K)
285 IF C=0 THEN GOTO 325
290 FOR L=8 TO 1 STEP -1
300 IF C-2*INT (C/2)=1 THEN PLOT (J-1)*8+L-1,(5-I)*8-K
310 LET C=INT (C/2)
320 NEXT L
325 NEXT K
330 NEXT J
340 NEXT I
350 PAUSE 200
355 GOTO 600
360 PRINT " SEND SASE FOR LISTING TO:"
370 PRINT " MARTIN L. HELFGOTT"
380 PRINT " BOX 284 BATH BEACH STATION"
390 PRINT " BROOKLYN,N.Y. 11214"
395 STOP
400 PRINT " GOTO 200 TO TURN THE TV SET RIGHT SIDE UP "
500 PRINT
600 PRINT " GOTO 0 TO TURN THE TV SET UPSIDE DOWN "
650 STOP
660 PRINT AT 0,0;"\ :\''\''\''\''\''\''\''\''\: "
661 PRINT AT 1,0;"\ : FROM \: "
662 PRINT AT 2,0;"\ : THE \: "
663 PRINT AT 3,0;"\ : SCREEN \: \ :\''\''\''\''\''\''\''\''\''\''\: "
664 PRINT AT 4,0;"\ : B[illegible][illegible]MLH \: ..........\ : SINCLAIR \: "
665 PRINT AT 5,0;"\ :\..\..\..\..\..\..\..\..\: \ :\..\..\..\..\..\..\..\..\..\..\: "
710 PRINT
720 PRINT
730 PRINT " ? U P S I D E D O W N ?"
740 PRINT " \!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!.\!."
2000 SAVE "UPSIDE DOWN"
3000 GOTO 1
UPSIDE DOWN listing as printed (first line number cut off; inverse-video and block-graphic strings)
UPSIDE DOWN listing as printed (first line number cut off; inverse-video and block-graphic strings)

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