SCREENWRITER is not a program for would-be employees of MGM but a neat routine for producing the kind of large-scale graphics shown in our listing.
A maximum of four lines of eight characters can each be displayed on the screen at one time. The prompt for a string entry is given and a maximum of seven characters can then be entered.
The enlarged string is then displayed and will scroll up to make way for a new string. With a COPY command, the program could be used with the ZX-81 printer.
10 INPUT A$
20 FOR L=SGN PI TO LEN A$
30 LET X=VAL "7681"+CODE A$(L)*CODE "\!:"
40 FOR Y=NOT PI TO CODE "\.'"
50 LET P=PEEK (X+Y)
60 FOR G=7 TO 0 STEP -1
70 IF P<2**G THEN GOTO 100
80 PLOT 8*L-G,8-Y
90 LET P=P-2**G
100 NEXT G
110 PAUSE CODE ";"
120 NEXT Y
130 NEXT L
140 SCROLL
150 SCROLL
160 SCROLL
165 SCROLL
170 GOTO SGN PI

SINCLAIR PROGRAMS November/December 1982
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.