120 POKE 232,0: POKE 233,96: REM POKE IN HIGH AND LOW BYTES OF SHAPE TABLE ADDRESS.
130 HGR : ROT= 0: SCALE= 1: HCOLOR= 7
140 A$ = "PRESS A KEY TO":B$ = "VIEW NEXT LETTER"
150 GOSUB 160: GOTO 250
160 FOR T = 1 TO LEN(A$): DRAW ( ASC( MID$ (A$,T,1)) -31) AT T *10,20
170 DRAW ( ASC( MID$ (A$,T,1)) -31) AT T *10 +1,20
180 NEXT
190 FOR T = 1 TO LEN(B$): DRAW ( ASC( MID$ (B$,T,1)) -31) AT T *10,40
200 DRAW ( ASC( MID$ (B$,T,1)) -31) AT T *10 +1,40
210 NEXT
220 REM THE PROGRAM 'READS' EACH LETTER OF A$ OR B$, AND DRAWS ITS ('ASC' VALUE - 31).
230 REM THE SAME LETTER IS BEING DRAWN AGAIN, EXCEPT AT THE NEXT PIXEL TO GIVE THE LETTERS THEIR THICKNESS. THIS PROCESS MAY BE OMITTED TO ACHIEVE NORMAL WIDTH, APPLE-CHARACTER SHAPES.
240 RETURN
250 C$ = "< HI-RES CHARACTER": FOR T = 1 TO LEN(C$): DRAW ( ASC( MID$ (C$,T,1)) -31) AT (T *10 +20),100: DRAW ( ASC( MID$ (C$,T,1)) -31) AT (T *10 +21),100: NEXT
260 VTAB 23: PRINT "** COPYRIGHT 1984 BY MICROSPARC, INC. **";: VTAB 21: HTAB 5: PRINT "< APPLE'S CHARACTER (IN TEXT WINDOW)"
270 FOR T = 32 TO 95
280 VTAB 21: HTAB 1: PRINT CHR$(T)
290 HCOLOR= 7: DRAW T -31 AT 3,100
300 WAIT -16384,128: POKE -16368,0
310 HCOLOR= 0: DRAW T -31 AT 3,100
320 NEXT T
330 HGR : HOME
340 A$ = "TYPE IN UP TO 20 CHARACTERS":B$ = "(NO CONTROL CHARACTERS)"
350 HCOLOR= 7: GOSUB 160
360 VTAB 21: HTAB 1: INPUT ":";A$
370 IF LEN(A$) <1 OR LEN(A$) >20 THEN PRINT CHR$(7): GOTO 360: REM CHECK LENGTH OF INPUT
380 C$ = "--------------------":B$ = LEFT$(C$, LEN(A$)): REM 20 DASHES
390 FOR T = 1 TO LEN(A$): IF ASC( MID$ (A$,T,1)) <32 OR ASC( MID$ (A$,T,1)) >95 THEN PRINT CHR$(7): GOTO 360: REM CHECK FOR ILLEGAL CHARACTERS
400 NEXT T
410 HGR : HCOLOR= 7: GOSUB 160: REM CLEAR SCREEN, AND DRAW WHAT USER HAS TYPED IN.
420 VTAB 22: PRINT "PRESS ANY KEY TO QUIT";: GET K$: TEXT : HOME : END