Flash and Scroll

Author(s): Gary Szekeres
Publication: Timex Sinclair User
Pub Details: Timex Sinclair User n6 (Volume 1, Issue 6)
Date: November 1983
Pages: 38
Man in a trenchcoat flashing, with FLASH AND SCROLL title
Man in a trenchcoat flashing, with FLASH AND SCROLL title

THIS program flashes politely. As it is written, it will run successfully in 2K on the Timex Sinclair but not on the unexpanded ZX81; you will need to delete lines 10, 20, 50, 60, 70, 80, 90 and 100, then hit CONT to see the results. The string in line 210 may be any 32 characters you choose. Particularly effective is alternating ▞ and ▚ in succession, i.e. ▞▚▞▚▞▚ etcetera.

The two machine code routines to do the scrolling are at locations 16514 and 16545. Submitted by Gary Szekeres of Erlanger, Kentucky. (T/S1000,1500,ZX81 2K).

   1 REM 12345678901234567890123456789012345678901234567890123456789012345
10 LET A$="AF2A0C4023545D23F51AF5011F00EDB0F12B77F13C2323231313FE0B20EA00"
20 LET A$=A$+"AFF52A0C4001D50209545D7EF52B011F00EDB8F112F13CFE0BC8F51B1B2B18EB"
50 LET J=16514
60 FOR I=1 TO LEN A$ STEP 2
70 POKE J,16*CODE A$(I)+CODE A$(I+1)-476
80 LET J=J+1
90 NEXT I
100 STOP
200 FOR I=0 TO 21
210 PRINT AT I,I;"SCROLLING"
220 NEXT I
230 RAND USR 16514
240 GOTO 230
Screen output samples of the scrolling text and checkerboard patterns
Screen output samples of the scrolling text and checkerboard patterns

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