(FROM SINC-LINC 5-6/89 by David Solly)
This is good for an action getter for a game title. Just change line 60 with your wording, up to 16 characters long. It can be incorporated into other programs that do not have pixels at the 0,0 to 0,16 character locations.
Line 60 places the title in the top left corner of the screen. It cannot be seen normally as INK is the same color as PAPER. However, the computer scans the area of the screen (the 2 FOR-NEXT loops, x and y) for the presence of pixels operated by the the wording, and if, in line 90, it detects an oparated pixel the routine in lines 100-140 comes into play to spell the wording out in the mid-section of the screen.
60 INK 7: PAPER 1: BORDER 1: CLS: PRINT INK 1; AT 0,0;"BANG! YER DEAD!"
70 FOR x=0 TO 127
80 FOR y=0 TO 7
90 IF NOT POINT (x,y+168) THEN GO TO 150
100 PLOT 2*x,3*y+80
110 PLOT 0,0: DRAW OVER 1;2*x,3*y+79
120 PLOT 0,0: DRAW OVER 1;2*x,3*y+79
130 BEEP .001,30
140 PLOT 2*x,3*y+80
150 NEXT y
160 NEXT x
170 CLS: RUN
9000 REM Disc save. This is for LKDOS. Change to fit your system.
9010 PRINT USR 100: SAVE "GUN.B1" LINE 1
9020 REM Editors note: as I recall both lines 110 & 120 are required.
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.