Son of Big Characters

Developer(s): John Filley
Date: 1981
Type: Program
Platform(s): ZX80
Tags: Graphics

A big-character printer for the ZX80, from John Filley’s method; the article says the program itself was written by Syntax’s technical consultant. It reads each character’s 8×8 pattern from the 4K ROM and prints it with quarter-square graphics, so every letter comes out four times normal size.

Line 2 is a REM that holds the sixteen graphic characters. The first time you RUN it, enter the sixteen numbers 0 4 6 2 5 131 8 135 7 136 3 133 130 134 132 128, which lines 6-9 POKE into that REM; the article then has you delete lines 6-9 before saving. After that, type up to 8 characters per line and they are printed large. In 1K about 34 characters fit on the screen; in more memory the program stops with error 5 when the screen is full.

As printed, line 110 is missing an opening bracket and would not be accepted by the ZX80. The March 1981 Syntax Errors column gives the corrected line (PEEK(16427+(Q AND B)…), and the printed Syntactic Sum is for the program with that bracket, the REM filled and lines 6-9 deleted. The download has the listing as printed and a corrected file.

Published in Syntax February 1981 (Son of Big Characters).

Related Articles

Print 4x size characters.

Related Content

Image Gallery

Source Code

  2 REM ABCDEFGHIJKLMNOP
  5 DIM C(7)
  6 FOR X=0 TO 15
  7 INPUT E
  8 POKE 16427+X,E
  9 NEXT X
 10 INPUT A$
 20 FOR X=0 TO 7
 30 LET C(X)=CODE(A$)
 35 IF C(X)=1 THEN GO TO 57
 40 LET A$=TL$(A$)
 50 NEXT X
 57 LET E=X-1
 60 LET L=1
 70 FOR X=0 TO E
 80 LET Q=C(X)*8+3583+L
 85 LET R=PEEK(Q+1)
 90 LET Q=PEEK(Q)
 95 LET B=128
 97 LET B2=B/2
110 PRINT CHR$(PEEK(16427+Q AND B)/B+4*(Q AND B2)/B2+2*(R AND B)/B+8*(R AND B2)/B2));
170 LET B=B/4
175 IF B>0 THEN GO TO 97
250 NEXT X
255 LET L=L+2
257 PRINT
260 GO TO 10-60*(L<9)

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