Dissolving Display

Developer(s): Roy Wisti
Date: 1991
Type: Program
Platform(s): TS 2068
Tags: Graphics

Hides and reveals whatever is on the screen, one character square at a time in random order, by writing white-on-white and then black-on-white into the attribute file.

RUN it and wait about half a minute while it shuffles the 704 screen positions. It then uses its own listing as the picture and dissolves it out and in until you press BREAK. Replace line 95 to use a picture of your own.

Published in LISTing October 1991 (Screen Wipe+/Dissolving Display).

Related Articles

Program one is called Screen Wipe+. Number two is called Dissolving Display. It “hides” and “reveals” any display at random...

Image Gallery

Source Code

  10 REM DISSOLVING DISPLAY
  11 REM Programmer: Roy Wisti
  20 DIM b(704)
  29 REM Fill b() with 1-704 sequentially
  30 FOR f=1 TO 704: LET b(f)=f: NEXT f
  39 REM Swap array elements chosen at random.  The larger the loop, the less sequential the order of the array.
  40 FOR f=1 TO 500
  50 LET r=RND*703+1: LET s=RND*703+1
  60 LET c=b(r): LET d=b(s)
  70 LET b(s)=c: LET b(r)=d
  90 NEXT f: BEEP .05,1
  91 
  94 REM Place something in display file (a listing or graphics of your choosing).
  95 LIST 91
  99 REM Fill attribute file with WHITE ink & WHITE paper following random order created in b(), "hiding" display.
 100 FOR f=1 to 704
 110 POKE 22528+b(f)-1,BIN 00111111: NEXT f
 119 REM Do the same but with Black ink on WHITE paper, "revealing" display
 120 FOR f=1 to 704
 130 POKE 22528+b(f)-1,BIN 00111000: NEXT f
 140 GO TO 100

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