SCREEN$ Utility

Author(s): David Braziel
Publication: The Data Expansion
Pub Details: The Data Expansion v4 n9 (Volume 4, Issue 9)
Date: Sept 1987
Pages: 11-12

David Braziel of Stafford gives a very interesting routine for the Alphacom 32 or ZX printer. This will give you some very interesting screen dumps.

10  DEF  FN  c$(x,y)=CHR$  (128+(POINT  (x+1,y))+(2*POINT
(x,y))+(4*POINT (x+1,y-1))+(8*POINT (x,y-1)))
15 LET col=0
20 LPRINT "--------------------------------": REM 32 minuses!
25 FOR y=175 TO 1 STEP -2
30 FOR x=col TO col+62 STEP 2
40 LPRINT FN c$(x,y);
50 NEXT x
60 NEXT y
70 LET col=col+64: IF col<256 THEN GO TO 20

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