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
Jump to: navigation, search
(→‎References: subparagraph)
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
|}
|}


'''Attitude''' is a [[DSP1]] command.
'''Attitude''' is a [[DSP1]] command.  The high nybble of the opcode selects which attitude matrix.


=== Input Parameters ===
=== Input Parameters ===
Line 21: Line 21:
* subparagraph 5.1.1 on [https://archive.org/details/SNESDevManual/book2/page/n312 page 3-5-22 of Book II] of the official Super Nintendo development manual
* subparagraph 5.1.1 on [https://archive.org/details/SNESDevManual/book2/page/n312 page 3-5-22 of Book II] of the official Super Nintendo development manual
* paragraph 6.10 on [https://archive.org/details/SNESDevManual/book2/page/n325 page 3-6-2 of Book II], lbid.
* paragraph 6.10 on [https://archive.org/details/SNESDevManual/book2/page/n325 page 3-6-2 of Book II], lbid.
* https://github.com/bsnes-emu/bsnes/blob/master/bsnes/sfc/coprocessor/dsp1/dsp1emu.cpp#L526


[[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