home *** CD-ROM | disk | FTP | other *** search
- 0 rem auto menu video ventures
- 1 rem copyright 1986
- 2 rem programmed by shawn ort
- 3 forx=49152to49191:reada:pokex,a:nextx
- 4 poke53280,2:poke53281,.
- 5 printchr$(142)"[147] please wait...reading directory"
- 10 dimn$(170)
- 30 open2,8,0,"$0"
- 50 pn$=""
- 55 forx=0to170
- 60 sys49152
- 65 ifpeek(8193)=1then100
- 70 get#2,pn$
- 80 n$(x)=n$(x)+pn$:get#2,pn$:ifpn$<>chr$(34)then80
- 85 forxt=1to26-len(n$(x)):get#2,pn$:nextxt
- 90 next
- 100 close2:sr=1:poke53265,peek(53265)or16:print"[147]":ns=23
- 105 print"":fora=1tons:print" ":next:print""
- 110 forl=srtosr+ns-1
- 112 ifl>170then133
- 114 ifl=xthenpoke646,6
- 115 print"[153]"l""n$(l)
- 130 next
- 135 gosub1000
- 140 geta$:ifa$=""then140
- 150 ifa$="n"thensr=sr+ns:ifsr<160andsr<x+1then105
- 152 ifa$="n"thensr=sr-ns
- 155 ifa$="f"thensr=1:goto105
- 160 ifa$="p"thensr=sr-ns:ifsr>0then105
- 161 ifa$="l"then180
- 162 ifa$="r"then180
- 165 ifsr>171thensr=sr-ns
- 166 ifsr<0thensr=1
- 170 goto140
- 180 print"";spc(21);"[154]enter number:":printspc(21)"-->";
- 181 gosub60500:l=val(b$):ifl>160then180
- 182 ifl=.thenprint"[145][145]";:fora=1to2:printtab(21)" ":next:print"[145][145]";
- 183 ifl=.then140
- 184 ifl=0then180
- 185 f$=n$(l)
- 190 print"[147]auto menu copyright 1987"
- 193 print"programmed by shawn ort"
- 195 print"":print"load"chr$(34);f$;chr$(34)",8,1[145][145][145]"
- 200 ifa$="o"thenpoke631,13:poke198,1:end
- 205 poke631,13:poke632,82:poke633,85:poke634,78:poke635,13:poke198,5:end
- 250 data162,2,32,198,255,32,207,255,201,199,240,16,201,214,240,12,201,34,208
- 251 data236,169,0,141,1,32,76,33,192,169,1,141,1,32,162,1,32,198,255,96,255
- 1000 print""tab(25)"[158]auto-menu"
- 1010 printtab(23)"l[154]oad program"
- 1015 printtab(23)"r[154]un program"
- 1020 printtab(23)"n[154]ext screen"
- 1025 printtab(23)"p[154]revious screen"
- 1030 printtab(23)"f[154]irst screen"
- 1040 printtab(23)"[158]copyright 1987 "
- 1050 return
- 60500 print"[164]";:b$="":fora=1to4
- 60510 geta$:ifa$=""then60510
- 60520 ifa$=chr$(13)thenprint"[157] ":return
- 60530 ifa$=chr$(20)anda>1thenprint"[157][157] [157][157][164]";:a=a-1:b$=left$(b$,a-1):goto60510
- 60535 ifa=4then60510
- 60540 ifa$<"0"ora$>"9"then60510
- 60550 print"[157]"a$"[164]";:b$=b$+a$:next
-