
HOW COLLISION DETECTION IS CONTROLLED
The collision control register, CLXCON, contains the bits that define certain characteristics
of collision detection. Its bits are shown in Table 7-4.
Table 7-4: CLXCON Bits
Bit
Number Name Function
15 ENSP7 Enable sprite 7 (OR with sprite 6)
14 ENSPS Enable sprite 5 (OR with sprite 4)
13 ENSP3 Enable sprite 3 (OR with sprite 2)
12 ENSP1 Enable sprite 1 (OR with sprite 0)
11 ENBP6 Enable bit-plane 6 (match required for collision)
10 ENBPS Enable bit-plane 5 (match required for collision)
9 ENBP4 Enable bit-plane 4 (match required for collision)
8 ENBP3 Enable bit-plane 3 (match required for collision)
7 ENBP2 Enable bit-plane 2 (match required for collision)
6 ENBP1 Enable bit-plane 1 (match required for collision)
5 MVBP6 Match value for bit-plane 6 collision
4 MVBPS Match value for bit-plane 5 collision
3 MVBP4 Match value for bit-plane 4 collision
2 MVBP3 Match value for bit-plane 3 collision
1 MVBP2 Match value for bit-plane 2 collision
0 MVBP1 Match value for bit-plane 1 collision
Bits 15-12 let you specify that collisions with a sprite pair are to include the odd-
numbered sprite of a pair of sprites. The even-numbered sprites always are included in
the collision detection. Bits 11-6 let you specify whether to include or exclude specific bit-
planes from the collision detection. Bits 5-0 let you specify the polarity (true-false
condition) of bits that will cause a collision. For example, you may wish to register
collisions only when the object collides with "something green2 or "something blue." This
feature, along with the collision enable bits, allows you to specify the exact bits, and their
polarity, for the collision to be registered.
NOTE
This register is write-only. If all bit-planes are excluded (disabled), then a bit-plane
collision will always be detected.
- System Control Hardware 209 -
Содержание Amiga A1000
Страница 1: ...AMIGA HARDWARE REFERENCE MANUAL 1992 Commodore Business Machines Amiga 1200 PAL...
Страница 20: ...Figure 1 1 Block Diagram for the Amiga Computer Family Introduction 11...
Страница 21: ...12 Introduction...
Страница 72: ...Figure 3 12 A dual Playfield display Playfield Hardware 63...
Страница 87: ...Figure 3 24 Horizontal Scrolling 78 playfield hardware...
Страница 101: ...92 Playfield Hardware...
Страница 199: ...Figure 6 9 DMA time slot allocation 190 Blitter hardware...
Страница 203: ...Figure 6 13 Blitter Block Diagram 194 Blitter Hardware...
Страница 229: ...220 System Control Hardware...
Страница 246: ...Figure 8 8 Chinon Timing diagram cont Interface Hardware 237...
Страница 265: ...256 Interface Hardware...
Страница 289: ...280 Appendix A...
Страница 297: ...288 Appendix B...
Страница 298: ...APPENDIX C CUSTOM CHIP PIN ALLOCATION LIST NOTE Means an active low signal Appendix C 289...
Страница 302: ...APPENDIX D SYSTEM MEMORY MAP Appendix D 293...
Страница 343: ...334 Appendix F...
Страница 351: ...342 Appendix G...
Страница 361: ...352 Appendix H...
Страница 367: ...358 Appendix I...