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: Difference between revisions
From SnesLab
(what high nybble does) |
|||
Line 24: | Line 24: | ||
[[Category:DSP1]] | [[Category:DSP1]] | ||
[[Category:Attitude Control Commands]] |
Latest revision as of 05:28, 10 January 2024
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