RANDOM REFLECTIONS BY T. D. K.
When I finished assembling my ZX-81 I was led to believe that this mass of silicon and copper foil was an inanimate device, with no human qualities or thoughts of its own. If I gave it a little encouragement by entering a simple instruction it could give me the value of PI to 12 places, but I could sense that it wanted to express itself on more frivolous subjects.
When I asked it to plot SIN and COS curves it became very excited and wanted more. After a little massaging, the following program was developed. Of course, you’ll have to crank it into your Mickey Mouse contraption to find out what lecherous thoughts were uppermost in its (?) mind!!
Theo Koranye
SINCUS
TS1000 FUN
5 REM "DOLLY"
6 REM THEO KORANYE, SINCUS
7 PRINT AT 2,8;"DOLLYS NECKLINE"
10 FOR N=0 TO 63
20 PLOT N,40*COS (N/63*PI)
30 NEXT N
40 PAUSE 200
55 PRINT AT 5,8;"DOLLY UNDERNEATH"
60 FOR N=0 TO 31
70 PLOT N,20-(20*SIN (N/32*PI))
80 NEXT N
90 FOR T=32 TO 63
100 PLOT T,20+(20*SIN (T/32*PI))
110 NEXT T
HOW TO USE “HEADER”
“HEADER”s LISTING IS ON PAGE 8
The program “HEADER” is to assist you in identifying exactly what is on any computer cassette tape. Simply load “Header”, press any key, and PLAY your cassette; for best results play the entire cassette!
“HEADER” reads the identifying information and tells you exactly what is on the tape. If you will hook up your printer, you will have a “hard copy” you can store in the case the cassette is stored in – for future use!
HEADER
10 CLEAR 32767
20 FOR j=32768 TO 32794
30 READ k
40 POKE j,k
50 NEXT j
60 DATA 243,62,128,211,255,62,1,211,244,62,0,221,33,32,128,55,205,252,0,62,0,211,255,211,244,251,201
70 REM The DATA Statement Contains The Machine code ;
8000 DI ;Disable Int.
8001 LD A,80 ;\
8003 OUT (FF),A ; \Switch To
8005 LD A,01 ; /Extension
8007 OUT (F4),A ;/ ROM
8009 LD A,00 ;LOAD Header
800B LD IX,8020 ;LOAD It Here
800F SCF ;LOAD Flag
8010 CALL 00FC ;LOAD Routine
8013 LD A,00 ;\
8015 OUT (FF),A ; *Restore
8017 OUT (F4),A ;/ Home ROM
8019 EI ;Enable Int.
801A RET ;All Done
100 CLS
110 PRINT AT 10,5;"Program Header Display"
120 PRINT AT 12,0;"Start The Tape And Press Any Key"
130 IF INKEY$="" THEN GO TO 130
140 CLS
150 RANDOMIZE USR 32768: POKE 23692,2
160 IF PEEK 32800=0 THEN PRINT "Program: ";
170 IF PEEK 32800=1 THEN PRINT "Number array: ";
180 IF PEEK 32800=2 THEN PRINT "Character array: ";
190 IF PEEK 32800=3 THEN PRINT "Bytes: ";
200 LET mark=0: PRINT """";
210 FOR j=32810 TO 32801 STEP -1
220 IF PEEK j<>32 THEN IF mark=0 THEN LET mark=j
230 NEXT j
240 FOR j=32801 TO mark: PRINT CHR$ PEEK j;: NEXT j
245 PRINT """";
250 IF PEEK 32800=0 THEN IF PEEK 32813+256*PEEK 32814<9999 THEN PRINT " LINE ";PEEK 32813+256*PEEK 32814;
255 IF PEEK 32800=1 THEN PRINT " ";CHR$ (PEEK 32814-64);"(";(PEEK 32811+256*PEEK 32812-3)/5;")";
260 IF PEEK 32800=3 THEN PRINT " ";PEEK 32813+256*PEEK 32814;",";PEEK 32811+256*PEEK 32812;
265 IF PEEK 32800=2 THEN PRINT " ";CHR$ (PEEK 32814-128);"$(";PEEK 32811+256*PEEK 32812-3;")";
270 PAUSE 150: PRINT ""
280 GO TO 150
9999 SAVE "HEADER": SAVE "HEADER"
TYPE IN & RUN THEN PLAY ANY TS2068 PROGRAM TAPE CASSETTE SEE PAGE 6
TS2068 FUN
5 REM flower
6 REM John Colonna,SINCUS
10 BORDER 6: PAPER 4: CLS
15 LET x=0: LET y=80
20 LET c=110: LET a=88
25 CIRCLE 128,a,y: PLOT 208,a
30 DRAW -y,-y,PI: DRAW -y,y,PI
35 DRAW y,y,PI: DRAW y,-y,PI
40 PLOT 183,143
45 DRAW x,-c,PI: DRAW -c,x,PI
50 DRAW x,c,PI: DRAW c,x,PI
55 CIRCLE INVERSE 1;128,a,y

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