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/Gyrate: Difference between revisions

From SnesLab
Jump to: navigation, search
(added opcode)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Gyrate''' is a DSP1 command.
{| class="wikitable" style="float:right;clear:right;width:15%"
{| class="wikitable" style="float:right;clear:right;width:15%"
!colspan="8"|Basic Info
!colspan="8"|Basic Info
Line 6: Line 4:
|'''Opcode'''
|'''Opcode'''
|14
|14
|+
|'''Speed'''
|444 cycles
58.4 μs
|}
|}
'''Gyrate''' is a [[DSP1]] command.
=== Input Parameters ===
* angle of rotation about Z axis
* angle of rotation about X axis
* angle of rotation about Y axis
=== Output Parameters ===
* rotational angle


=== References ===
=== References ===
* https://archive.org/details/SNESDevManual/book2/page/n321
* subparagraph 5.6.1 on [https://archive.org/details/SNESDevManual/book2/page/n321 page 3-5-31 of Book II] of the official Super Nintendo development manual
* paragraph 6.7 on [https://archive.org/details/SNESDevManual/book2/page/n324 page 3-6-1 of Book II], lbid.
* https://github.com/bsnes-emu/bsnes/blob/master/bsnes/sfc/coprocessor/dsp1/dsp1emu.cpp#L806
 
[[Category:DSP1]]
[[Category:New Angle Calculation Commands]]

Latest revision as of 05:32, 10 January 2024

Basic Info
Opcode 14
Speed 444 cycles

58.4 μs

Gyrate is a DSP1 command.

Input Parameters

  • angle of rotation about Z axis
  • angle of rotation about X axis
  • angle of rotation about Y axis

Output Parameters

  • rotational angle

References