home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 53
/
053.d81
/
critique
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
5KB
|
163 lines
10 a=a+1:ifa=1thengosub60100:load"bload.o",8,1
20 sys 828,16384,"critique.text"
30 sys 828,49152,"critique.o"
40 :
50 poke55,.:poke56,64:clr: dim l$(20),an$(100,2),ad(100)
55 in$="53":rem open3,8,3,"features":get#3,a$,a$:input#3,in$:close3
60 poke214,22:print:print" [208][210][197][211][211] [211][208][193][195][197] [212][207] [195][207][206][212][201][206][213][197] ":poke198,.
70 ifpeek(203)<>60then70
80 :
100 poke53280,11:print"[147][158] [210][197][193][196][197][210] [195][210][201][212][201][209][213][197]"
110 print"[154] [215]hich would you like to do?"
120 print" [[198][154]]ill out the reader survey"
130 print" [[210][154]]eturn to [204]oadstar"
140 print" [208]ress [198] [154]or [210][154]."
150 geta$:ifa$<>"f"anda$<>"r"then150
160 ifa$="r"then60000
165 st$="":fora=.to40:b=peek(16384+a):ifb<>13thenst$=st$+chr$(b):next
166 ss=a+1
170 poke250,ss:poke251,64:al$="abcdefghijklmnopqrstuvwxyz":cq=1
180 :
200 ifst$="[195]ritique"thenst$="[204][207][193][196][211][212][193][210] #"+in$+" [195][210][201][212][201][209][213][197]"
205 ta=20-len(st$)/2:print"[147][158]"tab(ta)st$
210 print"[151][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][157][148][163]"
215 print"[151][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][164]"
216 fora=217to242:pokea,peek(a)or128:next
220 ad(cq)=peek(250)+peek(251)*256
225 sys49152,nl%,l$(1):ls=1
230 nc=val(left$(l$(nl%),2)): oo=val(mid$(l$(nl%),3,1))
232 os=val(right$(l$(nl%),1))
235 gosub5000:nl%=nl%+(nc=99)*-7
237 if(nc=.)and(oo)thengosub7100
239 ce=int(8-nl%/2):print"[154]";:fora=1toce:print:next:nl%=nl%+(nc=99)*7
240 fora=1tonl%-1:print" "l$(a):next
250 if nc=99 then 400
260 if nc=. and (oo) then gosub9000:goto390
270 tc=peek(214)-nc-1:an$=left$(al$,nc)
275 poke198,.:if(nc)thengosub7000
280 geta$:if(a$<"a"ora$>right$(an$,1))and(a$<>chr$(13))then280
285 ifa$=chr$(13)then340
290 a=asc(a$):cs=a-65
292 if(os)thenpoke214,tc+ls:print:print"[154] "l$(nl%-nc+ls)
294 if(os)and((tc+ls-1)=nl%+ce)and(oo)thengosub8500:an$(cq,2)=""
295 poke214,cs+tc:print:ls=cs
300 ad=peek(209)+peek(210)*256+peek(211)+1
310 if(peek(ad)and128)=.thenprint " " l$(nl%-nc+cs):goto330
320 if(peek(ad)and128)thenprint "[154] " l$(nl%-nc+cs)
325 if ((tc+cs-1)=nl%+ce) and (oo) then gosub8000:an$(cq,2)="":goto280
330 if ((tc+cs-1)=nl%+ce) and (oo) thengosub7100:gosub8000:gosub9000:gosub7000
335 goto280
340 poke214,tc:print
350 fora=1tonc
360 ad=peek(209)+peek(210)*256+peek(211)+1
370 ifpeek(ad)and128thenan$(cq,1)=an$(cq,1)+chr$(64+a)
380 print:next:if(an$(cq,1)="")and(an$(cq,2)="")thengosub9500:goto280
390 cq=cq+1:goto220
395 :
400 print" [154][215]ould you like to return your"
440 print" responses to [204]oadstar on disk or"
445 print" paper?"
446 print " [217]ou may also quit without saving"
447 print" your responses."
450 print" [208]ress [196][154], [208][154], or [209][154]."
460 gosub6000
470 a=peek(203):ifa<>18anda<>41anda<>62then470
475 ifa=62then900
480 ifa=41then700
490 :
500 gosub5000:print" [208]lease insert a disk to hold"
510 print" your response information and"
520 print" press [211][208][193][195][197][154] to continue.":poke198,.
525 print" [206][207][212][197]: [212]his will erase any old"
526 print" survey responses that are on"
527 print" this disk.":poke198,.
530 ifpeek(203)<>60then530
540 gosub6000:poke214,21:print:print" [211]aving your response information..."
550 open15,8,15,"i0":print#15,"s0:survey.response":close15
560 open3,8,3,"survey.response,p,w"
570 print#3,chr$(13)chr$(13);
580 print#3,in$
590 fora=1tocq
600 print#3,an$(a,1):print#3,an$(a,2)
610 next:close3:goto900
620 :
700 open15,4,15:close15:ifst=.then730
710 gosub6000:poke214,21:print:print" [197][210][210][207][210]: [208][210][201][206][212][197][210] [206][207][212] [196][197][212][197][195][212][197][196]!"
720 fora=1to2000:poke54296,15:poke54296,.:next:gosub6000:goto470
730 gosub6000:poke214,21:print:print" [208]rinting your responses ..."
740 open4,4,7:poke250,ss:poke251,64
745 fora=1tota:print#4," ";:next:print#4,st$
750 fora=1tocq-1:print#4
760 sys49152,nl%,l$(1)
770 nc=val(left$(l$(nl%),2)): oo=val(mid$(l$(nl%),3,1))
780 forb=1tonl%-nc-1:print#4,l$(b):next
790 if (nc=.) then 840
800 forb=1tolen(an$(a,1))
810 c=asc(mid$(an$(a,1),b,1))-65
820 print#4,l$((nl%-nc)+c)
830 next
840 if (an$(a,2)<>"") and (oo) then print#4,":"an$(a,2)
850 next
860 :
900 gosub6000:poke214,20:print
920 print" [154][208]ress [211][208][193][195][197] [154]to return to [204][207][193][196][211][212][193][210].":poke198,.
930 ifpeek(203)<>60then930
940 open15,8,15,"r0:hello connect=hello connect":input#15,er:close15
950 ifer<>63thenend
960 load"hello connect",8
5000 print"";:fora=1to14
5010 print" ":next:return
6000 poke214,19:print
6010 forb=1to4:print" ":next
6020 return
7000 gosub6000
7005 print" [154][208]lease make your selection(s):"
7010 a$="":fora=1tolen(an$)
7020 a$=a$+chr$(asc(mid$(an$,a,1))+128)
7030 ifa<>len(an$)thena$=a$+" "
7040 next:a$=a$+" [154]or [210][197][212][213][210][206]"
7050 ta=20-len(a$)/2+1:print""tab(ta)a$""
7060 return
7100 gosub6000
7105 print" [154][208]lease enter your response."
7110 return
8000 poke214,cs+tc+1:print:print" [145]"
8010 return
8500 poke214,ls+tc+1:print:print" [145]"
8510 return
8900 :
9000 b$="":print"[154]:[164]";:poke198,.:fora=1to38
9010 geta$:ifa$=""then9010
9020 ifa$=chr$(13)thenprint"[157] ":an$(cq,2)=b$:return
9030 if(a$=chr$(20))and(a>1)thena=a-1:b$=left$(b$,a-1):print"[157][157] [157][157][154][164]";:goto9010
9035 ifa=38then9010
9040 ifa$>=" "anda$<="z"then9070
9050 ifa$>="[193]"anda$<="[218]"then9070
9060 goto9010
9070 b$=b$+a$:print"[157]"a$;:poke212,.:print"[154][164]";
9080 next
9500 gosub6000:poke214,20:print:print"[150] [217]ou [205][213][211][212] select at least one of the"
9510 print" above items before continuing."
9530 fora=1to3000:next:gosub7000:return
59998 :
59999 :
60000 open15,8,15,"r0:hello connect=hello connect":input#15,er:close15
60010 ifer<>63thenend
60020 load"hello connect",8
60098 :
60099 :
60100 poke53280, 0:poke53281, 0:print"[147]";
60101 print"[151][167][163][163][152][163][163][163][163][163][163][155][163][163][163][163][163][163][163][163][163][163][163][163][155][163][163][163][163][163][163][152][163][163][163][163][163][163][151][163][163][165]"
60102 print"[167]LOADSTARPRESENTS:[151][165]"
60103 print"[167][164][164][152][164][164][164][164][164][164][155][164][164][164][164][164][164][164][164][164][164][164][164][155][164][164][164][164][164][164][152][164][164][164][164][164][164][151][164][164][165]"
60104 print"[163][163][163][163][163][154][163][163][163][163][163][163][159][163][163][163][163][163][163][163][163][163][163][163][163][159][163][163][163][163][163][163][154][163][163][163][163][163][163][163][163][163][163][163][158][210][197][193][196]";
60105 print"[197][210][195][210][201][212][201][209][213][197]"
60106 print"[156]PROGRAMBY:MikeMaynard"
60107 print"[195][210][201][212][201][209][213][197][194][217]:[211]oftdisk[211]taff"
60108 print"[158]COPYRIGHT1988"
60109 print"[164][164][164][164][164][154][164][164][164][164][164][164][159][164][164][164][164][164][164][164][164][164][164][164][164][159][164][164][164][164][164][164][154][164][164][164][164][164][164][164][164][164][164][164][151][167][163][163][152][163][163][163][163][163][163][155][163][163][163][163][163][163]";
60110 print"[163][163][163][163][163][163][155][163][163][163][163][163][163][1