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/Subjective: Difference between revisions
From SnesLab
(moved table up) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|'''Opcode''' | |'''Opcode''' | ||
|n3 | |n3 | ||
|+ | |||
|'''Speed''' | |||
|44 cycles | |||
5.8 μs | |||
|} | |} | ||
'''Subjective''' is a DSP1 command. | '''Subjective''' is a [[DSP1]] command. The high nybble of the opcode selects which attitude matrix. | ||
=== Input Parameters === | |||
* '''F''' coordinate of object | |||
* '''L''' coordinate of object | |||
* '''U''' coordinate of object | |||
=== Ouput Parameters === | |||
* '''X''' coordinate of object | |||
* '''Y''' coordinate of object | |||
* '''Z''' coordinate of object | |||
=== See Also === | |||
* [[Objective]] | |||
=== References === | === References === | ||
* [https://archive.org/details/SNESDevManual/book2/page/n317 page 3-5-27 of Book II] of the official Super Nintendo development manual | * subparagraph 5.5.3 on [https://archive.org/details/SNESDevManual/book2/page/n317 page 3-5-27 of Book II] of the official Super Nintendo development manual | ||
* paragraph 6.12 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#L687 | |||
[[Category:DSP1]] | [[Category:DSP1]] | ||
[[Category:Attitude Control Commands]] |
Latest revision as of 05:29, 10 January 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | n3 | ||||||
Speed | 44 cycles
5.8 μs |
Subjective is a DSP1 command. The high nybble of the opcode selects which attitude matrix.
Input Parameters
- F coordinate of object
- L coordinate of object
- U coordinate of object
Ouput Parameters
- X coordinate of object
- Y coordinate of object
- Z coordinate of object
See Also
References
- subparagraph 5.5.3 on page 3-5-27 of Book II of the official Super Nintendo development manual
- paragraph 6.12 on page 3-6-2 of Book II, lbid.
- https://github.com/bsnes-emu/bsnes/blob/master/bsnes/sfc/coprocessor/dsp1/dsp1emu.cpp#L687