home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 120
/
120.d81
/
dott
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
5KB
|
162 lines
10 poke52,52:poke56,52:clr:poke53281,0:poke53280,0
12 dv=peek(186):ifdv<8thendv=8
14 dimw$(220),b(15),s$(8),m$(8)
16 unpack=13824:hg=13827:sr=52480:sq=52486:g=49153
18 sys57812"dott0.shp",dv,0:poke780,0:poke781,0:poke782,64:sys65493
20 sys57812"dott3400-3747",dv,0:poke780,0:poke781,0:poke782,52:sys65493
22 poke251,64:poke252,96:poke253,76:sysun:syshg
24 sys57812"dott font",dv,0:poke780,0:poke781,0:poke782,56:sys65493
26 sys57812"dottc000-cf5f",dv,0:poke780,0:poke781,0:poke782,192:sys65493
30 sys13312,"dott text",dv
32 h=peek(252)*256+peek(251)
34 w$(0)=right$(w$(0),len(w$(0))-2)
36 fs$="[129][196][193][206][195][197] [207][198] [212][200][197] [212][207][215][197][210][211]"
37 sp$=" "
38 q=1:fori=0toh:ifw$(i)="*"thenb(q)=i:q=q+1
40 next:b(0)=0
50 poke53281,0:print"[147]"
60 syshg
65 syssr,96,76,56
70 tp$="[163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
72 bt$="[164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164]"
80 v(1)=330:v(2)=310:v(3)=160:v(4)=200:v(5)=140:v(6)=110
100 fori=0to7:s$(i)="dott"+chr$(i+48)+".shp"
102 m$(i)="dott"+chr$(i+48)+".mus":next
120 goto700
130 poke214,y:print
132 printtab(x)"[176]"left$(tp$,xx)"[174]"
134 forii=1toyy:printtab(x)"[170]"left$(sp$,xx)"[180]":next
136 printtab(x)"[173]"left$(bt$,xx)"[189]"
138 return
200 n=1:s=1:fl=0:p=0:mk=0:gosub500
205 gosub350
210 gosub300:ifflthen550
230 syssq-3,"[144]"
231 syssq,0,23,sp$
233 syssq,0,24,sp$
236 iflen(w$(n))>1thensyssq,20-int((len(w$(n))/2)),23,w$(n)
238 iflen(w$(n+1))>1thensyssq,20-int((len(w$(n+1))/2)),24,w$(n+1)
240 v=0
242 geta$
243 ifa$="q"then700
244 ifa$<>"n"then247
245 gosub310:ifflthen550
246 n=b(s)+1:goto210
247 ifa$=" "then260
248 v=v+1:ifv>v(s)then260
249 goto242
260 n=n+2
265 ifn>=b(s+1)thenn=b(s)+1
270 goto210
300 ifpeek(49152)=7thenreturn
310 gosub450:s=s+1:ifs>6thenfl=1:return
320 syshg:gosub600:n=b(s)+1
330 sys57812s$(s),dv,0:poke780,0:poke781,0:poke782,64:sys65493
340 sys57812m$(s),dv,0:poke780,0:poke781,0:poke782,128:sys65493
342 ifmkthenreturn
350 poke251,64:poke252,96:poke253,76:sysun
360 poke252,96:poke253,76:syshg:ifmk=0thengosub430
370 return
430 sys49615:poke781,0:poke782,128:sys49664:poke49152,7:mu=1:return
450 poke49152,0:poke54276,0:poke54283,0:poke54290,0:sys49897:sys49935:mu=0:return
500 poke53281,0:print"[147]":poke53272,31:poke53265,11
502 x=1:y=1:xx=36:yy=20:gosub130
510 print"[158][196] [193] [206] [195] [197] [207] [198] [212] [200] [197] [212] [207] [215] [197] [210] [211]"
520 print"[153][201]n a small [201]talian city there
522 [153]"once lived a magician/composer
524 print"named [208]rovolone and his grandson,
526 [153]"(NULL)neesimo lenalhooni. (NULL)he composer
528 print"had just finished his masterpiece,
530 [153]"'(NULL)he str$ance of the (NULL)owers', a
531 print"ballet about the two towers that
532 [153]"stood on opposite sides of the
533 print"river that ran through the city.
534 [153]"(NULL)any times the people had tried
536 print"to build a bridge between the
538 [153]"towers but had always failed,
540 print"until one day young [203]neesimo was
542 [153]"puttering around the house and
543 print"found a wand..."
544 poke53265,27:mk=1:gosub330:mk=0
545 zz=0
548 zz=zz+1:geta$:ifa$=""andzz<1200then548
549 return
550 poke53281,0:ifpeek(53270)<>200thensyshg
551 ifmuthengosub450
552 print"[147]":poke53265,11:x=1:y=1:xx=36:yy=20:gosub130
553 print"[158][196] [193] [206] [195] [197] [207] [198] [212] [200] [197] [212] [207] [215] [197] [210] [211]"
554 print"[153][193]nd so the city was left with
556 [153]"two leaning towers, dashed dreams,
558 print"and a mess to clean up. [208]rovolone
560 [153]"and his grandson left town and
562 print"were never heard from again.
564 [153]"(NULL)any years later, a rich man
566 print"named [198]enderico [212]uckerelli bought
568 [153]"one of the towers and shipped it
570 print"to the [213]nited [211]tates where it was
572 [153]"rebuilt, brick by brick, in the
573 print"city of [211]hreveport, [204]ouisiana.
574 [153]"(NULL)ow people come from all over
576 print"the globe to [208]isa to see the
578 [153]"remaining tower.
584 sys57812s$(s),dv,0:poke780,0:poke781,0:poke782,64:sys65493
586 poke53265,27
588 zz=0
590 zz=zz+1:geta$:ifa$=""andzz<1200then590
592 gosub350
596 geta$:ifa$=""andpeek(49152)=7then596
598 goto700
600 print"[147]":poke53281,0
602 x=3:y=4:xx=33:yy=9:gosub130
610 print""tab(8)"[153][215]hile picture is showing:
620 [153][163]11)"(NULL)(NULL)atnlenval cont- (NULL)ext line
630 printtab(11)"[206] [154]- [206]ext [208]art
640 [153][163]11)"(NULL) cont- (NULL)uit to (NULL)ain (NULL)enu
650 return
700 poke53265,11:poke53281,0:ifpeek(53270)<>200thensyshg
705 print"[147]":poke53272,31:ifmuthengosub450
706 x=3:y=4:xx=33:yy=11:gosub130
710 print"[158]"tab(11)fs$
720 printtab(5)"1[154] [211]ee, hear and read the story
730 [153][163]5)"2cont mid$ust see the eight pictures
732 printtab(5)"3[154] [202]ust hear the music
740 [153][163]5)"4cont (NULL)uit to (NULL)(NULL)atnstr$(NULL)(NULL)atn(NULL)
742 poke53265,27
750 poke198,0
760 geta$:ifa$<"1"ora$>"4"then760
770 onval(a$)goto200,800,900,40000
800 fori=0to7
801 print"[147]"
802 x=3:y=4:xx=33:yy=7:gosub130
804 print"[154]"tab(5)"[153][215]hile the picture is showing...
806 [153][163]5)"(NULL)(NULL)atnlenval cont- chr$o to the next picture
808 printtab(5)"[209] [154]- [210]eturn to the [205]enu
830 [158]57812s$(i),dv,0:[151]780,0:[151]781,0:[151]782,64:[158]65493
840 [151]251,64:[151]252,96:[151]253,76:[158]un
850 [151]252,96:[151]253,76:[158]hg
860 [161]a$:[139]a$[178]""[167]860
865 [158]hg:[151]53281,0
870 [139]a$[178]"q"[167]i[178]7:[130]:[137]700
880 [130]:[137]700
900 [153]"load"
902 x[178]3:y[178]4:xx[178]33:yy[178]5:[141]130
912 [153]""[163]8)"(NULL)(NULL)atnlenval cont- (NULL)ause/(NULL)esume (NULL)usic
914 printtab(8)"[209] [154]- [210]eturn to [205]ain [205]enu
916 [158]57812m$(0),dv,0:[151]780,0:[151]781,0:[151]782,128:[158]65493
918 [141]430
920 [161]a$:[139]a$[178]""[175][194](49152)[178]7[167]920
930 [139]a$[179][177]" "[167]940
932 p[178]1[171]p
934 [139]p[178]0[167][158]49615:[151]49152,7:mu[178]1:[137]920
936 [141]450
938 [161]a$:[139]a$[178]""[167]938
939 [139]a$[178]" "[167]p[178]0:[137]934
940 [139]a$[178]"q"[176][194](49152)[178]0[167][141]450:[137]700
950 [137]920
10000 [159]15,8,15,"s0:dott":[160]15:[148]"dott",8:[128]
40000 a$[178]"hello connect":[129]i[178]8[164]9:[160]2:[159]2,i,2:[160]2:[139]st[167]40020
40010 [160]15:[159]15,i,15,"r0:"[170]a$[170]"="[170]a$:[132]15,er:[160]15:[139]er[178]63[167]40030
40020 [130]:[153]"load":[151]2048,0:[151]44,8:[151]53272,23:[128]
40030 [151]646,[194](53281):[153]"loadload"[199](34)a$[199](34)","i
40040 [153]"run":[151]631,13:[151]632,13:[151]198,2:[128]