home *** CD-ROM | disk | FTP | other *** search
- 10 dv=peek(186):ifdv<8thendv=8:rem set drive
- 20 poke56,52:poke52,52:rem lower top of basic
- 30 poke53281,0:poke53280,0:print"[147][159]":gosub660
- 37 :
- 38 :rem load pic stuff
- 39 :
- 40 sys57812"unpacker1.89",dv,0:poke780,0:poke781,0:poke782,201:sys65493
- 50 sys57812"menorah.shp",dv,0:poke780,0:poke781,0:poke782,52:sys65493
- 57 :
- 58 :rem change to bank 1 - unpack and display pic
- 59 :
- 60 poke56578,peek(56578)or3:poke56576,(peek(56576)and252)or2
- 70 poke251,52:poke252,64:poke253,96
- 80 poke53280,0:sys51456:sys51459
- 87 :
- 88 :rem load rest of stuff
- 89 :
- 90 sys57812"ch.sid player",dv,0:poke780,0:poke781,0:poke782,192:sys65493
- 100 sys57812"ch.scripter cc00",dv,0:poke780,0:poke781,0:poke782,204:sys65493
- 110 sys57812"chan.fnt",dv,0:poke780,0:poke781,0:poke782,120:sys65493
- 120 sys57812"chan.spr",dv,0:poke780,0:poke781,0:poke782,117:sys65493
- 130 sys57812"o! chanukah.mus",dv,0:poke780,0:poke781,0:poke782,106:sys65493
- 140 sys57812"mi y'malel.mus",dv,0:poke780,0:poke781,0:poke782,112:sys65493
- 150 poke648,96:poke53272,129:rem set screen and color
- 157 :
- 158 :rem night strings
- 159 :
- 160 fori=0to7:readd$(i):next
- 170 data" [198]irst ","[211]econd "," [212]hird ","[198]ourth "," [198]ifth "," [211]ixth "
- 180 data"[211]eventh","[197]ighth "
- 190 sp=96*256+1016:v=53248:rem sprite pointers - vic chip
- 200 sc=52224:syssc,64,96,120:rem setup hi-res scripter
- 207 :
- 208 :rem setup sprites
- 209 :
- 210 fori=0to7:pokesp+i,212+i:pokev+39+i,7:next
- 220 pokev+16,0:pokev+29,0:pokev+23,0:pokev+28,0
- 230 fori=8to0step-1:readx(i),y(i):next:rem flame locations
- 240 data172,57,104,89,120,81,136,73,152,65,192,65,208,73,224,81,240,89
- 250 fori=0to7:readxx(i),yy(i):next:rem red char locations
- 260 data28,6,26,5,24,4,22,3,17,3,15,4,13,5,11,6
- 270 fori=0to24:poke54272+i,0:next:rem clear sid
- 277 :
- 278 :rem main loop - night 1 to 7
- 279 :
- 280 fori=0to6
- 290 sys49435:poke781,0:poke782,106+6*(iand1):sys49458:poke49152,7:rem music
- 300 pokev+14,x(8):pokev+15,y(8):rem middle flame
- 310 pokev+2*i,x(i):pokev+1+2*i,y(i):rem loop flame
- 320 syssc+6,2,18,"[149]"+d$(i):rem night message
- 330 syssc+6,2,19," [206]ight "
- 340 pokev+21,peek(v+21)or(128+2^i):rem turn on sprites
- 350 syssc+6,xx(i),yy(i),"[144] [146]":rem red part of flames
- 360 syssc+6,19,2,"[144]<>":rem middle flame red part
- 370 forj=0toi:pokesp+j,212+int(rnd(1)*8):next:rem flame wiggle
- 380 pokesp+7,212+int(rnd(1)*8)
- 390 geta$:ifpeek(49152)=7anda$=""then370
- 400 poke49152,0:poke54276,0:poke54283,0:poke54290,0:sys49629:rem music off
- 410 next
- 417 :
- 418 :rem eighth flame
- 419 :
- 420 pokev+14,x(7):pokev+15,y(7)
- 430 pokev+21,255
- 440 syssc+6,19,1,"[155][\[157][157]]^"
- 450 syssc+6,xx(7),yy(7)," [146]"
- 460 syssc+6,2,18,"[149]"+d$(7)
- 470 syssc+6,30,18,"[155]([193][155])gain"
- 480 syssc+6,30,20,"[155]([209][155])uit"
- 490 sys49435:poke781,0:poke782,106:sys49458:poke49152,7
- 500 q=(q+1)and7:fori=0to7:pokesp+i,212+q:next:rem flame wiggle
- 510 ifpeek(49152)=0thenpoke54276,0:poke54283,0:poke54290,0:sys49629:goto490
- 520 geta$:ifa$=""then500
- 530 ifa$="a"ora$="[193]"then560
- 540 ifa$="q"ora$="[209]"then600
- 550 goto520
- 557 :
- 558 :rem music off and redisplay pic for another round
- 559 :
- 560 poke49152,0:poke54276,0:poke54283,0:poke54290,0:sys49629:pokev+21,0
- 570 print"[147]":sys51459:poke251,52:poke252,64:poke253,96:sys51456:sys51459
- 580 goto270
- 597 :
- 598 :rem return to ls
- 599 :
- 600 poke49152,0:poke54276,0:poke54283,0:poke54290,0:sys49629:pokev+21,0
- 602 print"[147]":sys51459
- 610 a$="hello connect":fori=8to9:close2:open2,i,2:close2:ifstthen630
- 620 close15:open15,i,15,"r0:"+a$+"="+a$:input#15,er:close15:ifer=63then640
- 630 next:print"[147]":poke2048,0:poke44,8:poke53272,23:poke186,8:end
- 640 poke646,peek(53281):print"[147]load"chr$(34)a$chr$(34)","i
- 650 print"run":poke44,8:poke2048,0:poke631,13:poke632,13:poke198,2:end
- 657 :
- 658 :rem copyright notice
- 659 :
- 660 print"[147]":z$=" [152] ":poke214,10:print
- 670 print" [155][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184]":fori=0to11:printz$:next
- 680 print" [151][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][152]"
- 690 z$(0)="[195] [200] [193] [206] [213] [203] [193] [200]":z$(1)="by [203]enneth [194]arsky
- 700 z$(2)[178]"(len) 1993 by (NULL)oftdisk (NULL)ublishing"[170][199](13)
- 710 z$(3)[178]"(NULL)his program is the copyrighted work
- 720 z$(4)="of [211][207][198][212][196][201][211][203] [208][213][194][204][201][211][200][201][206][199]. [201]t is not"
- 730 z$(5)="shareware or in the public domain."
- 740 z$(6)="[210]eport illegal distribution of":z$(7)="this program by calling"
- 750 z$(8)="1-800-831-2694 or 1-318-221-8718.":poke214,12:print
- 760 fori=0to8:printtab(20-(len(z$(i))/2))""z$(i):next:return
- 767 :
- 768 :rem scratch and save
- 769 :
- 10000 open15,8,15,"s0:b.chanukah":close15:save"b.chanukah",8:end
-