home *** CD-ROM | disk | FTP | other *** search
- 45 dimb$(106),c$(106),a$(7,2),s%(8,2),h%(8,2)
- 50 gosub2350
- 60 poke249,224:poke250,204:poke251,0:poke252,64:poke253,0:poke254,0
- 70 poke255,0:sys51462:sys51459
- 80 :
- 90 te=50759:sp$="[160] ":s=54272
- 92 forx=stos+24:pokex,.:next:pokes+24,15
- 100 p1=1:p2=2:co=1:zy=1
- 110 :
- 120 s%(5,1)=1:s%(5,2)=1
- 130 fori=1to106:readb$(i):next:zz=106:gosub1150:poke53280,6
- 140 sh=48:xp=2:yp=0:gosub2220
- 150 syste,"200",267,25:syste,"200",267,137
- 160 syste,"0000",136,57:syste,"0000",136,169
- 170 fori=1to2:xx(i)=93:ml(i)=0
- 180 sl(i)=200:h%(2,i)=1:p(i)=1:m$(i)="000"
- 190 forl=1to6:a$(l,i)=c$(co):co=co+1:next:forl=1to6
- 200 ifleft$(a$(l,i),1)<>"3"then230
- 210 lf=val(mid$(a$(l,i),2,1)):s%(lf,i)=1:gosub1940
- 220 a$(l,i)=c$(co):co=co+1:goto200
- 230 next:p1=2
- 240 sh=46:xp=2:yp=0:gosub2220:sh=49:yp=14:gosub2220
- 250 next
- 260 p1=1
- 270 sh=47:xp=2:yp=14:gosub2220:sh=48:yp=0:gosub2220
- 280 a$(7,p1)=c$(co):gosub1130:ifleft$(a$(7,p1),1)<>"3"then300
- 290 lf=val(mid$(a$(7,p1),2,1)):s%(lf,p1)=1:l=6:gosub1940:goto280
- 300 ifp1=2andnp=1then550
- 310 ifnp=2thensyste,"hit any key to view cards",7*8,104:poke198,0:wait198,1:poke198,0
- 320 syste,sp$,16,104:gosub1790
- 330 syste,"(d)iscard (p)lay card (q)uit",4*8,104
- 340 gosub2190:syste,sp$,16,104
- 350 ifx$<>"p"andx$<>"q"andx$<>"d"then330
- 360 ifx$="q"then2080
- 370 syste,"which one (1-7) or 0 to end",4*8,104
- 380 poke198,0:wait198,1:gety$:syste,sp$,16,104
- 390 y=val(y$):remgetoffwhichone?
- 400 ify>7ory<1then330
- 410 gosub1820:ifx$<>"d"then430
- 420 b$(zy)=a$(y,p1):zy=zy+1:gosub700:goto650
- 430 le$=left$(a$(y,p1),1):lf=val(mid$(a$(y,p1),2,1))
- 440 fl=0:ifle$="4"andp(p1)=0andlf*25<=sl(p1)andml(p1)+lf*25<1001thenfl=1
- 450 iffl=1thenforl=1tolf:gosub1850:next:gosub700:goto650
- 460 fl=0:ifle$="1"andp(p2)=0ands%(lf,p2)=0thenfl=1
- 470 ifle$="1"andp(p2)=0ands%(2,p2)=0andlf=5andsl(p2)=200thenfl=1
- 480 iffl=1thenh%(lf,p2)=1:onlfgosub1470,1380,1550,1300,1630
- 490 iffl=1thengosub700:goto650
- 500 fl=0:ifle$="2"andh%(lf,p1)=1andlf<5thenfl=1
- 510 ifle$="2"andlf=5andh%(5,p1)=1andp(p1)=0thenfl=1
- 520 iffl=1thenh%(lf,p1)=0:onlfgosub1510,1420,1590,1340,1710
- 530 iffl=1thengosub700:goto650
- 540 fora=1to20:poke54296,.:poke54296,15:next:goto320
- 550 q=0:ifml(p2)-ml(p1)>299thengosub720:gosub800:gosub890:goto970
- 560 fl=0:ifp(p1)=1andml(p2)<701andml(p2)-ml(p1)<210thenfl=1
- 570 iffl=1thengosub890:gosub720:goto970
- 580 fl=0:ifp(p1)=1and(ml(p2)>700orml(p2)-ml(p1)>200)thenfl=1
- 590 iffl=1thengosub720:gosub890:goto970
- 600 fl=0:ifsl(p1)=75andml(p2)<801andml(p1)-ml(p2)>150thenfl=1
- 610 iffl=1thengosub890:gosub800:gosub720:goto970
- 620 fl=0:ifsl(p1)=75andml(p2)-ml(p1)>100thenfl=1
- 630 iffl=1thengosub720:gosub800:gosub890:goto970
- 640 gosub800:gosub720:gosub890:goto970
- 650 ifml(p1)=1000then2290:remwinner
- 660 ifp1=1thenp1=2:p2=1:sh=46:xp=2:yp=0:gosub2220:sh=49:yp=14:gosub2220:goto280
- 670 p1=1:p2=2
- 680 sh=47:xp=2:yp=14:gosub2220:sh=48:yp=0:gosub2220
- 690 goto280
- 700 a$(y,p1)=a$(7,p1):sh=40:xp=32:yp=11:gosub2220
- 710 return
- 720 ifp(p2)=1orq=1thenreturn
- 730 fory=1to7
- 740 lf=val(mid$(a$(y,p1),2,1)):fl=0
- 750 ifleft$(a$(y,p1),1)="1"ands%(lf,p2)=0thenfl=1
- 760 ifleft$(a$(y,p1),1)="1"andlf=5andsl(p2)=200ands%(2,p2)=0thenfl=1
- 770 iffl=1thenh%(lf,p2)=1:onlfgosub1470,1380,1550,1300,1630
- 780 iffl=1thenq=1:return
- 790 next:return
- 800 ifp(p1)=1orq=1thenreturn
- 810 hm=0:fory=1to7
- 820 lf=val(mid$(a$(y,p1),2,1))
- 830 ifleft$(a$(y,p1),1)="4"andlf*25<=sl(p1)then850
- 840 next:goto870
- 850 iflf*25>hm*25andml(p1)+lf*25<1001thenhm=lf:hc=y
- 860 goto840
- 870 ifhm=0thenreturn
- 880 forl=1tohm:gosub1850:next:y=hc:q=1:return
- 890 ifq=1thenreturn
- 900 fory=1to7
- 910 lf=val(mid$(a$(y,p1),2,1)):fl=0
- 920 ifleft$(a$(y,p1),1)="2"andh%(lf,p1)=1andlf<5thenfl=1
- 930 ifleft$(a$(y,p1),1)="2"andlf=5andh%(5,p1)=1andp(p1)=0thenfl=1
- 940 iffl=1thenh%(lf,p1)=0:onlfgosub1510,1420,1590,1340,1710
- 950 iffl=1thenq=1:return
- 960 next:return
- 970 ifq=1then1120
- 980 fory=1to7:lf=val(mid$(a$(y,p1),2,1))
- 990 ifleft$(a$(y,p1),1)="2"ands%(lf,p1)=1then1110
- 1000 next:fory=1to7:lf=val(mid$(a$(y,p1),2,1))
- 1010 ifleft$(a$(y,p1),1)="1"ands%(lf,p2)=1then1110
- 1020 next:fory=1to7:forx=1to7
- 1030 ifa$(y,p1)=a$(x,p1)thennc=nc+1
- 1040 next:ifnc>2thennc=0:goto1110
- 1050 nc=0:next:nc=0:fory=1to7
- 1060 ifleft$(a$(y,p1),1)="4"andval(mid$(a$(y,p1),2,1))*25<101then1110
- 1070 next:fory=1to7:forx=1to7
- 1080 ifa$(y,p1)=a$(x,p1)thennc=nc+1
- 1090 next:ifnc>1thennc=0:goto1110
- 1100 nc=0:next:nc=0:y=int(rnd(1)*7)+1
- 1110 b$(zy)=a$(y,p1):zy=zy+1
- 1120 gosub700:goto650
- 1130 co=co+1:ifco<>zz+1thenreturn
- 1140 zz=zy-1:zy=1:co=1
- 1150 syste,"shuffling the deck...",72,104
- 1152 fori=1tozz:r=int(rnd(1)*zz)+1
- 1160 :
- 1170 ifb$(r)<>"1"thenc$(i)=b$(r):b$(r)="1":nexti:syste,sp$,16,104:return
- 1180 r=r+1:ifr=zz+1thenr=1
- 1190 goto1170
- 1200 data4841,1427,2331,3136,2133,4343,4442,1230
- 1210 data1128,2235,2534,4442,4343,2235,1529,4244,4145,1326,4343,4442,2534
- 1220 data2331,1529,4145,4244,4244,4841,2133,1230,3338,2331,4343,4442,2432
- 1230 data1529,2432,2331,2235,4244,4442,4343,4442,4145,4244,1529,1128
- 1240 data2534,3237,1326,2235,4343,4841,4442,4145,1230,4244,2432,3439
- 1250 data2534,2235,1128,4442,4343,2534,2133,4145,4244,4442,4343,2432
- 1260 data2534,2331,2235,1230,1427,2235,1326,2235,2235,4343,4442,2331
- 1270 data2235,2133,1230,4145,4841,4442,4343,2133,2235
- 1280 data4145,2235,2432,2133,4244,4145,4244,4442,4145,1427,2235,2432
- 1290 data4244,4145,2235
- 1300 rem******flattire******
- 1310 gosub1380:p(p2)=1
- 1320 xp=3:yp=3+(p2-1)*14:goto10000
- 1330 :
- 1340 rem*****fixtheflat*****
- 1350 gosub1420:p(p1)=0
- 1360 xp=3:yp=3+(p1-1)*14:goto10035
- 1370 :
- 1380 rem****redlight*****
- 1390 p(p2)=1:forx=stos+24:pokex,0:next:pokes+24,15:p(p2)=1:gosub10190
- 1400 xp=30:yp=2+(p2-1)*14:sh=1:gosub2220
- 1405 fordl=1to200:next
- 1410 return
- 1420 rem****grnlight*****
- 1422 foraa=1to4:ifh%(aa,p1)<>0thenreturn
- 1423 next
- 1430 p(p1)=0:forx=stos+24:pokex,0:next:pokes+24,15:p(p1)=0:gosub10205
- 1440 xp=30:yp=2+(p1-1)*14:sh=2:ifsl(p1)=75thensh=50
- 1450 gosub2220
- 1455 fordl=1to200:next
- 1460 return
- 1470 rem****accident****
- 1480 gosub1380:p(p2)=1
- 1490 xp=8:yp=5+(p2-1)*14:goto10125
- 1500 :
- 1510 rem*****repairs*****
- 1520 gosub1420:p(p1)=0
- 1530 xp=8:yp=5+(p1-1)*14:goto10160
- 1540 :
- 1550 rem****nogas*****
- 1560 gosub1380:p(p2)=1
- 1570 xp=8:yp=2+(p2-1)*14:goto10055
- 1580 :
- 1590 rem*****fillup*****
- 1600 gosub1420:p(p1)=0
- 1610 xp=8:yp=2+(p1-1)*14:goto10090
- 1620 :
- 1630 rem*****speedlimit****
- 1640 sl(p2)=75:sh=50:xp=30:yp=2+(p2-1)*14:gosub2220:pokes+5,0:pokes+6,0
- 1645 xp=267:yp=25+(p2-1)*112
- 1650 forsl=200to75step-5:sl$=mid$(str$(sl),2)
- 1655 pokes+1,sl:pokes+4,17:pokes+4,0
- 1660 iflen(sl$)<3thensl$=" "+sl$:goto1660
- 1670 syste,sl$,xp,yp:syste," ",xp,yp
- 1680 next
- 1690 syste," 75",xp,yp
- 1700 return
- 1710 rem****endlimit*****
- 1720 sl(p1)=200:sh=2:xp=30:yp=2+(p1-1)*14:gosub2220:pokes+5,0:pokes+6,0
- 1725 xp=267:yp=25+(p1-1)*112
- 1730 forsl=75to200step5:sl$=mid$(str$(sl),2)
- 1732 pokes+1,sl:pokes+4,17:pokes+4,0
- 1740 iflen(sl$)<3thensl$=" "+sl$:goto1740
- 1750 syste,sl$,xp,yp:syste," ",xp,yp
- 1760 next
- 1770 syste,"200",xp,yp:sh=2:xp=30:yp=2+(p1-1)*14:gosub2220
- 1780 return
- 1790 rem*****drawcardshere*****
- 1800 xp=2:yp=11:fori=1to7:sh=val(right$(a$(i,p1),2)):gosub2220:xp=xp+5:next
- 1810 return
- 1820 rem*****getcardsoff*****
- 1830 xp=2:yp=11:fori=1to7:sh=40:gosub2220:xp=xp+5:next
- 1840 return
- 1850 rem*****mileagebox*****
- 1860 ml(p1)=ml(p1)+25:m$(p1)=mid$(str$(ml(p1)),2)
- 1870 iflen(m$(p1))<=3thenm$(p1)="0"+m$(p1):goto1870
- 1880 xp=16:yp=0+(p1-1)*14:t=20:ifrnd(1)<.1thent=57
- 1882 ifml(p1)=1000thent=51
- 1884 forx=stos+24:pokex,.:next
- 1890 forsh=ttot+5:poke54296,0:poke54296,15
- 1900 gosub2220:ift=51thenfordl=1to10:next
- 1910 next:ift=51thenfordl=1to1000:next:goto1930
- 1920 sh=20:gosub2220:syste,m$(p1),136,(p1-1)*112+57
- 1930 return
- 1940 xp=l*5+2:yp=11:fort=1to5:sh=40:gosub2220:sh=lf+35:gosub2220:next
- 1950 rem****blinkcard****
- 1960 iflf=1thensh=16:xp=3:yp=9+(p1-1)*14:gosub2220
- 1970 iflf=1thenifh%(1,p1)=1thenh%(1,p1)=0:gosub1510:goto2050
- 1975 rem iflf=2thensys51459:print"[147]"lf,h%(2,p1),h%(5,p1):stop
- 1980 iflf=2thensh=17:xp=10:yp=9+(p1-1)*14:gosub2220
- 1990 iflf=2thenifh%(2,p1)=1thenh%(2,p1)=0:gosub1420
- 2000 iflf=2andh%(5,p1)=1thenh%(5,p1)=0:gosub1710:goto2050
- 2010 iflf=3thensh=18:xp=19:yp=9+(p1-1)*14:gosub2220
- 2020 iflf=3thenifh%(3,p1)=1thenh%(3,p1)=0:gosub1590:goto2050
- 2030 iflf=4thensh=19:xp=26:yp=9+(p1-1)*14:gosub2220
- 2040 iflf=4thenifh%(4,p1)=1thenh%(4,p1)=0:gosub1340:goto2050
- 2050 fort=1to50:next
- 2060 return
- 2070 :
- 2080 syste,"are you sure you want to quit [y/n]",16,104
- 2082 poke198,0:wait198,1:getx$
- 2090 ifx$<>"[217]"andx$<>"y"thensyste,sp$,16,104:goto320
- 2095 sys51459:print"[147]"
- 2100 ifml(p1)>ml(p2)thenprintspc(9)"[208]layer"p1"was winning.":goto2130
- 2110 ifml(p2)>ml(p1)thenprintspc(9)"[208]layer"p2"was winning.":goto2130
- 2120 printspc(8)"[194]oth players were tied."
- 2130 print""spc(10)"< [208]ress any key >"
- 2132 poke198,0:wait198,1:poke198,0
- 2134 restore:run
- 2160 i$="[193]"
- 2170 diml$(6,24)
- 2180 reminstructions
- 2190 poke198,0:wait198,1:getx$
- 2200 ifx$>"[192]"thenx$=chr$(asc(x$)-128)
- 2210 return
- 2220 remplotshp#shatxp,yp
- 2230 poke249,224:poke250,204
- 2240 poke251,0:poke252,64
- 2250 poke253,xp:poke254,yp
- 2260 poke255,sh:sys51462:ag=3.34
- 2270 return
- 2280 :
- 2290 remwehadawinner
- 2300 print"[147]":sys51459:sh=63:xp=0:yp=0:gosub2220:sys51459
- 2310 poke53280,6:gosub3000:print"[147]"
- 2320 sys51459:sys51459
- 2330 restore
- 2340 run
- 2350 remtitlescreen&options
- 2360 poke53281,1:poke53280,6
- 2370 print"[147]":print"[146] [176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
- 2380 print" {$7d}Loadstar Presents{$7d}[144] "
- 2390 print" [173]{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}[189][144] "
- 2400 print" "
- 2410 print
- 2420 print" [154] "
- 2430 print" [160] [176]{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}[174][154] [144] "
- 2440 print" [154] {$7d} 1000 Miler {$7d} [154] [144] "
- 2450 print" [154] [173]{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}[189] [154] [144] "
- 2460 print" [154] [154] [144] "
- 2470 print" [154] [144] "
- 2480 print" [154] Written by Karen Middaugh [144] "
- 2490 print" [154] [195]-64 conversion by [193]lan [199]ardner [144] "
- 2500 print" [154] [144] "
- 2510 print" [154] (c) 1987 [144] "
- 2520 print" [154] [144] "
- 2530 print" "
- 2540 print
- 2550 print" [1] ==> Instructions"
- 2560 print" [2] ==> Play Game"
- 2570 print" [3] ==> Return to Loadstar"
- 2580 print
- 2590 print" Make your choice..."
- 2600 print"";
- 2610 :
- 2620 poke198,0:wait198,1:getk$
- 2630 ifk$<>"1"andk$<>"2"andk$<>"3"then2620
- 2640 ifk$="3"then2900
- 2650 ifk$="1"then2800
- 2660 print" [200]ow many players (1-2)? "
- 2670 poke198,0:wait198,1:getk$
- 2680 ifk$<>"1"andk$<>"2"then2660
- 2690 np=val(k$)
- 2700 return
- 2800 reminstr
- 2810 open2,8,2,"1000miles.instr"
- 2820 print"[147]"spc(9)"** [212]housand [205]iler **[144]"
- 2830 get#2,a$:ifa$<>"\"anda$<>"#"thenprinta$;:goto2830
- 2832 print""spc(13)"<press a key>"
- 2833 poke198,0:wait198,1:poke198,0
- 2835 ifa$="\"then2820
- 2840 close2
- 2860 goto2350
- 2900 remreturntols
- 2901 poke56,160:clr
- 2910 open15,8,15,"r0:hello connect=hello connect":input#15,er:close15
- 2912 ifer<>63thenprint"[147]":end
- 2914 load"hello connect",8
- 2915 end
- 3000 remanimatewinsequence
- 3010 v=53248
- 3020 xp=15:yp=198:pokev+21,0:pokev+39,7:pokev+16,1:pokev+29,0:pokev+23,0
- 3030 pokev+28,0
- 3040 pokev+40,1:poke1016+52224,4
- 3050 pokev,4:pokev+1,176
- 3070 forx=1to3
- 3080 gosub3150:remrun
- 3090 gosub3220:remjump
- 3100 nextx
- 3110 gosub3300:gosub10220
- 3120 sys51459:pokev+21,0
- 3130 return
- 3150 remrun
- 3160 i=5:gosub3360:i=6:gosub3360:xp=xp+8
- 3170 i=7:gosub3360:poke54296,15:poke54296,0:i=8:gosub3360:xp=xp+8
- 3180 i=9:gosub3360:xp=xp+8
- 3190 i=10:gosub3360
- 3200 return
- 3220 remjump
- 3230 i=5:gosub3360:xp=xp+8:i=11:gosub3360:i=12:gosub3360:i=13:gosub3360
- 3240 xp=xp+8:yp=yp-2:i=13:gosub3360
- 3250 i=14:yp=yp-2:gosub3360:i=15:yp=yp-2:gosub3360:xp=xp+8
- 3260 i=16:gosub3360:i=17:gosub3360:xp=xp+8
- 3270 i=18:gosub3360:i=19:gosub3150
- 3280 i=20:gosub3360
- 3290 return
- 3300 i=3:gosub3360:fordl=1to200:next
- 3310 i=2:gosub3360:pokev+1,yp-6:fordl=1to200:next
- 3320 i=1:gosub3360:pokev+1,yp-8:fordl=1to200:next
- 3330 i=0:gosub3360:pokev+1,yp-10:pokev+16,0:pokev,xp
- 3350 return
- 3360 remmoveit
- 3380 ifpeek(53266)>150then3380
- 3390 poke1017+52224,i
- 3400 pokev+2,xp:pokev+3,yp
- 3410 pokev+21,3
- 3420 return
- 10000 remflattire
- 10005 pokes,.:pokes+1,12:pokes+5,8:pokes+6,8:pokes+4,129:pokes+4,128
- 10010 sh=4:gosub2220
- 10015 pokes+7,.:pokes+8,128:pokes+12,34:pokes+13,29:pokes+11,129
- 10020 fork1=127to48step-1:pokes+8,k1:fork2=200to0step-100:pokes+7,k2:next
- 10025 pokes+11,128-(k1>125):next:pokes+4,.:sh=5:gosub2220:pokes+11,.:return
- 10030 :
- 10035 remsparetire
- 10040 pokes+5,66:pokes+6,.:fork1=50to75step2:pokes+1,k1:pokes+4,129:sh=4:gosub2220
- 10045 ford=.to100:next:pokes+4,128:next:pokes+4,.:sh=3:gosub2220:return
- 10050 :
- 10055 remoutofgas
- 10060 cc=1:sh=7
- 10065 pokes+5,.:pokes+6,.:fork1=200to20step-2:pokes+1,k1:pokes+4,17:pokes+4,.
- 10070 cc=cc+1:ifcc=15thencc=1:gosub2220:sh=sh+1
- 10075 next
- 10080 return
- 10085 :
- 10090 remgas
- 10095 cc=1:sh=11
- 10100 pokes+5,.:pokes+6,.:fork1=20to200step2:pokes+1,k1:pokes+4,17:pokes+4,.
- 10105 cc=cc+1:ifcc=15thencc=1:gosub2220:sh=sh-1
- 10110 next
- 10115 return
- 10120 :
- 10125 remaccident
- 10130 :
- 10135 pokes+5,9:pokes+6,.:pokes+1,3:pokes+2,.:pokes+3,.:fork2=100to50step-.33
- 10140 pokes,k2:pokes+4,81:k2=k2:pokes+4,80:next:x=atn(atn(4)):sh=14:gosub2220
- 10142 sh=15:gosub2220
- 10145 pokes,.:pokes+1,5:pokes+5,12:pokes+6,12:pokes+4,129
- 10150 fordl=.to2000:next:pokes+4,.:return
- 10155 :
- 10160 remrepairs
- 10165 :
- 10170 pokes+5,6:pokes+6,6:pokes+14,.:pokes+15,99:pokes,.:pokes+1,55
- 10172 sh=14:gosub2200
- 10175 fork1=.to250:ifrnd(1)<.1thenpokes+4,19:pokes+4,18
- 10180 next:pokes+4,.:fordl=.to200:next:sh=13:gosub2220:return
- 10185 :
- 10190 remstop
- 10195 pokes+5,9:pokes+6,9:pokes,.:pokes+1,32:pokes+4,17:pokes+4,16:return
- 10200 :
- 10205 remroll
- 10210 pokes+5,8:pokes+6,8:pokes,.:pokes+1,64:pokes+4,17:pokes+4,16:return
- 10215 :
- 10220 remcheer
- 10222 forx=stos+24:pokex,.:next:pokes+24,15
- 10225 pokes+5,0:pokes+6,252:pokes+11,0:pokes+12,252:pokes+19,0:pokes+20,252
- 10230 pokes+4,129:pokes+11,129:pokes+18,129
- 10235 pokes+1,100:pokes+8,100:pokes+15,200
- 10240 fordl=0to2800:next
- 10245 pokes+4,128:pokes+11,128:pokes+18,128:fordl=1to1500:next
- 10250 poke54296,0
- 10255 return
-