An animated Christmas card: a brick fireplace with a flickering red and yellow fire, candles on the mantel and a HOME SWEET HOME sign. After a while MERRY CHRISTMAS TO ALL!! flashes at the top, and later the bottom lines read Happy New Year! and CCAT/S Wish you Season’s Best!. The display runs until BREAK.
Seven user-defined graphics (bricks, flames, candle flames) are set up from DATA by the subroutine at line 500. Lines 1010-1017 save and verify the program on a wafer drive; they come after STOP and are not needed.
In line 160 the row number after AT was hidden by clip art pasted over the printed listing; it is read here as AT 1,1, so the two greeting lines appear one above the other (with AT 0,1 the second greeting would print over the first).
Published in The Plotter December 1985 (Christmas Fireplace).
Source Code
5 REM fireplace designed by Jack Armstrong 12/84-idea from a Family Computing program but, this is all original
10 BORDER 4: PAPER 5: INK 0: CLS : GO SUB 500: LET z=0
15 PRINT PAPER 2;AT 9,3;"\d\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\d";AT 10,3;"\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c": REM Graphic D,BC(12 each),D. Graphic BC (13 each)
20 FOR k=11 TO 13
25 PRINT PAPER 2;AT k,4;"\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c\b\c": REM Graphic BC (12 each)
30 NEXT k
35 FOR k=14 TO 21
40 PRINT PAPER 2;AT k,4;"\b\c\b\c";AT k,24;"\b\c\b\c": REM Graphic BCBC. Graphic BCBC
45 PRINT PAPER 1; INK 1;AT k,8;"\::\::\::\::\::\::\::\::\::\::\::\::\::\::\::\::": REM Graphic \::
50 NEXT k
55 FOR k=6 TO 8
60 PRINT PAPER 6; INK 7;AT k,6;"\a";AT k,25;"\a": REM Graphic A
65 NEXT k
70 PRINT AT 19,9;"\::";AT 19,22;"\::";AT 20,10;"\::\::\::\::\::\::\::\::\::\::\::\::";AT 21,12;"\::";AT 21,19;"\::"
75 FOR k=1 TO 4e4: REM Make this loop any length you want; this one is infinite
80 PRINT PAPER 5; INK 2;AT 5,6;"\g";AT 5,25;"\g": REM Graphic G
82 PAUSE 10
85 PRINT PAPER 5; INK 6;AT 5,6;"\g";AT 5,25;"\g": REM Graphic G
87 PAUSE 10
90 PRINT PAPER 5; INK 2;AT 5,6;"\g";AT 5,25;"\g": REM Graphic G
95 PAUSE 10
97 PRINT PAPER 5; INK 6;AT 5,6;"\g";AT 5,25;"\g": REM Graphic G
99 PAUSE 10
100 PRINT PAPER 5; INK 2;AT 5,6;"\g";AT 5,25;"\g": PAUSE 10: REM Graphic G
102 IF k>=10 AND k<=20 THEN FOR j=1 TO 3: LET z=1
103 IF k>=40 AND k<=50 THEN FOR j=1 TO 3: LET z=1
105 PRINT PAPER 1; INK 2;AT 15,15;"\e\f";AT 16,14;"\e\::\::\f";AT 17,13;"\e\::\::\::\::\f";AT 18,12;"\e\::\::\::\::\::\::\f";AT 19,11;"\e\::\::\::\::\::\::\::\::\f": REM GraphicE,F & \::
110 PAUSE 5
115 PRINT PAPER 1; INK 6;AT 15,15;"\e\f";AT 16,14;"\e\::\::\f";AT 17,13;"\e\::\::\::\::\f";AT 18,12;"\e\::\::\::\::\::\::\f";AT 19,11;"\e\::\::\::\::\::\::\::\::\f"
117 PAUSE 5
120 PRINT PAPER 1; INK 2;AT 15,15;"\e\f";AT 16,14;"\e\::\::\f";AT 17,13;"\e\::\::\::\::\f";AT 18,12;"\e\::\::\::\::\::\::\f";AT 19,11;"\e\::\::\::\::\::\::\::\::\f"
125 PAUSE 15
127 IF z THEN NEXT j
130 IF k>=20 THEN PRINT PAPER 7; INK 2; FLASH 1;AT 0,4;"MERRY CHRISTMAS TO ALL!!"
145 REM Graphic \:: & A
150 PRINT PAPER 6;AT 2,9;"\::\a\a\a\a\a\a\a\a\a\a\a\a\::";AT 3,9;"\a \a";AT 4,9;"\a HOME SWEET \a";AT 5,9;"\a HOME \a";AT 6,9;"\a \a";AT 7,9;"\::\a\a\a\a\a\a\a\a\a\a\a\a\::"
160 IF k=50 THEN PRINT #1,AT 1,1;"CCAT/S Wish you Season's Best!";AT 0,9;"Happy New Year! "
490 NEXT k
495 STOP
500 REM Routine to POKE decimal numbers into memory creat- ing graphic characters
505 FOR a=USR "a" TO USR "g"+7
510 READ user: POKE a,user: NEXT a
512 REM DATA for Graphics A B C D E F & G
513 REM \a \b \c \d \e \f \g
515 DATA 85,170,85,170,85,170,85,170
520 DATA 255,128,128,128,128,128,128,255
525 DATA 255,1,1,1,1,1,1,255
530 DATA 255,129,129,129,129,129,129,255
535 DATA 1,1,3,19,51,63,127,255
540 DATA 128,128,192,200,204,252,254,255
545 DATA 16,48,120,252,126,124,56,16
570 RETURN
1000 REM
1010 SAVE "@2,fire" LINE 10
1012 FOR k=-5 TO 7: BEEP .04,k: NEXT k
1015 VERIFY "@fire"
1017 FOR k=-5 TO 7: BEEP .04,k: NEXT k
1020 REM "FIREPLACE1" 12/6/84 by Jack Armstrong, Salem, ORNote: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.


