home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 43
/
043.d81
/
az
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
26KB
|
738 lines
1 ifmw%=0thenclr:goto100
2 onmw%goto22,101,102,103,104,511,13255,11056
3 pokegq,g2:pokegq,g3:return
5 restore:forzb=1toza:reada$:next:return
6 getyf$:ifyf$<>""then6
7 return
8 print"":forgy=1to4:print:gosub18
9 poke1863+40*gy,32:next:print"":return
10 a$="":b$="":c$="":goto6
15 get ks$:ifks$=""then15
16 goto10
18 print" ";:return
20 rem
21 mw%=1:load"s"+mid$(str$(a),2),8,1
22 gosub8:sys32768-(3*(a>10)):gosub10:return
25 print"[146]";:gosub50:ifj<>10then28
26 getks$:ifks$=" "thengosub10:goto29
27 fora=1to2:gosub3:next:fora=1to99:next:goto26
28 fora=1toj:next
29 gosub30100:gosub10:print"[146]";:gosub8:return
40 b=int(a%/2)+1+18*(b%/12-1):f1=peek(36863+b):return
45 f1=f1+100*(f1>100):return
50 fora=0to24:pokezs+a,0:next
51 poke54273,220:poke54277,13:poke54287,60:poke54296,15
52 fora=1to12:poke54276,21
53 fora8=1to250:next:poke54276,20
54 fora=0to24:pokezs+a,0:next:return
55 i=-(f1>41):f1=f1-f1*i+i*2:ifb(3)=0orb(4)=0thenifh>10andf1<30thenf1=29
56 i=a%
57 poke679,f1:poke680,i:poke681,b%:sys32774+sk%:sk%=0:poke679,0:pokevc+21,0:return
60 gosub45:gosub55
61 poke50168,e2+2:poke53264,(24+8*a%)/256:poke53249,38+b%
62 poke53248,24+8*a%-256*peek(53264):pokevc+21,1
63 fora=1to10:next:return
65 pokevc+21,0:ifv=hthenreturn
66 ifo>peek(37098)-2then70
67 o=0:gosub8:gosub50:ifh>10thengosub50670:return
68 za=183:gosub5:forb=1tofnr(4):reada$,b$:next:gosub80:return
70 p1=p1+1:v=h:gosub30300:fora=1to4:f(a)=f(a)+1:next:o=0:return
75 k8=0
76 k8=k8+1
77 p=fnr(4):ifc(p)=0andk8<700then76
78 return
80 gosub8
81 u$=a$:gosub82:u$=b$:gosub82:u$=c$:gosub83:goto25
82 printtab(19.5-len(u$)/2)u$:return
83 printtab(19.5-len(u$)/2)u$;:return
100 gosub45000
101 rem
102 gq=54296:g2=15:g3=0
103 rem
104 poke53280,0:poke53281,0:print""
105 rempoke 37379,96
110 deffnr(x)=int(rnd(1)*x+1):dimb$(13),b(13),c(4),d(19),dx(4),f(4),g(4),h$(10)
111 dimj$(4),kd%(40)
115 e2=33:zs=54272
120 za=105:gosub5:forb=1to13:readb$(b):next
130 ifpeek(767)<>99then160
140 print"[147]":sys32771:g$="expb":ifpeek(762)=55theng$="expa"
150 gosub40100:c(peek(761))=peek(763):h=23:a%=21:b%=144:gosub30200:goto322
160 ifpeek(767)=55theng$="expa":goto190
170 ifpeek(767)=25theng$="expb":goto190
180 poke767,0:load"flint",8
190 gosub40100
200 sys32780
201 gosub55555
203 gq=54296
205 gosub15:ifks$<>"g"andks$<>"m"andks$<>"e"then205
206 print"[147]"
210 ifks$<>"e"then230
220 gosub40000:print"[147] [208]ress a key to play,
221 [153][163]7)"or turn your computer off.":[151] 767,0:[141]15:[147]"flint",8
230 [139]ks$[179][177]"m"[167]310
240 [153]"load (NULL)ove to right$quitos? (NULL))es (NULL))o":[141]15:[139]ks$[178]"n"[167]201
250 [139]ks$[179][177]"y"[167]240
260 [151]767,25:[139]g$[178]"expa"[167][151]767,55
270 g[178]0:[153]"load ";
271 [129]a[178]1[164]4:[139]c(a)[178]0[167]j$(a)[178]"":g[178]g[170]1
280 [130]:u1[178]u1[170]g:[141]40000
290 [139]g[178]0[167][153]"(NULL)iding the paddle wheel":[153][163]11)"down the atnmazon":[147]"iquitos",8
300 [153]"asclying to (NULL)exas to recruit":[153][163]13)"replacements":[147]"flint",8
310 [139]ks$[179][177]"g"[167]201
320 h[178]6:a%[178]19:b%[178]108
322 j[178][194](765):[139]j[179]4[175]j[177]0[167]j[178]j[172]1000
325 [139]j[179]1000[167]j[178]10
500 [141]40200:a[178]h:[139]a[177]31[167]a[178]31
510 [158]32768[171](3[172](a[177]10)):mw%[178]6:[147]"s"[170][202]([196](a),2),8,1
511 [141]8:[141]10
512 r[178]1:[141]30000:[139]h[178]23[176]h[178]14[167]r[178]5:d[178]1
515 [139]h[178]19[176]h[178]28[167]r[178]2:l[178]0
520 [139]h[177]10[167]570
530 c[178][165]r(5)[170]1:[129]i[178]1[164]c
540 t[178][165]r(234):[139][194](36863[170]t)[179][177]2[167]540
550 [151]36863[170]t,42:[130]
570 [139]h[179]31[167]580
571 v[178]h:[141]8:[153]" (NULL)he heat at this depth may cause"
572 [153][163]12)"hallucinations":[141]25:[141]30000
580 [139]v[178]h[175](h[179]11[176](b(3)[179][177]0[175]b(4)[179][177]0))[167][141]58000:[137]600
590 [141]40:[141]55
600 [151] 679,2
610 [151]680,2:[151]681,0:[151]682,2:[151]683,156:[158]37379
620 [151]680,149:[151]681,0:[151]682,149:[151]683,156:[158]37379:da%[178]0
630 [141]40:[137]1500
980 [141]80
990 [141]8:[141]30000
1000 [141]20000:[137]1020
1005 [141]6
1006 [141]60:[141]61:[161]ks$:[139]ks$[179][177]""[167]1050
1010 [141]20000:[139]fu%[178]1[167]11200
1015 [139]r[177]1[167]1006
1020 b1[178]b1[170]1:a[178][171](b1[177]40):b1[178]b1[171]b1[172]a:w[178]w[170]a:a[178][171](w[177]23):xx[178]xx[170]a:w[178]w[171]w[172]a
1021 [139] h[179][178]10 [176] a[179][177]1[167]1030
1022 b(4)[178]b(4)[170](b(4)[177]0):[139]b(4)[178]0[167][141]8:[153]" (NULL)ut of batteries":[141]25
1030 [139]b1[178]0[167][141]8:[141]30000:[139]w[178]0[167][141]25000
1040 [137]1006
1050 [141]10
1060 [139]ks$[179][177]"c"[167]1100
1070 [139]h[179][177]6[176]b[179][177]154[167]26000
1080 [141]65:[137]200
1100 [139]ks$[178]"n"[167][141]27000:[141]45:[137]990
1110 h1[178]0:j1[178]0:i1[178]0:k1[178]0:af[178][198](ks$)[171][198]("h"):[139]af[179]1[176]af[177]5[167]1000
1120 o1[178]o1[170]1:[145]af[137]1130,1150,1160,1000,1140
1130 g1[178]1:h1[178]144:k1[178][171]12:zd[178]1:[139]b%[179]24[167]1200
1135 [137]1170
1140 g1[178][171]1:h1[178][171]144:k1[178]12:zd[178]2:[139]b%[177]144[167]1210
1145 [137]1170
1150 g1[178][171]2:i1[178]34:j1[178][171]2:zd[178]3:[139]a%[179]3[167]1220
1155 [137]1170
1160 g1[178]2:i1[178][171]34:j1[178]2:zd[178]4:[139]a%[177]33[167]1230
1170 zb[178]0:[139]h[177]10[175](b(3)[178]0[176]b(4)[178]0)[167][141]40:[141]45:zb[178]1
1175 f[178][194](37119[170]zd[170]4[172](f1[171]3[170]4[172](f1[177]20))):[139]zb[167]f1[178]29
1180 [139]h[177]10[167][139]f[178]0[167]1195
1182 a%[178]a%[170]j1:b%[178]b%[170]k1:tt[178]f1:[141]40:[139]f1[179]34[176](f1[177]100[175]f1[179]134)[167]1500
1184 f1[178]f1[170]100[172](f1[177]141):[139]f1[178]42[167]1500
1186 [139]f1[179]100[167][151]36863[170]b,f1[170]100
1188 [141]45:[141]55:[141]40
1190 a%[178]a%[171]j1:b%[178]b%[171]k1:f1[178]tt
1195 [141]8:[141]30000:[129]a[178]1[164]g2:[141]3:[130]:[141]20000:[137]1000
1200 [139]h[173]2[178][181](h[173]2)[176](h[177]10[175]b[179][177]10)[167]1195
1205 [137]1240
1210 [139](h[173]2[178][181](h[173]2)[175]h[179]11)[176](h[177]10[175]b[178]226)[167]1240
1215 [137]1195
1220 [139]h[179]3[176]h[177]10[175]b[179][177]109[167]1195
1225 [137]1240
1230 [139](h[179]11[175]h[177]8)[176](h[177]10[175]b[179][177]126)[167]1195
1240 [141]65:h[178]h[170]g1:a%[178]a%[170]i1:b%[178]b%[170]h1:[137]500
1500 [141]60:[141]40:i[178]f1[179]43:o[178]o[171]i:y[178]y[171]i:da%[178]da%[171]i:[151]36863[170]b,f1[171]100[172]i
1505 [141]50023:[153]" (NULL) "da%"cmd "
1510 [139]h[177]30[167]1600
1520 [141]45:[139](r[177]1[175]f1[177]4[175]f1[179]16)[176]((r[178]3[176]r[178]4)[175]f1[178]27)[167]1000
1530 [145]f1[137]10000,10500,11000,11200,11500,11500,11500,11500,11500,11500,11500
1535 [145]f1[171]11[137]11500,11500,11500,11500,12000,12200,12400,12600,12800
1540 [145]f1[171]20[137]10000,10000,10000,10000,1000,13000,13200,14000,14200
1543 [139] f1[179][177]42[167]1000
1545 [137]14500
1600 [139]b[178]160[175]h[178]36[167]1700
1610 [139]b[178]185[167]11200
1620 zd[178]zd[170](zd[177]4)[172]a:zd[178]zd[171](zd[178]0):[145]zd[137]1630,1640,1650,1660
1630 a$[178]"06070809111415":[137]1670
1640 a$[178]"06070809101213":[137]1670
1650 a$[178]"05070910111315":[137]1670
1660 a$[178]"05070810111214
1670 gosub40:f1=val(mid$(a$,2*fnr(7)-1,2)):poke36863+b,f1:goto1000
1700 fora=1to3:gosub50:next:gosub8:za=192:gosub5:printtab(9)a$
1705 reada$:print" "a$;:reada$:print" "a$:reada$:print" "a$
1710 gosub15:ifks$="n"thenzd=1:goto1750
1720 ifq2thenforp=1to4:x1=30:gosub30100:next:goto1750
1730 q2=1:fora=1to4:c(a)=40:next
1750 gosub8:gosub30000:goto1620
10000 ifh>10thengosub8:printtab(15)"[200]ot lava!":gosub25:ifb%>108then22060
10010 ifh>10thengosub75:c$=j$(p)+" has slipped in!":x1=c(p):goto980
10020 i=fnr(3):ifi<3then1000
10030 ifb(13)theni=fnr(50):ifi=40thengosub50100:goto980
10040 ifi=40thengosub80
10050 ifb(13)then1000
10060 i=fnr(5):za=i+53:gosub5:gosub75:gosub8:print"":gosub81
10065 onigoto10070,10070,10080,10100,10200
10070 za=58+fnr(6):gosub5:d$=a$:za=64+fnr(21):gosub5:e$=a$:l1=7:x1=2
10075 a$=j$(p)+