2068 User Graphics

Author(s): Claude Sheldon
Publication: The Plotter
Pub Details: The Plotter v2 n11 (Volume 2, Issue 11)
Pages: 6
   1 REM An experiment in 2068 USR  graphics.
2 REM All capitals CHR$ inside quotes are graphics.
10 FOR z=0 TO 7
20 READ a: READ b: READ c: READ d
30 POKE USR "A"+z,a: POKE USR "B"+z,b: POKE USR "C"+z,c: POKE USR "D"+z,d
40 NEXT z
41 REM CHR$ 16+(CHR$ 0 thru CHR$ 9) sets color of USER graphics.
50 LET a$=CHR$ 16+CHR$ (INT (RND*5)+1)+"A"
60 LET b$=CHR$ 16+CHR$ (INT (RND*5)+1)+"B"
70 LET c$=CHR$ 16+CHR$ (INT (RND*5)+1)+"C"
80 LET d$=CHR$ 16+CHR$ (INT (RND*5)+1)+"D"
98 REM There should be 8 data statements. Create USR CHR$ using grid shown below. Add up bit weights and number them 1 to 8 as grid shows. Data statement #1 contains all the 1st bytes, #2 contains all the 2nd bytes, etc. #8 contains all the 8th bytes.
99 REM There should be 8 data statements. Create USR CHR$ using the grid shown below. Add up bit weights and number them 1 TO 8 as grid shows. Data statement #1 contains all the 1st bytes, #2 contains all the 2nd bytes, etc. #8 contains all the 8th bytes.
100 DATA 24,24,24,0
110 DATA 60,60,60,0
120 DATA 152,24,25,0
130 DATA 126,60,126,24
140 DATA 27,60,216,60
150 DATA 120,60,30,60
160 DATA 72,24,18,60
170 DATA 204,60,115,60
200 FOR f=1 TO 30
210 PRINT AT 10,f;" ";c$: PAUSE .5: NEXT f
215 PRINT AT 10,31;b$: PAUSE 10
220 FOR f=30 TO 0 STEP -1
230 PRINT AT 10,f;a$;" ": PAUSE 5
240 NEXT f
250 PRINT AT 10,0;d$

Transcription note: the listing is corrected so it runs. As printed, line 30 reads POKE USER, which the TS2068 does not accept; corrected to POKE USR.

Grid for graphic "A" with row values 24, 60, 152, 126, 27, 120, 72, 204
Grid for graphic "A" with row values 24, 60, 152, 126, 27, 120, 72, 204

SPECIAL NOTE

All memberships expire on December 31, 1984. If you have not already renewed, now is a good time to do so. Avoid the rush, do it early.

THANKS, RLG

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