home *** CD-ROM | disk | FTP | other *** search
- 0 ifx=0thenx=1:load"sysplotterc.o",8,1
- 1 dim lh(7,2),lv(7,2)
- 5 gosub 10000:rem menu
- 10 sys49152:sys49158:sys49161,1
- 20 sys49164,2
- 22 line=49173:unline=49176
- 25 :
- 30 x=a:y=b:a=c:b=d:c=e:d=f:e=rnd(1)*320:f=rnd(1)*200:sysun,x,y,a,b
- 32 sysli,c,d,e,f:ifpeek(197)=64then30
- 35 sys49155:print"[147]":getk$:return
- 100 sys49152:sys49158:sys49161,1
- 101 sys49164,2
- 110 li=49173:un=49176
- 120 e=0:f=0
- 130 r=rnd(1)*20+1:g=rnd(1)*20+1
- 140 x=a:y=b:a=c:b=d:c=e:d=f
- 150 e=e+rnd(1)*r:f=f+rnd(1)*g
- 155 if peek(197)<>64 then 210
- 160 sysun,x,y,a,b
- 170 sysli,c,d,e,f
- 180 ifrnd(1)<.2then130
- 190 iff<190then140
- 200 goto 120
- 210 getk$:sys49155:print"[147]":return
- 1000 sys49152:sys49158:sys49161,1
- 1010 sys49164,2
- 1020 li=49173:un=49176
- 1030 sysli,9,9,9,160
- 1040 sysli,9,160,300,160
- 1050 y1=80:y2=80:y3=80:y4=80:y5=80
- 1055 sysun,10,s1,80,s2
- 1060 sysli,10,y1,80,y2
- 1065 sysun,80,s2,150,s3
- 1070 sysli,80,y2,150,y3
- 1075 sysun,150,s3,220,s4
- 1080 sysli,150,y3,220,y4
- 1085 sysun,220,s4,300,s5
- 1090 sysli,220,y4,300,y5
- 1091 s1=y1:s2=y2:s3=y3:s4=y4:s5=y5
- 1100 y1=y1+(rnd(1)*15)-7.5
- 1101 y2=y2+(rnd(1)*15)-7.5
- 1103 y3=y3+(rnd(1)*15)-7.5
- 1104 y4=y4+(rnd(1)*15)-7.5
- 1105 y5=y5+(rnd(1)*15)-7.5
- 1106 ify1<10theny1=10
- 1107 ify1>160theny1=160
- 1108 ify2<10theny2=10
- 1109 ify2>160theny2=160
- 1110 ify3<10theny3=10
- 1111 ify3>160theny3=160
- 1112 ify4<10theny4=10
- 1113 ify4>160theny4=160
- 1114 ify5<10theny5=10
- 1115 ify5>160theny5=160
- 1119 if peek(197)=64 then 1055
- 1120 getk$:sys49155:print"[147]":return
- 10000 print"[147]":poke53281,0:poke53280,0
- 10010 print"sysplotterc demo program"
- 10020 print" choose one:"
- 10030 print"1 = silly application"
- 10040 print"2 = odd application"
- 10050 print"3 = sensible application"
- 10060 print"4 = back to loadstar"
- 10070 getk$:ifk$=""then10070
- 10080 ifk$<"1"ork$>"4"thenpoke53280,rnd(1)*15:goto10070
- 10090 k=val(k$)
- 10100 onkgosub10,100,1000,63000
- 10200 goto 10000
- 63000 rem connect to ls
- 63010 print"[147]load"chr$(34)"hello"chr$(34)",8":print"run"
- 63020 poke631,13:poke632,13:poke198,2: end
-