home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 207 / 207.d81 / b.aftermath (.txt) < prev    next >
Encoding:
Commodore BASIC  |  2001-01-01  |  5.3 KB  |  208 lines

  1. 100 poke53280,0:poke53281,0:print"[147]"
  2. 140 poke55,0:poke56,56:clr:a$=""
  3. 142 dv=peek(186):ifdv<8thendv=8
  4. 143 dim r$(11),c(11),e(11),an$(13,15)
  5. 145 gosub60000:t=ti+150
  6. 146 ifti<tthen146
  7. 155 def fnd(i)=20-(len(an$(x,i))/2)
  8. 160 sys57812"aftermathunp.89",dv,0:poke780,0:poke781,0:poke782,201:sys65493
  9. 170 sys57812"package.o",dv,0:poke780,0:poke781,80:poke782,195:sys65493
  10. 180 sys57812"aftermath.shp",dv,0:poke780,0:poke781,0:poke782,64:sys65493
  11. 182 sys57812"f.aftermath",dv,0:poke780,0:poke781,0:poke782,56:sys65493
  12. 190 poke251,64:poke252,224:poke253,204:sys51456
  13. 195 poke252,224:poke253,204:sys51459
  14. 200 ip=50000:unpack=51456:hgr=51459
  15. 210 ps=50006:ba=50009
  16. 220 open2,dv,2,"aftermath text,p,r":get#2,a$,b$:
  17. 222 j=1:k=0:fori=0to1:sysip,2,40:i=st
  18. 224 ifa$="*"thenj=j+1:k=0:goto228
  19. 226 k=k+1:an$(j,k)=a$
  20. 228 next:close2
  21. 230 readnp
  22. 240 forx=1tonp:readr$(x),c(x)
  23. 250 next:t=ti+150
  24. 255 ift>tithen255
  25. 260 syshgr
  26. 270 forx=1tonp
  27. 280 gosub1810
  28. 290 sys57812r$(x),dv,0:poke780,0:poke781,0:poke782,64:sys65493
  29. 310 gosub1910:ifa$="q"ora$="[209]"thengosub1250
  30. 312 gosub2000
  31. 320 e(x)=peek(53281)
  32. 340 kk=0:poke198,0
  33. 355 ifz3=0then360
  34. 357 z4=z4+1:z4=z4and15
  35. 358 poke53281,z4
  36. 360 kk=kk+1:geta$:ifa$=""andkk<800then355
  37. 370 ifa$="q"ora$="[209]"thengosub1250
  38. 380 ifa$="s"ora$="[211]"then 470
  39. 390 ifa$<>chr$(133)then410
  40. 400 z1=z1+1:z1=z1and15
  41. 405 poke53280,z1:goto340
  42. 410 ifa$<>chr$(134)then416
  43. 412 z2=z2+1:z2=z2and15
  44. 415 poke53281,z2:goto340
  45. 416 ifa$<>chr$(135)then420
  46. 417 z3=1-z3:ifz3=0thenpoke53281,e(x)
  47. 419 goto340
  48. 420 syshgr:print"[147]":poke198,0:next x
  49. 425 goto3000
  50. 430 goto270
  51. 440 :
  52. 450 rem save koala pic
  53. 460 :
  54. 470 sys hgr
  55. 480 poke53280,0:poke53281,0
  56. 490 print"[147][154]":poke214,11:print
  57. 500 print"   [211]ave this unpacked picture? (y[154]/n[154])":poke198,0
  58. 510 geta$:ifa$<>"y"anda$<>"n"then510
  59. 520 ifa$="y"then560
  60. 530 goto1110
  61. 550 :
  62. 560 print"[147][154]":poke214,9:print
  63. 570 print" [201]nsert save disk and enter a filename."
  64. 580 :
  65. 590 print"       [206]ame : ---------------[145][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][193][146]pic ";
  66. 600 ln%=10:sp$="                "
  67. 610 gosub690:ifnm$=""then1110
  68. 620 nm$=left$(chr$(129)+"pic "+nm$+sp$,15)
  69. 650 goto820
  70. 680 rem --- input routine ---
  71. 690 nm$="":x%=0:c%=peek(646)
  72. 700 print"[152][164][157]";:poke646,c%
  73. 710 geta$:ifa$=""then710
  74. 720 a%=asc(a$)
  75. 730 ifa%=20andx%thenx%=x%-1:nm$=left$(nm$,len(nm$)-1):print" [157][157]";:goto700
  76. 740 ifa%=20then710
  77. 750 ifa%=13thenprint" ":return
  78. 760 ifx%=ln%then710
  79. 770 ifa$<" "ora$>"z"anda$<"[193]"ora$>"[218]"ora%=34then710
  80. 780 nm$=nm$+a$:print""a$;:x%=x%+1:goto700
  81. 790 :
  82. 800 rem -- check for 'file exists' --
  83. 810 :
  84. 820 open15,dv,15,"r0:"+nm$+"="+nm$:input#15,er,er$:close15
  85. 830 ifer<>62thengosub1160:goto1110
  86. 840 :
  87. 850 rem ---      save pic       ---
  88. 860 :
  89. 920 gosub2000:nm$=nm$+",p,w"
  90. 930 sysps,nm$:syshgr
  91. 950 :
  92. 960 rem --- check for errors ---
  93. 970 :
  94. 980 open15,dv,15:input#15,er,er$,y$,z$:close15
  95. 990 iferthengosub1160:goto490
  96. 1000 :
  97. 1010 rem --    everything ok    ---
  98. 1020 :
  99. 1030 poke53280,0:poke53281,0
  100. 1040 print"[147][154]":poke214,7:print
  101. 1050 print"             [211]aving complete."
  102. 1060 print"   [201]f necessary, put the disk in"
  103. 1070 print"     the drive and press [211][208][193][195][197][154]."
  104. 1080 geta$:ifa$<>" "then1080
  105. 1090 open15,dv,15,"r0:package.o=package.o":input#15,er:close15
  106. 1100 ifer<>63 then 1040
  107. 1110 syshgr:goto420
  108. 1140 :
  109. 1150 rem ---   print dos error msg ---
  110. 1160 :
  111. 1170 poke53280,.:poke53281,.:print"[147]        [129] [196] [201] [211] [203]   [197] [210] [210] [207] [210] !
  112. 1180 [151]214,10:[153]
  113. 1190 a$[178]"print#valrror #"[170][196](er)[170]"print#,"[170]er$
  114. 1200 x%[178]22[171][195](a$)[173]2:[153][163]x%);a$
  115. 1210 [151]214,21:[153]
  116. 1220 [153]"print#        (NULL)ress (NULL)(NULL)atnlenvalprint# to continue."
  117. 1230 [161]a$:[139]a$[179][177]" "[167]1230
  118. 1240 [142]
  119. 1250 o[178][194](53270)[175]16
  120. 1255 [139]o[167][158]51459
  121. 1260 [151]53281,0:[151]53280,0
  122. 1270 [153]"loadcont  atnre you sure you want to quit? (ycont/ncont)"
  123. 1280 [151]198,0:[146]198,1:[161]ag$
  124. 1290 [139]ag$[178]"y"[176]ag$[178]"(NULL)"[167]1330
  125. 1295 [139]o[167][158]51459
  126. 1300 [142]
  127. 1320 [143] quit
  128. 1330 [137]40000
  129. 1380 [143] data <title>,<border color>
  130. 1390 [131] 09
  131. 1405 [131] 911.shp,0
  132. 1410 [131] pic 62.shp,0
  133. 1420 [131] pic 2.shp,0
  134. 1430 [131] pic 71.shp,0
  135. 1440 [131] pic 82.shp,0
  136. 1450 [131] pic 129.shp,0
  137. 1460 [131] pic 169.shp,0
  138. 1465 [131] pic 149.shp,0
  139. 1470 [131] pic 24.shp,0
  140. 1500 :
  141. 1770 [153]"";
  142. 1800 :
  143. 1810 [151]53281,0:[151]53280,0:[151]53272,31
  144. 1820 [153]"loadlistortantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantan^"
  145. 1830 [129]qx[178]1[164]14
  146. 1840 [153]"(NULL)"[163]38)"(NULL)":[130]
  147. 1850 [153]"/tantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantanexp"
  148. 1860 [129]lx[178]217[164]217[170]26:[151]lx,([194](lx)[176]128):[130]
  149. 1870 [153]"print#"
  150. 1872 [129]i[178]1[164]13:[153]""an$(x,i):[130]
  151. 1900 [142]
  152. 1910 kk[178]0
  153. 1915 [151]214,15:[153]:[153]"list     (NULL)hile the slide is showing..."
  154. 1916 [153]"   asc1 sys- changes border color"
  155. 1917 [153]"   asc3 sys- changes background color"
  156. 1918 [153]"   asc5 sys- toggles (NULL)tarasclash (tm)
  157. 1919 print"    [211] [158]- takes you to [211][193][214][197] routine"
  158. 1920 print"    [209] [158]- quits"
  159. 1925 poke214,23:print
  160. 1930 print"[155][208]ress [209][155] to quit - [193]ny other to continue[145]"
  161. 1940 kk=kk+1:geta$:ifa$<>""orkk>1000thenreturn
  162. 1950 goto1940
  163. 1980 :
  164. 1990 :
  165. 2000 print"[147]";:iffhthenpoke254,0:sysba:goto2040
  166. 2020 poke251,64:poke252,224:poke253,204
  167. 2030 sysun
  168. 2040 poke53280,c(x):poke252,224:poke253,204:syshgr:return
  169. 2050 return
  170. 3000 poke214,09:print:q9=8:poke53272,22
  171. 3010 printtab(q9)"  [176][192][174][178] [178][176][192][174]  [176][192][174][176][174][174][192][192][174]  "
  172. 3011 printtab(q9)"   [221] [171][192][179][171][179]   [171][179] [221][173][179][221] [221]  "
  173. 3012 printtab(q9)"   [177] [177] [177][173][192][189]  [173][192][189][177] [177][173][192][189]  "
  174. 3015 print:print:printtab(q9)"[156][210]eturn to [204][207][193][196][211][212][193][210]?  [217]/[206]
  175. 3020 [151]198,0:
  176. 3025 [161]z$:[139]z$[178]""[167]3025
  177. 3030 [139]z$[178]"y"[167]40000
  178. 3040 [139]z$[178]"n"[167]430
  179. 10000 d[178][194](186):n$[178]"b.aftermath":[159]15,d,15,"s0:"[170]n$:[160]15:[148]n$,d:[128]
  180. 40000 [129]i[178]0[164]21:[151]828[170]i,8[170]i:[130]:[151]788,49
  181. 40010 [139]dv[179]8[176]dv[177]29[176]dv[178]8[167]40030
  182. 40020 a[178][194](828):b[178][194](828[170]dv[171]8):[151]828,b:[151]828[170]dv[171]8,a
  183. 40030 a$[178]"presenter":[141]40040:a$[178]"hello connect"
  184. 40040 [129]j[178]8[164]29:i[178][194](828[170]j[171]8):[139]i[178]14[167][130]
  185. 40050 [160]2:[159]2,i,2:[160]2:[139]st[167]40070
  186. 40060 [160]15:[159]15,i,15,"r0:"[170]a$[170]"="[170]a$:[132]15,er:[160]15:[139]er[178]63[167]40090
  187. 40070 [130]:[139]a$[178]"presenter"[167][142]
  188. 40080 [153]"load":[151]53272,23:[151]186,8:[151]2048,0:[151]44,8:[151]43,1:[128]
  189. 40090 a$[178]"hello connect":q$[178][199](34):[151]646,[194](53281):[153]"load":[151]53272,23
  190. 40100 [153]"loadp(NULL)2048,0:p(NULL)44,8:p(NULL)43,1:p(NULL)56,160:p(NULL)55,0:clr:l(NULL)"q$a$q$","i
  191. 40110 [153]"p(NULL)53272,23:run:":[151]631,13:[151]632,13:[151]198,2:[128]
  192. 60000 [153]"load":z$[178]" print#                                      ":[151]214,10:[153]
  193. 60010 [153]" listfrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefre":[129]i[178]0[164]10:[153]z$:[130]
  194. 60020 [153]" pokeposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposprint#"
  195. 60030 [141]61000
  196. 60090 [151]214,12:[153]
  197. 60100 [129]i[178]0[164]8:[153][163]20[171]([195](z$(i))[173]2))""z$(i):[130]:[142]
  198. 61000 z$(0)[178]"ortan^=tan^ortan^=tan^=tan^or^or^ortan^ortan^= ="
  199. 61001 z$(1)[178]"-tan<-<  (NULL) -< -=exp(NULL)/exp(NULL)-tan< (NULL) -tan<"
  200. 61002 z$(2)[178]"> >>   > >tanexp>/ >  >> > > > >"
  201. 61003 z$(3)[178]"(NULL)ictures by (NULL)(NULL)atnstr$(NULL)(NULL)atn(NULL) atnrtists"
  202. 61004 z$(4)[178]"(NULL)ext by (NULL)arion ascinsterwald"
  203. 61005 z$(5)[178]""
  204. 61006 z$(6)[178]"(c) 2001 mid$&asc (NULL)ublishing, right$nc."
  205. 61007 z$(7)[178]""
  206. 61008 z$(8)[178]"www.loadstar.com"
  207. 61009 [142]
  208.