We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
DSP1/Attitude
From SnesLab
(Redirected from DSP/Attitude)
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | n1 | ||||||
Speed | 164 cycles
21.6 μs |
Attitude is a DSP1 command. The high nybble of the opcode selects which attitude matrix.
Input Parameters
- m is a constant
- rotation angle about Z axis
- rotation angle about X axis
- rotation angle about Y axis
References
- subparagraph 5.1.1 on page 3-5-22 of Book II of the official Super Nintendo development manual
- paragraph 6.10 on page 3-6-2 of Book II, lbid.
- https://github.com/bsnes-emu/bsnes/blob/master/bsnes/sfc/coprocessor/dsp1/dsp1emu.cpp#L526