copper_list.s 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  1. SOUND_DMA EQU $f
  2. SPRITE_DMA EQU $20
  3. DISK_DMA EQU $10
  4. BLITTER_PRI EQU $400
  5. EIGHT_PLANES EQU $0010
  6. TWO_PLANES EQU $2000
  7. FOUR_PLANES EQU $4000
  8. DUAL_PLAYFIELD EQU $0400
  9. amiga1200 equ 1
  10. WAIT_POS EQU 0
  11. SPRITE1B EQU 4
  12. SPRITE1A EQU 8
  13. SPRITE2B EQU 12
  14. SPRITE2A EQU 16
  15. SPRITE3B EQU 20
  16. SPRITE3A EQU 24
  17. SPRITE4B EQU 28
  18. SPRITE4A EQU 32
  19. CONTROL_HIGH EQU 36
  20. HIGHCOL EQU 40
  21. CONTROL_LOW EQU 44
  22. LOWCOL EQU 48
  23. SIZE_COP EQU LOWCOL+4
  24. Level_Select_Copper_List
  25. dc.w $120
  26. select_sprite0h
  27. dc.w 0
  28. dc.w $122
  29. select_sprite0l
  30. dc.w 0
  31. blank_sprites
  32. dc.w $124,0
  33. dc.w $126,0
  34. dc.w $128,0
  35. dc.w $12a,0
  36. dc.w $12c,0
  37. dc.w $12e,0
  38. dc.w $130,0
  39. dc.w $132,0
  40. dc.w $134,0
  41. dc.w $136,0
  42. dc.w $138,0
  43. dc.w $13A,0
  44. dc.w $13C,0
  45. dc.w $13E,0
  46. dc.w $106,$000
  47. level_select_colours_high
  48. dc.w $180,$fff
  49. dc.w $182,$f0f
  50. dc.w $184,$ff0
  51. dc.w $186,$0ff
  52. dc.w $188,$0
  53. dc.w $18a,$0
  54. dc.w $18c,$0
  55. dc.w $18e,$0
  56. dc.w $190,$0
  57. dc.w $192,$0
  58. dc.w $194,$0
  59. dc.w $196,$0
  60. dc.w $198,$0
  61. dc.w $19a,$0
  62. dc.w $19c,$0
  63. dc.w $19e,$0
  64. dc.w $106,$0200
  65. level_select_colours_low
  66. dc.w $180,$0
  67. dc.w $182,$0
  68. dc.w $184,$0
  69. dc.w $186,$0
  70. dc.w $188,$0
  71. dc.w $18a,$0
  72. dc.w $18c,$0
  73. dc.w $18e,$0
  74. dc.w $190,$0
  75. dc.w $192,$0
  76. dc.w $194,$0
  77. dc.w $196,$0
  78. dc.w $198,$0
  79. dc.w $19a,$0
  80. dc.w $19c,$0
  81. dc.w $19e,$0
  82. dc.w $106,0
  83. dc.w $1fc
  84. dc.w $0
  85. dc.w $10c
  86. dc.w $11
  87. dc.w BPLCON2
  88. dc.w %100100
  89. dc.w DIWSTRT
  90. dc.w $2c81
  91. dc.w DIWSTOP
  92. dc.w $2cc1
  93. dc.w DDFSTRT,$0038
  94. dc.w DDFSTOP,$00d0
  95. ; main_planes
  96. dc.w BPLCON0,FOUR_PLANES
  97. dc.w BPL2MOD,-0
  98. dc.w BPL1MOD,-0
  99. dc.w BPLCON1
  100. dc.w 0
  101. dc.w DMACON,$8000+BLITTER_PRI+SPRITE_DMA ;dma on
  102. dc.w $E0
  103. SELECTPLANE1HIGH
  104. dc.w 0
  105. dc.w $E2
  106. SELECTPLANE1LOW
  107. dc.w 0
  108. dc.w $E4
  109. SELECTPLANE2HIGH
  110. dc.w 0
  111. dc.w $E6
  112. SELECTPLANE2LOW
  113. dc.w 0
  114. dc.w $e8
  115. SELECTPLANE3HIGH
  116. dc.w 0
  117. dc.w $Ea
  118. SELECTPLANE3LOW
  119. dc.w 0
  120. dc.w $ec
  121. SELECTPLANE4HIGH
  122. dc.w 0
  123. dc.w $ee
  124. SELECTPLANE4LOW
  125. dc.w 0
  126. dc.w $1e4
  127. dc.w $2100
  128. dc.w intreq,$8010
  129. dc.w $106,$1000
  130. dc.w $fffd,$fffe
  131. dc.w $1fe,0
  132. dc.w $1fe,0
  133. dc.w $1fe,0
  134. dc.w $1fe,0
  135. dc.w $1fe,0
  136. dc.w $1fe,0
  137. dc.w $1fe,0
  138. dc.w $1fe,0
  139. dc.w $1fe,0
  140. dc.w $1fe,0
  141. dc.w $1fe,0
  142. dc.w $1fe,0
  143. dc.w $1fe,0
  144. dc.w $1fe,0
  145. dc.w $1fe,0
  146. dc.w $1fe,0
  147. dc.w $1fe,0
  148. dc.w $1fe,0
  149. dc.w $1fe,0
  150. dc.w $1fe,0
  151. dc.w $1fe,0
  152. dc.w $1fe,0
  153. dc.w $1fe,0
  154. dc.w $1fe,0
  155. dc.w $1fe,0
  156. dc.w $1fe,0
  157. dc.w $1fe,0
  158. dc.w $1fe,0
  159. dc.w $ff01,$fffe
  160. dc.w $1fe,0
  161. dc.w $1fe,0
  162. dc.w $1fe,0
  163. dc.w $1fe,0
  164. dc.w $1fe,0
  165. dc.w $1fe,0
  166. dc.w $1fe,0
  167. dc.w $1fe,0
  168. dc.w $1fe,0
  169. dc.w $1fe,0
  170. dc.w $1fe,0
  171. dc.w $1fe,0
  172. dc.w $1fe,0
  173. dc.w $1fe,0
  174. dc.w $1fe,0
  175. dc.w $1fe,0
  176. dc.w $1fe,0
  177. dc.w $1fe,0
  178. dc.w $1fe,0
  179. dc.w $1fe,0
  180. dc.w $1fe,0
  181. dc.w $1fe,0
  182. dc.w $1fe,0
  183. dc.w $1fe,0
  184. dc.w $1fe,0
  185. dc.w $1fe,0
  186. dc.w $1fe,0
  187. dc.w $1fe,0
  188. dc.w $1fe,0
  189. dc.w $1fe,0
  190. dc.w $1fe,0
  191. dc.w $1fe,0
  192. dc.w $1fe,0
  193. dc.w $1fe,0
  194. dc.w $1fe,0
  195. dc.w $2c01,$fffe
  196. ************************************************************
  197. **** C O P P E R L I S T ****
  198. ************************************************************
  199. Copper_List
  200. dc.w $140
  201. SPR0POS dc.w 0
  202. dc.w $148
  203. SPR1POS dc.w 0
  204. dc.w $150
  205. SPR2POS dc.w 0
  206. dc.w $158
  207. SPR3POS dc.w 0
  208. dc.w $142
  209. SPR0CTL
  210. dc.w 1<<ATTACH
  211. dc.w $14a
  212. SPR1CTL
  213. dc.w 1<<ATTACH
  214. dc.w $152
  215. SPR2CTL
  216. dc.w 1<ATTACH
  217. dc.w $15a
  218. SPR3CTL
  219. dc.w 1<<ATTACH
  220. dc.w $1fc
  221. dc.w $3
  222. dc.w $10c
  223. dc.w $1014
  224. dc.w BPLCON2
  225. dc.w %100100
  226. dc.w DIWSTRT
  227. dc.w $2c81
  228. dc.w DIWSTOP
  229. dc.w $3ac1
  230. dc.w DDFSTRT,$0018
  231. dc.w DDFSTOP,$00d8
  232. main_planes
  233. dc.w BPLCON0,EIGHT_PLANES+DUAL_PLAYFIELD
  234. dc.w BPL2MOD,8
  235. dc.w BPL1MOD,8
  236. dc.w BPLCON1
  237. dc.w 0
  238. dc.w DMACON,$8000+BLITTER_PRI ;dma on
  239. dc.w DMACON,SPRITE_DMA ;dma off
  240. dc.w $E0
  241. PANELPLANE1HIGH
  242. dc.w 0
  243. dc.w $E2
  244. PANELPLANE1LOW
  245. dc.w 0
  246. dc.w $E8
  247. PANELPLANE2HIGH
  248. dc.w 0
  249. dc.w $Ea
  250. PANELPLANE2LOW
  251. dc.w 0
  252. dc.w $f0
  253. PANELPLANE3HIGH
  254. dc.w 0
  255. dc.w $f2
  256. PANELPLANE3LOW
  257. dc.w 0
  258. DC.W $f8
  259. PANELPLANE4HIGH DC.W 0
  260. DC.W $fa
  261. PANELPLANE4LOW DC.W 0
  262. dc.w $E4
  263. PANELPLANE5HIGH
  264. dc.w 0
  265. dc.w $E6
  266. PANELPLANE5LOW
  267. dc.w 0
  268. dc.w $Ec
  269. PANELPLANE6HIGH
  270. dc.w 0
  271. dc.w $Ee
  272. PANELPLANE6LOW
  273. dc.w 0
  274. dc.w $f4
  275. PANELPLANE7HIGH
  276. dc.w 0
  277. dc.w $f6
  278. PANELPLANE7LOW
  279. dc.w 0
  280. DC.W $fc
  281. PANELPLANE8HIGH DC.W 0
  282. DC.W $fe
  283. PANELPLANE8LOW DC.W 0
  284. dc.w $106,$0
  285. panel_backcol
  286. dc.w $1a0,$08f
  287. panel_copper_cols
  288. ds.w 14*4
  289. dc.w $1e4
  290. dc.w $2000
  291. dc.w $3a01,$fffe
  292. dc.w DIWSTRT
  293. dc.w $3c81
  294. dc.w DIWSTOP
  295. dc.w $2cc1
  296. dc.w intreq,$8010
  297. dc.w $E0
  298. PLANE1HIGH
  299. dc.w 0
  300. dc.w $E2
  301. PLANE1LOW
  302. dc.w 0
  303. dc.w $E8
  304. PLANE2HIGH
  305. dc.w 0
  306. dc.w $Ea
  307. PLANE2LOW
  308. dc.w 0
  309. dc.w $f0
  310. PLANE3HIGH
  311. dc.w 0
  312. dc.w $f2
  313. PLANE3LOW
  314. dc.w 0
  315. DC.W $f8
  316. PLANE4HIGH DC.W 0
  317. DC.W $fa
  318. PLANE4LOW DC.W 0
  319. dc.w $E4
  320. PLANE5HIGH
  321. dc.w 0
  322. dc.w $E6
  323. PLANE5LOW
  324. dc.w 0
  325. dc.w $Ec
  326. PLANE6HIGH
  327. dc.w 0
  328. dc.w $Ee
  329. PLANE6LOW
  330. dc.w 0
  331. dc.w $f4
  332. PLANE7HIGH
  333. dc.w 0
  334. dc.w $f6
  335. PLANE7LOW
  336. dc.w 0
  337. DC.W $fc
  338. PLANE8HIGH DC.W 0
  339. DC.W $fe
  340. PLANE8LOW DC.W 0
  341. dc.w BPLCON1
  342. scroll_value
  343. dc.w 0
  344. dc.w $106
  345. dc.w $040
  346. main_screen_colours_high
  347. dc.w $1a0
  348. dc.w 0
  349. dc.w $1a2
  350. dc.w 0
  351. dc.w $1a4
  352. dc.w 0
  353. dc.w $1a6
  354. dc.w 0
  355. dc.w $1a8
  356. dc.w 0
  357. dc.w $1aa
  358. dc.w 0
  359. dc.w $1ac
  360. dc.w 0
  361. dc.w $1ae
  362. dc.w 0
  363. dc.w $1b0
  364. dc.w 0
  365. dc.w $1b2
  366. dc.w 0
  367. dc.w $1b4
  368. dc.w 0
  369. dc.w $1b6
  370. dc.w 0
  371. dc.w $1b8
  372. dc.w 0
  373. dc.w $1ba
  374. dc.w 0
  375. dc.w $1bc
  376. dc.w 0
  377. dc.w $1be
  378. dc.w 0
  379. dc.w $106
  380. dc.w $240
  381. main_screen_colours_low
  382. dc.w $1a0
  383. dc.w 0
  384. dc.w $1a2
  385. dc.w 0
  386. dc.w $1a4
  387. dc.w 0
  388. dc.w $1a6
  389. dc.w 0
  390. dc.w $1a8
  391. dc.w 0
  392. dc.w $1aa
  393. dc.w 0
  394. dc.w $1ac
  395. dc.w 0
  396. dc.w $1ae
  397. dc.w 0
  398. dc.w $1b0
  399. dc.w 0
  400. dc.w $1b2
  401. dc.w 0
  402. dc.w $1b4
  403. dc.w 0
  404. dc.w $1b6
  405. dc.w 0
  406. dc.w $1b8
  407. dc.w 0
  408. dc.w $1ba
  409. dc.w 0
  410. dc.w $1bc
  411. dc.w 0
  412. dc.w $1be
  413. dc.w 0
  414. dc.w $106
  415. dc.w $000
  416. front_scroll_colours_high
  417. dc.w $180
  418. dc.w 0
  419. dc.w $182
  420. dc.w 0
  421. dc.w $184
  422. dc.w 0
  423. dc.w $186
  424. dc.w 0
  425. dc.w $188
  426. dc.w 0
  427. dc.w $18a
  428. dc.w 0
  429. dc.w $18c
  430. dc.w 0
  431. dc.w $18e
  432. dc.w 0
  433. dc.w $190
  434. dc.w 0
  435. dc.w $192
  436. dc.w 0
  437. dc.w $194
  438. dc.w 0
  439. dc.w $196
  440. dc.w 0
  441. dc.w $198
  442. dc.w 0
  443. dc.w $19a
  444. dc.w 0
  445. dc.w $19c
  446. dc.w 0
  447. dc.w $19e
  448. dc.w 0
  449. dc.w $106
  450. dc.w $0200
  451. front_scroll_colours_low
  452. dc.w $180
  453. dc.w 0
  454. dc.w $182
  455. dc.w 0
  456. dc.w $184
  457. dc.w 0
  458. dc.w $186
  459. dc.w 0
  460. dc.w $188
  461. dc.w 0
  462. dc.w $18a
  463. dc.w 0
  464. dc.w $18c
  465. dc.w 0
  466. dc.w $18e
  467. dc.w 0
  468. dc.w $190
  469. dc.w 0
  470. dc.w $192
  471. dc.w 0
  472. dc.w $194
  473. dc.w 0
  474. dc.w $196
  475. dc.w 0
  476. dc.w $198
  477. dc.w 0
  478. dc.w $19a
  479. dc.w 0
  480. dc.w $19c
  481. dc.w 0
  482. dc.w $19e
  483. dc.w 0
  484. dc.w $106
  485. dc.w $4000
  486. test_scroll_colours_high
  487. dc.w $180
  488. dc.w 0
  489. dc.w $182
  490. dc.w 0
  491. dc.w $184
  492. dc.w 0
  493. dc.w $186
  494. dc.w 0
  495. dc.w $188
  496. dc.w 0
  497. dc.w $18a
  498. dc.w 0
  499. dc.w $18c
  500. dc.w 0
  501. dc.w $18e
  502. dc.w 0
  503. dc.w $190
  504. dc.w 0
  505. dc.w $192
  506. dc.w 0
  507. dc.w $194
  508. dc.w 0
  509. dc.w $196
  510. dc.w 0
  511. dc.w $198
  512. dc.w 0
  513. dc.w $19a
  514. dc.w 0
  515. dc.w $19c
  516. dc.w 0
  517. dc.w $19e
  518. dc.w 0
  519. dc.w $106
  520. dc.w $4200
  521. test_scroll_colours_low
  522. dc.w $180
  523. dc.w 0
  524. dc.w $182
  525. dc.w 0
  526. dc.w $184
  527. dc.w 0
  528. dc.w $186
  529. dc.w 0
  530. dc.w $188
  531. dc.w 0
  532. dc.w $18a
  533. dc.w 0
  534. dc.w $18c
  535. dc.w 0
  536. dc.w $18e
  537. dc.w 0
  538. dc.w $190
  539. dc.w 0
  540. dc.w $192
  541. dc.w 0
  542. dc.w $194
  543. dc.w 0
  544. dc.w $196
  545. dc.w 0
  546. dc.w $198
  547. dc.w 0
  548. dc.w $19a
  549. dc.w 0
  550. dc.w $19c
  551. dc.w 0
  552. dc.w $19e
  553. dc.w 0
  554. dc.w $106,$1000
  555. copper_sprite_mem
  556. ds.w (255-16)*SIZE_COP/2
  557. copper_sprite_mem_end
  558. dc.w $2cff,$fffe