home *** CD-ROM | disk | FTP | other *** search
- 3 gosub10000
- 5 b=198
- 6 bl$=" ":open15,8,15,"i0":close15
- 7 open2,8,2,"$":forx=0to156:get#2,a$: :next
- 8 get#2,a$:si=val(a$):close2
- 9 poke53281,1:poke53280,5
- 10 print"[147][144] [204][207][193][196][211][212][193][210][160][200]ardcopy [211]etup "
- 20 print"[196]o you have:":print:print" [195]ommodore 1525"
- 30 print" [195]ommodore 1526":print" [195]ommodore [205][208][211] 801"
- 40 print" [212]ymac [195]onnection"
- 50 print" [195]ard/?[160][193], [194], or +[199]"
- 60 print" [194]us[195]ard [201][197][197][197]"
- 70 print"or any other 1525-compatible setup?"
- 80 pokeb,.:waitb,1:geta$
- 90 ifa$="y"ora$="[217]"thenpa=4:sa=7:c8%=-1: goto300
- 100 ifa$<>"n"anda$<>"[206]"then80
- 110 print"[196]o you have a [195]ommodore 1520?"
- 115 forx=0to10:printbl$:next
- 120 pokeb,.:waitb,1:geta$
- 130 ifa$="y"ora$="[217]"thenpa=6:sa=0: goto300
- 140 ifa$<>"n"anda$<>"[206]"then120
- 150 print"[196]o you have an old [195]ommodore 1515?"
- 155 forx=0to10:printbl$:next
- 160 pokeb,.:waitb,1:geta$
- 170 ifa$="y"ora$="[217]"thenpa=4:sa=7:c8%=0: goto300
- 180 ifa$<>"n"anda$<>"[206]"then160
- 190 :
- 200 print"[207].[203]. then, please enter the correct"
- 202 print"data for your printer:"
- 203 forx=0to10:printbl$:next
- 204 print"[197]nter primary address --";:inputpa$:pa=val(pa$)
- 206 print:print:print"[197]nter secondary address --";:inputsa$:sa=val(sa$)
- 300 :
- 301 print"":forx=0to10:printbl$:next
- 302 print"[208]rimary address of"pa"[157]."
- 304 print"[211]econdary address of"sa"[157]."
- 305 :
- 310 print"[193]re these selections correct?"
- 312 print" [[217]/[206]] or [209] to [209]uit"
- 315 pokeb,0:waitb,1:geta$
- 320 ifa$<>"y"anda$<>"n"anda$<>"q"then315
- 325 :
- 330 ifa$="q"then1000
- 340 ifa$="n"then10
- 345 goto500
- 350 :
- 360 print"":forx=0to20:printbl$:next
- 370 print" [208]lease make sure side"si"of your"
- 375 print" [204][207][193][196][211][212][193][210] disk is in your drive."
- 380 print" [208]lease press a key when you are ready."
- 381 print" ([208]ress [209] to [209]uit)"
- 382 pokeb,0:waitb,1:geta$:ifa$="q"then1000
- 402 gosub20000
- 410 print" [208]rint file is now on this side"
- 412 print" of the disk."
- 416 return
- 450 :
- 500 gosub360:iffl=1then500
- 510 ifsi=1thensi=2:goto530
- 520 ifsi=2thensi=1
- 530 gosub360:iffl=1then530
- 540 print"":forx=0to20:printbl$:next
- 542 print"[208]rocess now complete."
- 600 print"[208]lace [204][207][193][196][211][212][193][210] [211]ide [207]ne in your drive"
- 610 print"and press any key to return to menu."
- 620 geta$:ifa$=""then620
- 1000 fordl=1to1000:next:load"custom ls boot",8
- 10000 cr$=chr$(13)
- 10005 open15,8,15
- 10010 open3,8,4,"setup"
- 10020 input#3,d$(1),d$(2),d$(3),d$(4),d$(5),d$(6),d$(7)
- 10030 close3
- 10040 close15
- 10050 pa=val(d$(4)):sa=val(d$(5))
- 10060 return
- 20000 close15:open15,8,15
- 20010 d$(4)=mid$(str$(pa),2)
- 20012 d$(5)=mid$(str$(sa),2)
- 20070 open3,8,4,"setup":cr$=chr$(13)
- 20080 print#15,"p"chr$(0)"";
- 20082 print#3,d$(1)cr$d$(2)cr$d$(3)cr$d$(4)cr$d$(5)cr$d$(6)cr$d$(7)cr$
- 20100 close3
- 20110 close15
- 20120 return
-