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
m (Jeffythedragonslayer moved page DSP/Attitude to DSP1/Attitude: missing 1)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Attitude''' is a DSP1 command.
{| class="wikitable" style="float:right;clear:right;width:15%"
!colspan="8"|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 ===
=== References ===
* https://archive.org/details/SNESDevManual/book2/page/n312
* 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.
* https://github.com/bsnes-emu/bsnes/blob/master/bsnes/sfc/coprocessor/dsp1/dsp1emu.cpp#L526
 
[[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