Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
hardware:magic_system [2016/06/11 12:30] ex_writer [Intercept Register (Collision Detection)] |
hardware:magic_system [2016/06/11 12:35] (current) ex_writer [Example: Space Invaders] |
||
---|---|---|---|
Line 116: | Line 116: | ||
</code> | </code> | ||
- | Directly after the pattern write, intercept status is loaded in A, then A is ORed to see if any bits are set (indicating an intercept). If the OR result is 0, no collision occurs, and the collision check subroutine exits. | + | Directly after the pattern write, intercept status is loaded in A, then A is ORed to see if any bits are set (indicating an intercept). If the OR result is 0, no collision occurs, and the collision check subroutine exits. (//Football// uses an identical check.) |
---- | ---- |