Fills the screen with a pattern of black triangles made from user-defined graphic A, frames it, then swaps to a mirrored pattern made from graphic B, and keeps alternating the two until BREAK.
Start it with RUN 300 the first time: that sets up the two graphics and then runs the display. A plain RUN uses whatever graphics A and B hold (on a fresh machine the letters A and B). Lines 400-480 are an optional version for a disk system that loads the two screens as SCREEN$ files named 1 and 2; they are not part of the display program.
Published in The Plotter February 1991 (Screen Display Program).
Source Code
3 REM by Dick Wagner
5 REM use RUN 300 first to set the graphic characters
10 FOR M=0 TO 20
20 FOR N=0 TO 31
30 PRINT "A";: REM graphic "A"
40 NEXT N
50 NEXT M
60 PLOT 0,8: DRAW 0,167: DRAW 255,0: DRAW 0,-167: DRAW -255,0
200 PAUSE 20
210 CLS
220 FOR M=0 TO 20
230 FOR N=0 TO 31
240 PRINT "B";: REM graphic "B"
250 NEXT N
260 NEXT M
265 PLOT 0,8: DRAW 0,167: DRAW 255,0: DRAW 0,-167: DRAW -255,0
270 PAUSE 20: CLS : GO TO 10
280 STOP
300 FOR L=65368 TO 65368+15
310 READ a
320 POKE L,a
330 NEXT L
350 DATA 128,192,224,240,248,252,254,255
360 DATA 1,3,7,15,31,63,127,255
370 GO TO 10
380 STOP
400 REM if you save this program on disk, then consider this enhancement
410 REM save each of these SCREEN$ on disk. I used "1" for the name of the first and "2" for the second.
420 CLS
430 LOAD "1"SCREEN$ : REM use your DOS file name system.
440 PAUSE 20
450 LOAD "2"SCREEN$
460 GO TO 430
470 REM save lines 400-470 as a separate program. Save it at line 400 for automatic run.
480 REM this last is not for touchy stomacks!Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.

