home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / comdore / 64music / apclypsn (.txt) < prev    next >
Commodore BASIC  |  1989-01-22  |  18KB  |  560 lines

  1. 1 REM ++++++++++++++++++
  2. 2 REM + APOCALYPSE NOW +
  3. 3 REM ++++++++++++++++++********
  4. 4 REM * BY HELMUT BURGEMEISTER *
  5. 5 REM * AND HELMUT BOELCSKEI   *
  6. 6 REM **************************
  7. 7 REM ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  8. 8 REM ^   MASCHINEN PROGRAMM    ^
  9. 9 REM ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  10. 10 PRINT"[147]BITTE WARTEN !"
  11. 20 POKE53281,0
  12. 30 POKE53280,0
  13. 40 FORI=832TO832+33:READA:POKEI,A:NEXT
  14. 50 DATA120,169,51,133,1,169,0,133,95,133,90,133,88,169,208,133,96,169,240
  15. 60 DATA133,89,169,224,133,91,32,191,163,169,55,133,1,88,96
  16. 80 SYS832:POKE850,160:SYS832
  17. 100 REM ___________________________
  18. 101 REM _ DATEN FUER NEUE ZEICHEN _
  19. 102 REM ___________________________
  20. 130 POKE56576,PEEK(56576)AND252
  21. 135 POKE53272,8:POKE648,192
  22. 140 PRINT"[147]BITTE WARTEN !"
  23. 150 FORI=280TO559:READA:POKE57344+I,A:NEXT
  24. 210 DATA255,255,255,255,255,255,255,255
  25. 220 DATA0,0,0,37,205,255,255,255
  26. 230 DATA0,0,0,0,0,255,255,255
  27. 240 DATA137,66,36,24,153,36,66,137
  28. 245 DATA255,129,129,255,129,129,255,255
  29. 250 DATA3,13,49,193,193,49,13,3
  30. 255 DATA0,96,252,255,252,96,0,0
  31. 260 DATA60,60,60,24,24,0,0,0
  32. 265 DATA255,126,255,126,255,126,255,126
  33. 270 DATA0,0,0,255,255,255,0,0
  34. 275 DATA24,60,24,63,88,88,36,66
  35. 280 DATA25,61,25,62,88,88,36,66
  36. 285 DATA0,0,60,32,60,32,32,32
  37. 290 DATA0,0,68,68,68,68,68,124
  38. 295 DATA0,0,124,64,124,64,64,124
  39. 300 DATA0,0,32,32,32,32,32,60
  40. 305 DATA126,255,255,231,231,255,255,126
  41. 310 DATA0,0,0,0,8,5,3,7
  42. 315 DATA0,0,0,0,12,62,127,255
  43. 320 DATA0,0,6,31,127,255,255,255
  44. 325 DATA0,0,0,192,231,239,255,255
  45. 330 DATA0,0,56,252,252,254,255,255
  46. 335 DATA255,127,127,63,31,12,0,0
  47. 340 DATA255,255,254,152,0,0,0,0
  48. 345 DATA255,191,31,15,3,1,0,0
  49. 350 DATA255,255,255,248,248,224,0,0
  50. 355 DATA0,0,36,24,24,36,0,0
  51. 360 DATA65,39,18,207,63,191,127,255
  52. 365 DATA160,68,88,225,250,252,254,255
  53. 370 DATA255,255,255,255,255,255,255,255
  54. 375 DATA255,255,243,195,195,192,0,0
  55. 380 DATA0,0,35,254,35,0,0,0
  56. 385 DATA4,4,11,48,48,64,0,0
  57. 390 DATA0,0,196,127,196,0,0,0
  58. 395 DATA0,32,32,208,12,12,2,0
  59. 400 REM +++++++++++++++++
  60. 401 REM + SPRITES DATEN +
  61. 402 REM +++++++++++++++++
  62. 500 FORI=50304TO50304+62:READA:POKEI,A:NEXT
  63. 505 FORI=50368TO50368+62:READA:POKEI,A:NEXT
  64. 510 FORI=50432TO50432+62:READA:POKEI,A:NEXT
  65. 511 FORI=50496TO50496+62:READA:POKEI,A:NEXT
  66. 512 FORI=50560TO50560+62:READA:POKEI,A:NEXT
  67. 513 FORI=50624TO50624+62:READA:POKEI,A:NEXT
  68. 514 FORI=50688TO50688+62:READA:POKEI,A:NEXT
  69. 515 FORI=50752TO50752+62:READA:POKEI,A:NEXT
  70. 517 PRINT"    APOCALYPSE NOW "
  71. 518 PRINT"  [158]BY HELMUT [159]BURGEMEISTER[154][157][157][157][157][157][157][157][157][157][157][157][157][157]AND HELMUT BOELCSKEI  "
  72. 519 DATA0,0,0
  73. 520 DATA0,0,0,255,255,255,0,48,0,3,255,193,4,32,97,8,32,55,16,42,153
  74. 525 DATA96,34,1,128,79,131,128,66,6,128,138,152,255,128,96,64,64,128
  75. 530 DATA32,33,0,16,33,0,143,254,0,129,2,0,127,255,248,0,0,0,0,0,0
  76. 540 DATA0,0,0,0,0,0,31,255,240,0,40,0,0,16,0,0,104,0,0,132,0
  77. 545 DATA1,2,0,6,249,128,4,252,128,11,254,64,9,252,64,4,0,128,3,3,0,0,252,0
  78. 550 DATA1,50,0,2,1,0,4,0,128,28,0,224,0,0,0,0,0,0
  79. 560 DATA0,0,0,0,0,0,255,255,255,0,12,0,131,255,112,135,4,32
  80. 565 DATA252,4,16,153,68,8,128,68,6,193,242,1,96,66,1,24,65,1,6,1,255,1,2,2,0
  81. 570 DATA132,4,0,132,8,0,127,241,0,64,129,31,255,254,0,0,0,0,0,0
  82. 580 DATA0,0,240,0,15,1,0,240,193,15,111,103,240,240,65,3,32,145,4,42,3
  83. 585 DATA8,34,134,0,47,8,16,66,144,96,82,96,128,128,128,128,129,0,143,65,0
  84. 590 DATA240,33,0,64,46,8,32,242,240,31,15,0,129,240,0,143,0,0,112,0,0
  85. 600 DATA15,0,0,128,240,0,131,15,0,230,252,240,156,240,15,137,4,192,192,84,32
  86. 605 DATA97,68,16,16,244,0,9,66,8,6,82,6,1,1,1,0,129,1,0,130,241,0,132,15
  87. 610 DATA16,116,2,15,143,4,0,240,248,0,15,129,0,0,241,0,0,14
  88. 620 DATA0,0,0,0,0,0,0,3,0,0,15,0,0,63,0,0,240,0,0,192,0,0,20,0,0,20,0,0,40,0
  89. 625 DATA0,40,0,0,20,0,0,20,0,0,40,0,0,40,0,0,20,0,0,95,0,0,170,0,3,255,192
  90. 630 DATA13,95,112,3,255,192
  91. 640 DATA0,0,0,0,0,0,0,192,0,0,240,0,0,63,0,0,15,0,0,3,0,0,20,0,0,20,0,0,40,0
  92. 645 DATA0,40,0,0,20,0,0,20,0,0,40,0,0,40,0,0,20,0,0,95,0,0,170,0,3,255,192
  93. 650 DATA13,95,112,3,255,192
  94. 660 DATA128,0,1,71,255,242,36,0,4,16,255,12,25,0,148,38,0,100,2,0,68,69,36,196
  95. 665 DATA69,153,68,124,126,125,68,60,68,68,90,68,68,129,68,67,0,196,66,255,68,68
  96. 670 DATA20,36,40,34,20,16,65,24,47,255,228,64,0,2,128,0,1
  97. 700 REM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  98. 701 REM ^ INETIALISIERUNG VARIABLEN ^
  99. 702 REM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  100. 997 GOSUB62130:POKE50169,22:POKE50168,18
  101. 998 V=53248:POKEV+21,1:POKEV+42,14
  102. 999 X=250:Y=94:GOSUB50000
  103. 1000 X=250:Y=94:A=1:OT=1:V=53248:POKE50168,18:GOSUB63000:O=PEEK(V+31):AB=AC
  104. 1001 POKEV+21,1:POKEV+29,3:POKEV+39,3:B=1:PRINT"[147]":Q=13:X2=0:Y2=90:B2=4:C2=3
  105. 1002 GOSUB60100:POKEV+21,1
  106. 1003 H=32:EN=10:PU=.05:B9=0:HU=0
  107. 1004 POKEV+2,X2:POKEV+3,Y2:HB=4
  108. 1005 POKEV+28,12:POKEV+37,2:POKEV+38,5
  109. 1006 POKE50170,23:POKE50171,24
  110. 1009 POKESI+11,65:JS=PEEK(V+30):O=PEEK(V+31)
  111. 1010 REM HAUPTPROGRAMM
  112. 1011 J=PEEK(56320):JS=PEEK(V+30)
  113. 1020 IF(JAND4)=0THENX=X-5:A=A-1
  114. 1030 IF(JAND8)=0THENX=X+5:A=A+1
  115. 1040 IF(JAND1)=0THENY=Y-5
  116. 1050 IF(JAND2)=0THENY=Y+5
  117. 1055 IFA>3THENA=3
  118. 1056 IFA<1THENA=1
  119. 1059 IFY<85THENY=85
  120. 1060 ONAGOSUB2000,2010,2020
  121. 1065 Y=Y+AB
  122. 1070 POKEV,X:POKEV+1,Y
  123. 1080 IF(JAND16)=0THENGOSUB2050
  124. 1090 O=PEEK(V+31):IFO=1THEN3200
  125. 1098 IFX>250THENB=B-1:X=250:BI=0:HU=0:B9=0:POKEV+21,1:IFB<1THENB=1
  126. 1099 IFX<5THENB=B+1:X=5:BI=0
  127. 1100 ONBGOSUB4500,5000,5500,6000
  128. 1110 POKE49152+EN+40*3,H:EN=EN-PU:H=32
  129. 1888 IFEN>10THEN1010
  130. 1889 GOSUB61000:GOSUB60900
  131. 1890 IFEN<=0THENEN=0:AB=4:POKESI+7,100:GOTO1065
  132. 1900 GOTO1010
  133. 1997 REM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  134. 1998 REM ^BEWEGUNGSRICHTUNG VON SPRITE^
  135. 1999 REM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  136. 2000 IF(JAND4)=0THENPOKE50168,21:POKESI+7,255:RETURN
  137. 2001 POKE50168,18:POKESI+7,200
  138. 2009 RETURN
  139. 2010 POKE50168,19
  140. 2019 RETURN
  141. 2020 IF(JAND8)=0THENPOKE50168,22:POKESI+7,255:RETURN
  142. 2021 POKE50168,20:POKESI+7,200
  143. 2029 RETURN
  144. 2049 REM __________________
  145. 2050 REM _ SCHUSS ROUTINE _
  146. 2051 REM __________________
  147. 2059 IF(JAND4)=0ANDA=1THENGOSUB3300:RETURN
  148. 2060 IFA=1THENGOSUB3000
  149. 2070 IFA=2THENGOSUB3030
  150. 2079 IF(JAND8)=0ANDA=3THENGOSUB3400:RETURN
  151. 2080 IFA=3THENGOSUB3060
  152. 2090 RETURN
  153. 3000 X1=INT(X/8-4):Y1=INT(Y/8-5)
  154. 3005 FORE=X1TO0STEP-1:GOSUB61400
  155. 3006 PO=PEEK(49152+E+40*Y1):POKE49152+E+40*Y1,66:POKE49152+E+40*Y1,PO
  156. 3007 IFPEEK(49152+E-1+40*Y1)<>32THENS=-1:GOTO3100
  157. 3010 NEXTE:RETURN
  158. 3030 X1=INT(X/8):Y1=INT(Y/8-3)
  159. 3033 FORE=Y1TO25STEP1:GOSUB61400
  160. 3040 PO=PEEK(49152+X1+40*E):POKE49152+X1+40*E,42:POKE49152+X1+40*E,PO
  161. 3045 IFPEEK(49152+X1+40*E+40)<>32THEN3110
  162. 3050 NEXTE:RETURN
  163. 3060 X1=INT(X/8+4):Y1=INT(Y/8-5)
  164. 3070 FORE=X1TO39STEP1:GOSUB61400
  165. 3075 PO=PEEK(49152+E+40*Y1):POKE49152+E+40*Y1,68:POKE49152+E+40*Y1,PO
  166. 3077 IFPEEK(49152+E+1+40*Y1)<>32THENS=1:GOTO3100
  167. 3080 NEXTE:RETURN
  168. 3097 REM +++++++++++++++++++++++
  169. 3098 REM + AUFPRALL VON SCHUSS +
  170. 3099 REM +++++++++++++++++++++++
  171. 3100 POKESI+10,3:GOSUB60700:IFPEEK(49152+E+S+40*Y1)<>51THEN3150
  172. 3102 POKE49152+E+S+40*Y1,38:FORT=0TO100:NEXT:POKE49152+E+S+40*Y1,32:E=0
  173. 3103 SC=SC+6:GOSUB61200:RETURN
  174. 3110 POKESI+10,3:GOSUB60700:IFPEEK(49152+X1+40*E+40)<>51THEN3170
  175. 3111 POKE49152+X1+40*E+40,38
  176. 3112 FORT=0TO110:NEXT:POKE49152+X1+40*E+40,32:E=0:SC=SC+8:GOSUB61200:RETURN
  177. 3150 PO=PEEK(49152+E+S+40*Y1):POKE49152+E+S+40*Y1,38
  178. 3160 FORT=0TO100:NEXT:POKE49152+E+S+40*Y1,PO:E=0
  179. 3165 RETURN
  180. 3170 PO=PEEK(49152+X1+40*E+40):POKE49152+X1+40*E+40,38
  181. 3180 FORT=0TO100:NEXT:POKE49152+X1+40*E+40,PO:E=0:RETURN
  182. 3197 REM ^^^^^^^^^^^^^^^^^^^^^^^^^^
  183. 3198 REM ^ KOLLISION HUBSCHRAUBER ^
  184. 3199 REM ^^^^^^^^^^^^^^^^^^^^^^^^^^
  185. 3200 GOSUB60200:POKESI+18,0:POKEV+2,0:X2=0:Y2=INT(RND(1)*50)+90:HB=HB-1
  186. 3201 POKEV+3,Y2:O=PEEK(V+31):JS=PEEK(V+30)
  187. 3202 FORT=0TO100:P=INT(RND(1)*15):POKEV+39,P:NEXT:POKEV+39,3
  188. 3203 IFHB<=0THENPOKEV+21,0:PRINT"G A M E  O V E R":GOTO8000
  189. 3210 X=250:Y=94:POKEV,X:POKEV+1,Y:O=PEEK(V+31):GOSUB60300:GOTO1009
  190. 3300 X1=INT(X/8-4):Y1=INT(Y/8-5)
  191. 3310 FORE=X1TO0STEP-1:GOSUB61400
  192. 3315 Y1=Y1+.5
  193. 3316 IFY1>=24THENY1=24:RETURN
  194. 3319 PO=PEEK(49152+E+40*INT(Y1))
  195. 3320 POKE49152+E+40*INT(Y1),67
  196. 3321 POKE49152+E+40*INT(Y1),PO
  197. 3330 IFPEEK(49152+E-1+40*INT(Y1))<>32THENS=-1:GOTO3100
  198. 3340 NEXTE:RETURN
  199. 3400 X1=INT(X/8+4):Y1=INT(Y/8-5)
  200. 3410 FORE=X1TO39STEP1:GOSUB61400
  201. 3415 Y1=Y1+.5
  202. 3416 IFY1>=24THENY1=24:RETURN
  203. 3419 PO=PEEK(49152+E+40*INT(Y1))
  204. 3420 POKE49152+E+40*INT(Y1),69
  205. 3421 POKE49152+E+40*INT(Y1),PO
  206. 3430 IFPEEK(49152+E+1+40*INT(Y1))<>32THENS=1:GOTO3100
  207. 3440 NEXTE:RETURN
  208. 3997 REM ________________________
  209. 3998 REM _ BILD TANKEN AUFBAUEN _
  210. 3999 REM ________________________
  211. 4000 GOSUB60500:X2=0:Y2=90:POKEV+2,X2:POKEV+3,Y2
  212. 4001 X=250:Y=94:BI=1
  213. 4002 TR=49152:C=40:GOSUB4530
  214. 4009 REM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  215. 4010 REM ^ BILDSCHIRMABFRAGE TANKEN ^
  216. 4011 REM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  217. 4500 IFBI=0THEN4000
  218. 4501 IFB9=0THEN:IFEN>30ANDHU<5THENB9=1:POKEV+21,3:GOSUB61570:X3=20
  219. 4502 ONB9GOSUB61300
  220. 4503 IFY<=175ANDKL=0THENRETURN
  221. 4504 IFX>140ANDX<175ANDKL=0THENKL=1:GOSUB4511:IFLD=1THENGOTO62000
  222. 4505 PU=.05:IFY>214ANDKL=1THENH=160:OT=1:AB=AC:PU=-1:GOSUB60800
  223. 4506 IFY>218ANDKL=1THENY=Y-AB-1
  224. 4507 IFY<=170ANDKL=1THENKL=0:GOSUB4530:RETURN
  225. 4508 IFY>214ANDKL=1ANDEN>=35THENEN=35:H=32:POKESI+18,0
  226. 4509 IFY<=214ANDKL=1THENPOKESI+18,0
  227. 4510 RETURN
  228. 4511 FORT=18TO23
  229. 4512 FORI=15TO24
  230. 4515 POKETR+I+40*T,32
  231. 4520 NEXT:NEXT
  232. 4521 PRINT""
  233. 4522 PRINT"          >#### [185][185][185][185][185][185][185][185] ####?
  234. 4523 [153]"$$$$$$$$$$#####  ABSINT  ABSINT  #####$$$$$$$$$CONT
  235. 4529 RETURN
  236. 4530 PRINT""
  237. 4531 PRINT"               %%%%%%%%%%
  238. 4532 [153]"              >###/012###?
  239. 4533 PRINT"             >#''''''''''#?
  240. 4534 [153]"            >##''''''''''##?
  241. 4536 PRINT"           >###''''''''''###?
  242. 4537 [153]"          >####''''''''''####?
  243. 4538 PRINT"$$$$$$$$$$#####''''''''''#####$$$$$$$$$[154]
  244. 4560 KL[178]0:[142]
  245. 4997 [143] ________________________
  246. 4998 [143] _ BILD TUNNEL AUFBAUEN _
  247. 4999 [143] ________________________
  248. 5000 [139]BI[178]0[167]H[178]32:[137]5010
  249. 5005 [137]5300
  250. 5010 [141]60500:TI$[178]"000000"
  251. 5011 X[178]250:Y[178]94:BI[178]1:PX[178]45:PY[178]46
  252. 5019 [153]""
  253. 5020 [153]"    >6677656756567756765667878776767657
  254. 5030 FORT=0TO3:PRINT"    ()":NEXT
  255. 5035 PRINT"    ()        6786876887678768676787867
  256. 5040 [129]T[178]0[164]2:[153]"    ()                           ++":[130]
  257. 5045 [153]" (67867887876767676668787        ++
  258. 5050 PRINT" (9:[158])))))))))))))))))9;9:        ++"
  259. 5085 PRINT" (          [156]333        3         ++
  260. 5090 [153]" (           CLR3         3         ++
  261. 5095 PRINT" (                     [156]3         ++
  262. 5096 [153]" (         CLR33333       CLR3         ++
  263. 5100 PRINT" 788[159]333333388878787878787        ++
  264. 5110 [153]" ;:9OPEN3333333;:9:9:;9:9:;9:        ++
  265. 5120 PRINT"            [154]   [206][205]                ++
  266. 5125 [153]"            CONT  (null)  (null)               ++
  267. 5130 PRINT"            [154] [206]    [205]              ++
  268. 5135 [153]"$$$$$$$$$$$$CONT#$$$$$$CONT#$$$$$$$$$$$$$++CONT
  269. 5297 REM ++++++++++++++++++++++++++++
  270. 5298 REM + BILDSCHIRMABFRAGE TUNNEL +
  271. 5299 REM ++++++++++++++++++++++++++++
  272. 5300 POKETR+Q+C*17,PX
  273. 5320 POKETR+Q+C*17,PY:IFY<170THENRETURN
  274. 5340 GE=INT(RND(1)*15):IFGE>10THENGOSUB60000
  275. 5345 IFX<140ANDX>120ANDY>174ANDY<178THENPX=32:PY=32:GOSUB61100:GOSUB61200
  276. 5350 IFTI$>"000005"THENGOSUB60070
  277. 5407 IFY<=214THENPOKESI+18,0
  278. 5410 RETURN
  279. 5497 REM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  280. 5498 REM ^ BILDSCHIRM PANZER AUFBAUEN ^
  281. 5499 REM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  282. 5500 IFBI=0THENH=32:GOTO5510
  283. 5505 GOTO5700
  284. 5510 GOSUB60500
  285. 5520 X=250:Y=94:BI=1:B5=-2:POKEV+5,223:POKEV+7,223:X5=50:X6=120:POKEV+21,13
  286. 5521 POKEV+4,X5:POKEV+6,X6:GOSUB5800
  287. 5530 PRINT"":B6=2:Y7=20:G9=1
  288. 5540 PRINT"7678787878787868|[255][255][255]N[255]J[255]N[255]J[255]N[255]J[255]N[255]J[255]N[255]J[128][228][255][255][255]
  289. 5555 [153]"+)        +       (+OPEN3333333337786876787"
  290. 5560 [129]T[178]0[164]3:[153]"OPEN 3        +       (+OPEN333333333+)":[130]
  291. 5565 [129]T[178]0[164]5:[153]"+)        +       OPEN333  333333+)":[130]
  292. 5570 [129]T[178]0[164]2:[153]"                  (+OPEN333333333+)":[130]
  293. 5575 [153]"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$CONT"
  294. 5697 [143] ++++++++++++++++++++++++++++
  295. 5698 [143] + BILDSCHIRMABFRAGE PANZER +
  296. 5699 [143] ++++++++++++++++++++++++++++
  297. 5700 [139]X[177]168[167][142]
  298. 5710 [139]X5[177]138[167]B5[178]3:[151]50170,24
  299. 5715 [139]X5[179]30[167]B5[178][171]2:[151]50170,23
  300. 5720 [139]X6[177]138[167]B6[178]2:[151]50171,24
  301. 5730 [139]X6[179]30[167]B6[178][171]3:[151]50171,23
  302. 5740 X5[178]X5[171]B5:X6[178]X6[171]B6
  303. 5750 [151]V[170]4,X5:[151]V[170]6,X6
  304. 5755 JS[178][194](V[170]30):[139]JS[178]5[176]JS[178]9[176]JS[178]13[167]3200
  305. 5765 [145]G9[141]5820,5900
  306. 5770 [142]
  307. 5800 X7[178][181](X5[173]8[171]1):Y7[178]21
  308. 5810 [142]
  309. 5811 X8[178][181](X6[173]8[171]1):Y8[178]21
  310. 5815 [142]
  311. 5820 Y7[178]Y7[171]1
  312. 5835 PO[178][194](49152[170]X7[170]40[172]Y7[171]40)
  313. 5840 [151]49152[170]X7[170]40[172]Y7,90
  314. 5850 [139]PO[179][177]32[167][151]49152[170]X7[170]40[172]Y7[171]40,PO:[151]49152[170]X7[170]40[172]Y7,32:G9[178]2:[141]5811
  315. 5860 [151]49152[170]X7[170]40[172]Y7,32
  316. 5870 [142]
  317. 5900 Y8[178]Y8[171]1
  318. 5920 PO[178][194](49152[170]X8[170]40[172]Y8[171]40)
  319. 5930 [151]49152[170]X8[170]40[172]Y8,90
  320. 5940 [139]PO[179][177]32[167][151]49152[170]X8[170]40[172]Y8[171]40,PO:[151]49152[170]X8[170]40[172]Y8,32:G9[178]1:[141]5800
  321. 5950 [151]49152[170]X8[170]40[172]Y8,32
  322. 5960 [142]
  323. 5997 [143] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  324. 5998 [143] ^ BILDSCHIRM SPINNE AUFBAUEN ^
  325. 5999 [143] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  326. 6000 [139]BI[178]0[167]H[178]32:[137]6020
  327. 6010 [137]6300
  328. 6020 [141]60500:TI$[178]"000000":V[178]53248:[151]50172,25:[151]V[170]8,50:[151]V[170]9,157
  329. 6030 X[178]250:Y[178]110:BI[178]1:[151]V[170]23,16:[151]V[170]29,19:[151]V[170]21,17
  330. 6040 [151]V,X:[151]V[170]1,Y:O[178][194](V[170]31)
  331. 6050 [153]""
  332. 6060 [153]"            678787867868786876878677867
  333. 6070 PRINT"            +;9:;9:9;9;9:9;+9:;:;[193];9:;9
  334. 6080 [129]T[178]0[164]1:[153]"            +)            (+":[130]
  335. 6090 [129]T[178]0[164]2:[153]"            +)               ":[130]
  336. 6100 [153]" 76768787868+
  337. 6110 PRINT"(+++++++++++               +) ^ACHTUNG^
  338. 6120 [153]"(++       ++)             (+)
  339. 6130 PRINT"(++       ++               +)
  340. 6140 [153]"(+        OPEN333              +)
  341. 6150 PRINT"(+        [159]333              +)
  342. 6160 [153]"(++       ++               +)
  343. 6170 PRINT"(++       ++)             (+)
  344. 6180 [153]"(+++++++++++7              +)
  345. 6190 PRINT" ::;9:;:9;9:+              +)
  346. 6200 [153]"            +)    CLR+(       +)
  347. 6210 PRINT"            +)    [156]+([175][175][175][175][175][175][175][156]+)
  348. 6220 [153]"            +)    CLR+(  OPEN/012 CLR+)
  349. 6230 PRINT"$$$$$$$$$$$$+$$$$$[156]+$$$$$$$$[156]+$$$$$$$$$$[154]"
  350. 6297 REM ++++++++++++++++++++++++++++
  351. 6298 REM + BILDSCHIRMABFRAGE SPINNE +
  352. 6299 REM ++++++++++++++++++++++++++++
  353. 6300 IFTI$>"000007"THENGOSUB6400
  354. 6305 IFTI$>"000010"THENGOSUB6420
  355. 6310 PU=.05:IFY>206ANDX>180ANDX<190THENGOSUB6440
  356. 6320 IFY<=206THENPOKESI+18,0
  357. 6325 O=PEEK(V+31):IFO=16THENGOSUB6550
  358. 6399 RETURN
  359. 6400 PRINT"[198][198][198][198][198][198][198][198][198][198][198][198][198][154]"
  360. 6405 O=PEEK(V+31):IFO=1THEN3200
  361. 6410 PRINT"             "
  362. 6415 RETURN
  363. 6420 PRINT"[198][198][198][198][198][198][198][198][198][198][198][198][198][154]"
  364. 6425 O=PEEK(V+31):IFO=1THEN3200
  365. 6430 PRINT"             "
  366. 6435 TI$="000000":RETURN
  367. 6440 IFHA=1THENRETURN
  368. 6441 PU=.05:OT=1:H=160:PU=-1:GOSUB60800:IFEN>35THENEN=35:HA=1:H=32:PU=.05:OT=1
  369. 6450 IFY>209THENY=Y-AB-1
  370. 6460 RETURN
  371. 6550 FORT=0TO180:POKE53280,T:POKE53281,T:GOSUB60700:NEXT:POKE53280,0
  372. 6552 POKE53281,0:LD=1:SC=SC+1000:GOSUB61200
  373. 6560 POKEV+21,1:RETURN
  374. 6697 REM ++++++++++++++++++
  375. 6698 REM + PUNKTE WERTUNG +
  376. 6699 REM ++++++++++++++++++
  377. 8000 FORT=0TO1500:NEXT:PRINT"[147]NOCH EINMAL [J] "
  378. 8002 PRINT"SCORE ";SC
  379. 8003 IFSC>ASTHENAS=SC
  380. 8004 PRINT"HIGHSCORE ";AS
  381. 8010 POKE198,0:WAIT198,1:GETA$:IFA$="J"THEN9000
  382. 8015 POKE648,4:SYS65126
  383. 8020 PRINT"[147] DANKE!!! GOOD BYE !!!!!!!!!":END
  384. 9000 BI=0:B9=0:EN=0:HU=0:PU=0:AB=0:KL=0:H=0:PX=0:PY=0:GE=0:PO=0:G9=0
  385. 9010 B=0:HA=0:LD=0:SC=0:AC=0:POKEV+23,0:POKEV+29,0:GOTO998
  386. 10000 REM ^^^^^^^^^^^^^^^^^^^^^^^^^
  387. 10001 REM ^ ANFANGSSPRITE BEWEGEN ^
  388. 10002 REM ^^^^^^^^^^^^^^^^^^^^^^^^^
  389. 50000 POKEV,X:POKEV+1,Y
  390. 50010 X1=INT(X/8-4):Y1=INT(Y/8-5)
  391. 50020 FORE=X1TO0STEP-1
  392. 50030 POKE49152+E+40*Y1,66:POKE49152+E+40*Y1,32
  393. 50040 IFPEEK(49152+E-1+40*Y1)<>32THENPOKE49152+E-1+40*Y1,38:GOTO50070
  394. 50050 NEXTE:RETURN
  395. 50070 FORT=0TO100:NEXT:POKE49152+E-1+40*Y1,32:X=X-3:E=0:GOTO50000
  396. 60000 POKETR+Q+C*17,32:Q=Q-INT(RND(1)*3):Q=Q+INT(RND(1)*3)
  397. 60010 IFQ<11THENQ=11
  398. 60020 IFQ>14THENQ=14
  399. 60060 RETURN
  400. 60070 OT=OT*-1:TI$="000000"
  401. 60075 PRINT""
  402. 60080 IFOT=-1THENFORT=0TO2:PRINT"      ":NEXT:RETURN
  403. 60085 PRINT"[154]  [206][205]  "
  404. 60086 PRINT" [206][160][160][205] "
  405. 60087 PRINT"[206]    [205][154]"
  406. 60090 RETURN
  407. 60099 REM GERAEUSCHE
  408. 60100 SI=54272:POKESI+7,200:POKESI+8,0:POKESI+9,0:POKESI+10,3:POKESI+11,0
  409. 60110 POKESI+12,0:POKESI+13,15*16+15:POKESI+21,0:POKESI+22,150:POKESI+23,243
  410. 60120 POKESI+24,31:POKESI+11,65
  411. 60130 RETURN
  412. 60200 POKESI+11,0
  413. 60201 POKESI+1,5:POKESI+4,0:POKESI+5,11:POKESI+6,0
  414. 60202 POKESI+4,131
  415. 60210 RETURN
  416. 60300 IFEN<=1THENEN=15:IFB>1THENEN=35
  417. 60301 PRINT"                                    [154]"
  418. 60302 PRINT"LEBEN "HB
  419. 60303 PRINT"[158]ENERGY[154]":FORT=0TOEN:POKE49152+T+40*3,160:NEXT
  420. 60304 PRINT"               "
  421. 60310 X=250:Y=94:AB=AC:H=32:GOSUB61200
  422. 60315 IFB=4THENY=110
  423. 60320 RETURN
  424. 60500 PRINT"[147]                                    [154]"
  425. 60501 PRINT"[158]ENERGY[154]"
  426. 60502 FORT=0TOEN:POKE49152+T+40*3,160:NEXT:GOSUB61200
  427. 60550 RETURN
  428. 60700 SI=54272:POKESI+4,0:POKESI+1,10:POKESI+5,12:POKESI+6,0:POKESI+4,131
  429. 60710 RETURN
  430. 60720 SI=54272:POKESI+4,0:POKESI+1,20:POKESI+5,12:POKESI+6,0:POKESI+4,131
  431. 60730 RETURN
  432. 60800 SI=54272:POKESI+18,0:POKESI+19,0:POKESI+20,15*16
  433. 60810 POKESI+14,200:POKESI+15,39:POKESI+18,17
  434. 60820 RETURN
  435. 60900 SI=54272:POKESI+18,0:POKESI+19,0:POKESI+20,15*16+2
  436. 60910 POKESI+14,200:POKESI+15,59:POKESI+18,17
  437. 60920 RETURN
  438. 61000 OT=OT*-1:IFOT=-1THENPRINT"               ":RETURN
  439. 61001 PRINT"[159]LOW ON FUEL[154]"
  440. 61002 RETURN
  441. 61100 SC=SC+100:PRINT"+[157]+[157]+[157]+[154]"
  442. 61120 RETURN
  443. 61200 PRINT"SCORE ";SC;"[146][154]"
  444. 61210 RETURN
  445. 61297 REM +++++++++++++++++++++++++++++
  446. 61298 REM + FEINDHUBSCHRAUBER BEWEGEN +
  447. 61299 REM +++++++++++++++++++++++++++++
  448. 61300 IFX>X2THENB2=+5:M4=22
  449. 61310 IFX<X2THENB2=-5:M4=21
  450. 61320 IFY>Y2THENC2=+3
  451. 61330 IFY<Y2THENC2=-3
  452. 61335 X2=X2+B2:Y2=Y2+C2
  453. 61340 POKEV+2,X2:POKEV+3,Y2
  454. 61341 O=PEEK(V+31)
  455. 61342 JS=PEEK(V+30)
  456. 61350 IFJS=3THEN3200
  457. 61351 IFO=2THEN61500
  458. 61352 JS=PEEK(V+30)
  459. 61353 IFHU>3THENGOSUB61530
  460. 61354 O=PEEK(V+31)
  461. 61355 POKE50169,M4
  462. 61360 RETURN
  463. 61400 IFB=3THEN61430
  464. 61401 IFB=4THEN61470
  465. 61402 IFHU>4THENRETURN
  466. 61410 O=PEEK(V+31):IFO=2THEN61500
  467. 61420 RETURN
  468. 61430 O=PEEK(V+31):IFO=12THENGOSUB61450:POKEV+21,1:SC=SC+200:GOSUB61200:G9=0
  469. 61440 RETURN
  470. 61450 GOSUB60720:FORT=0TO100:POKEV+38,T:NEXT:RETURN
  471. 61470 O=PEEK(V+31):IFO=16THEN:GOSUB6550
  472. 61480 RETURN
  473. 61500 HU=HU+1:SC=SC+100:GOSUB61200
  474. 61501 GOSUB60700
  475. 61502 FORT=0TO100:POKEV+40,T:NEXT:X2=0:POKEV+2,X2:Y2=INT(RND(1)*50)+90
  476. 61503 POKEV+3,Y2
  477. 61504 IFHU>4THENPOKEV+21,1:B9=0
  478. 61510 E=0:RETURN
  479. 61530 X3=X3+1
  480. 61535 IFX3>X/8THENGOSUB61570
  481. 61536 IFX3>39THENGOSUB61570
  482. 61540 POKE49152+X3+40*INT(Y3),68
  483. 61545 O=PEEK(V+31):IFO=1THENPOKE49152+X3+40*INT(Y3),32:GOTO3200
  484. 61550 POKE49152+X3+40*INT(Y3),32
  485. 61560 RETURN
  486. 61570 X3=INT(X2/8+4):Y3=INT(Y2/8-5)
  487. 61580 RETURN
  488. 61997 REM _________
  489. 61998 REM _ MUSIK _
  490. 61999 REM _________
  491. 62000 FORI=54272TO54296:POKEI,0:NEXT:POKE54296,15:POKE54275,3
  492. 62110 H1=54272:H2=H1+1:AD=54277:SR=AD+1:DR=AD-1:W1=64:W2=32
  493. 62120 POKEAD,72:POKESR,122:POKEAD+7,43:POKESR+7,187:GOTO62250
  494. 62130 DIMF$(18),FL(18),FH(18):FORI=0TO18
  495. 62140 READF$(I),F:FH(I)=INT(F/256):FL(I)=F-FH(I)*256:NEXT
  496. 62150 DIMN1$(200),D1(200),N2$(200),D2(200):I=0
  497. 62160 READN1$(I),D1(I):IFD1(I)>0THENI=I+1:GOTO62160
  498. 62170 I=0
  499. 62180 READN2$(I),D2(I):IFD2(I)>0THENI=I+1:GOTO62180
  500. 62200 DIML1(200),H1(200),L2(200),H2(200):I=0
  501. 62210 FORJ=0TO18
  502. 62220 IFF$(J)=N1$(I)THENL1(I)=FL(J):H1(I)=FH(J)
  503. 62230 IFF$(J)=N2$(I)THENL2(I)=FL(J):H2(I)=FH(J)
  504. 62240 NEXT:I=I+1:IFN1$(I)<>""THEN62210
  505. 62245 RETURN
  506. 62250 SP=VAL("2")
  507. 62260 IFSP<1ORSP>4THEN62250
  508. 62270 S1=0:S2=0:C1=0:C2=0:POKEH1,L1(S1):POKEH2,H1(S1)
  509. 62280 POKEH1+7,L2(S2):POKEH2+7,H2(S2):POKEDR,W1OR1:POKEDR+7,W2OR1
  510. 62290 C1=C1+1:IFC1>(D1(S1)*SP/2)THENPOKEDR,W1
  511. 62300 IFC1<(D1(S1)*SP)THEN62320
  512. 62310 C1=0:S1=S1+1:POKEDR,W1OR1:POKEH1,L1(S1):POKEH2,H1(S1)
  513. 62320 C2=C2+1:IFC2>(D2(S2)*SP/2)THENPOKEDR+7,W2
  514. 62330 IFC2<(D2(S2)*SP)THEN62350
  515. 62340 C2=0:S2=S2+1:POKEDR+7,W2OR1:POKEH1+7,L2(S2):POKEH2+7,H2(S2)
  516. 62350 IFD1(S1)>0THEN62290
  517. 62360 POKEV+21,0:GOTO8000
  518. 62370 DATAD3,2408,E3,2703,F#3,3034,G3,3215
  519. 62380 DATAA3,3608,H3,4050,C#4,4547,D4,4817
  520. 62390 DATAE4,5407,F#4,6069,G4,6403,A4,7217
  521. 62400 DATAH4,8101,C#5,9094,D5,9634,E5,10814
  522. 62410 DATAF#5,12139,G5,12860,A5,14435
  523. 62420 REM  1.STIMME
  524. 62430 DATAD5,3,D5,1,D5,1,E5,1,D5,1,C#5,1,H4,4,H4,4,C#5,1,C#5,1
  525. 62440 DATAD5,1,E5,3,D5,1,E5,1,F#5,2,F#5,2,E5,1,A4,3
  526. 62450 DATAD5,3,D5,1,D5,1,E5,1,D5,1,C#5,1,H4,4,H4,4,C#5,1,C#5,1
  527. 62460 DATAD5,1,E5,3,D5,1,E5,1,F#5,2,F#5,2,E5,1,A4,3
  528. 62470 DATAF#5,2,A5,2,G5,2,F#5,1,D5,1,E5,1,F#5,2,E5,5
  529. 62480 DATAF#5,3,E5,1,D5,2,D5,1,H4,1,E5,1,F#5,2,E5,3,D5,1,E5,1
  530. 62490 DATAF#5,2,A5,2,G5,2,F#5,1,D5,1,E5,1,C#5,1,H4,1,A4,5
  531. 62500 DATAD5,3,C#5,1,H4,1,C#5,1,D5,2,E5,10
  532. 62510 DATAF#5,2,E5,6,F#5,2,E5,2,D5,1,E5,1,F#5,2,A5,2,G5,2,F#5,1,D5,3,F#5,2,E5,6
  533. 62520 DATAF#5,2,E5,6,F#5,2,E5,2,D5,1,E5,1,F#5,2,A5,2,G5,2,F#5,1,D5,1
  534. 62530 DATAE5,1,C#5,1,H4,1,A4,3,H4,1,C#5,1
  535. 62540 DATAD5,3,D5,1,D5,1,E5,1,D5,1,C#5,1,H4,4,H4,4,C#5,1,C#5,1
  536. 62550 DATAD5,1,E5,3,D5,1,E5,1,F#5,2,F#5,2,E5,1,A4,3
  537. 62560 DATAD5,3,D5,1,D5,1,E5,1,D5,1,C#5,1,H4,4,H4,4,C#5,1,C#5,1
  538. 62570 DATAD5,1,E5,3,D5,1,E5,1,F#5,2,F#5,2,E5,1,D5,7
  539. 62580 DATA,-1
  540. 62590 REM  2.STIMME
  541. 62600 DATAD3,4,D3,4,G3,4,H3,2,D3,2,A3,4,A3,4,D3,4,A3,2,E4,1,A3,1
  542. 62610 DATAD3,4,D3,4,G3,4,H3,2,D3,2,A3,4,A3,4,D3,4,A3,2,E4,1,A3,1
  543. 62620 DATAD3,4,D3,4,A3,4,A3,4,H3,4,G3,4,A3,4,A3,4
  544. 62630 DATAD3,4,D3,4,A3,4,A3,4,H3,4,G3,4,A3,4,A3,3
  545. 62640 DATAA3,1,A3,7,A3,1,A3,8,D3,4,D3,4,A3,4,A3,3
  546. 62650 DATAA3,1,A3,7,A3,1,A3,8,D3,4,D3,4,A3,4,A3,4
  547. 62660 DATAD3,4,D3,4,G3,4,H3,2,D3,2,A3,4,A3,4,D3,4,A3,2,E4,1,A3,1
  548. 62670 DATAD3,4,D3,4,G3,4,H3,2,D3,2,A3,4,A3,4,D3,4,D3,8
  549. 62680 DATA,-1
  550. 62997 REM +++++++++++++++
  551. 62998 REM + GRAVITATION +
  552. 62999 REM +++++++++++++++
  553. 63000 PRINTCHR$(142):POKEV+21,0
  554. 63001 PRINT"[147]GRAVITATION  [ 1 [198] 3 ]"
  555. 63010 POKE198,0:WAIT198,1:GETA$:IFA$="1"THENAC=.1
  556. 63020 IFA$="2"THENAC=.5
  557. 63030 IFA$="3"THENAC=1
  558. 63040 IFA$<"1"ORA$>"3"THEN63010
  559. 63050 RETURN
  560.