2068 Fun

See all articles from SINCUS v2 n6
Author(s): Rick Johnson
Publication: Sincus News
Pub Details: SINCUS v2 n6 (Volume 2, Issue 6)
Date: June 1984
Pages: 4, 8, 10
   1 REM RICK JOHNSON CINCINNATI OH. T/S GROUP SCREEN DISPLAY
10 INK 9: PAPER 6: BORDER 4: BRIGHT 0: OVER 0: INVERSE 0: CLS
20 RESTORE 30: FOR b=0 TO 7: READ a: POKE USR "k"+b,a: NEXT b
30 DATA 0,0,0,60,66,255,129,255
40 RESTORE 40: FOR b=0 TO 7: READ a: POKE USR "l"+b,a: NEXT b
50 DATA 0,0,0,15,16,63,32,63
60 RESTORE 60: FOR b=0 TO 7: READ a: POKE USR "c"+b,a: NEXT b
70 DATA 0,0,0,255,0,255,0,255
80 RESTORE 80: FOR b=0 TO 7: READ a: POKE USR "r"+b,a: NEXT b
90 DATA 0,0,0,240,8,253,4,253
95 PLOT 70,90
100 RESTORE 1000
110 FOR b=1 TO 8
120 READ x,y,r
130 DRAW x,y,r
140 NEXT b
150 RESTORE 1020
160 PLOT 65,80
170 FOR b=1 TO 8
180 READ x,y,r
190 DRAW x,y,r
200 NEXT b
210 CIRCLE 180,150,6
220 CIRCLE 180,130,6
250 PRINT AT 15,4;"[UDG graphics: 11 wheel characters]"
260 PRINT AT 16,3;"[UDG graphics: 11 wheel characters]"
270 PRINT AT 17,4;"[UDG graphics: 10 wheel characters and 1 bar character]"
280 PRINT AT 18,2;"[UDG graphics: left end, a row of wheel characters, right end]"
290 PRINT AT 19,5;"[UDG graphics: a row of bar characters]"
300 PLOT 3,12
310 RESTORE 320: FOR b=1 TO 17: READ x,y: DRAW x,y:: NEXT b
320 DATA 249,0,0,-10,-249,0,0,10,25,42,200,0,25,-42,-40,0,-20,42,35,0,-13,20,-174,0,-13,-20,2,3,196,0,-3,5,-190,0
350 OVER 1: PRINT AT 13,6;"T S 2068"
400 PRINT AT 3,9;"I LOVE MY";AT 5,9;"TIMEX/";AT 6,12;"SINCLAIR";AT 8,10;"COMPUTER"
1000 DATA 80,0,0
1002 DATA 10,10,1.57
1004 DATA 0,50,0
1006 DATA -10,10,1.57
1008 DATA -80,0,0
1010 DATA -10,-10,1.57
1012 DATA 0,-50,0
1014 DATA 10,-10,1.57
1020 DATA 120,0,0
1022 DATA 15,15,1.57
1024 DATA 0,55,0
1026 DATA -15,15,1.57
1028 DATA -120,0,0
1030 DATA -15,-15,1.57
1032 DATA 0,-55,0
1034 DATA 15,-15,1.57
9990 STOP
9999 SAVE "T V" LINE 1: BEEP 1,33

 10 LET x=0
20 LET y=0
30 LET j=0
40 FOR i=172 TO 0 STEP -4
50 LET j=j+1
60 LET x=x+2
70 LET y=y+2
80 PLOT x,y
90 DRAW j,i
100 DRAW i,-j
110 DRAW -j,-i
120 DRAW -i,j
130 NEXT i
printout of the rotating squares pattern
printout of the rotating squares pattern

10 FOR f=0 TO 65 STEP .1
20 PLOT 2*f*SIN f+125,f*COS f+88
30 NEXT f

10 FOR f=0 TO 254
20 PLOT f,30*SIN (f/10)+88
30 DRAW 10,10: DRAW -10,5
40 NEXT f

25 BORDER 0: PAPER 4: INK 1: CLS
50 FOR f=0 TO 254
60 PLOT f,30*SIN (f/10)+88
65 DRAW 0,175-(30*SIN (f/10)+88)
70 NEXT f

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