![]() |
Routines |
| Prev: C172 | Up: Map | Next: C1AB |
|
Tests whether an object is moving, which is when its speed in any of the three axes is not zero.
|
||||||||||||
| TestObjectMoving | C1A1 | LD A,(IX+$09) | Fetch the speed in X. | |||||||||
| C1A4 | OR (IX+$0A) | Combine it with the speed in Y. | ||||||||||
| C1A7 | OR (IX+$0B) | Combine it with the speed in Z. | ||||||||||
| C1AA | RET | Return. | ||||||||||
|
View the equivalent code in;
|
||||||||||||
| Prev: C172 | Up: Map | Next: C1AB |