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

From SnesLab
Jump to: navigation, search
(added opcode)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Objective''' 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'''
|nD
|nD
|+
|'''Speed'''
|45 cycles
5.9 μs
|}
|}
'''Objective''' is a [[DSP1]] command.  The high nybble of the opcode selects which attitude matrix.
=== Input Parameters ===
* '''X''' coordinate of object
* '''Y''' coordinate of object
* '''Z''' coordinate of object
=== Ouput Parameters ===
* '''F''' coordinate of object
* '''L''' coordinate of object
* '''U''' coordinate of object
=== See Also ===
* [[Subjective]]


=== References ===
=== References ===
* https://archive.org/details/SNESDevManual/book2/page/n315
* subparagraph 5.5.2 on [https://archive.org/details/SNESDevManual/book2/page/n315 page 3-5-25 of Book II] of the official Super Nintendo development manual
* paragraph 6.11 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#L629
 
[[Category:DSP1]]
[[Category:Attitude Control Commands]]

Latest revision as of 05:29, 10 January 2024

Basic Info
Opcode nD
Speed 45 cycles

5.9 μs

Objective is a DSP1 command. The high nybble of the opcode selects which attitude matrix.

Input Parameters

  • X coordinate of object
  • Y coordinate of object
  • Z coordinate of object

Ouput Parameters

  • F coordinate of object
  • L coordinate of object
  • U coordinate of object

See Also

References