Routines |
Prev: 9BEA | Up: Map | Next: 9D25 |
Used by the routine at SetKeyPositions.
|
||||
GetBlendInstruction | 9D19 | LD A,B | A=B. | |
9D1A | AND %00000011 | Keep only bits 0-1. | ||
9D1C | RET Z | Return if 00 (no blending). | ||
9D1D | CP $01 | Compare A with 01... | ||
9D1F | LD A,$AE | A=AE. | ||
9D21 | RET NZ | Return if the comparison was not zero (XOR blending). | ||
9D22 | ADD A,$08 | A+=08. | ||
9D24 | RET | Return (OR blending). |
Prev: 9BEA | Up: Map | Next: 9D25 |