Lots of Color

Developer(s): Randy Kuhn
Date: 1984
Type: Program
Platform(s): TS 2068
Tags: Graphics

Fills the screen with 704 small checkerboard squares, each with a random ink and paper colour from black to yellow, so that the two colours seem to mix into new ones: a way to show more than the eight TS2068 colours. It makes user-defined graphic A into a checkerboard first (the DATA in line 60).

Corrected: line 20 was printed POKE USER CHR$ 144+I,A; USER is not a TS2068 keyword, and the line now reads POKE USR CHR$ 144+I,A. Line 10 was printed FOR I=1 TO 8, which put the eight DATA bytes one place too far (a blank line along the top of every square); it now reads FOR I=0 TO 7.

Published in The Plotter October 1984 (Lots of Color).

Image Gallery

Source Code

  10 FOR I=0 TO 7
  20 READ A: POKE USR CHR$ 144+I,A
  30 NEXT I
  32 FOR I=1 TO 704
  35 LET D=INT (RND*7): LET G=INT (RND*7)
  40 PRINT INK D; PAPER G; CHR$ 144;
  50 NEXT I
  60 DATA 170,85,170,85,170,85,170,85

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