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/Triangle: Difference between revisions
From SnesLab
(added speed) |
(added microseconds) |
||
Line 1: | Line 1: | ||
{| class="wikitable" style="float:right;clear:right;width: | {| class="wikitable" style="float:right;clear:right;width:25%" | ||
!colspan="8"|Basic Info | !colspan="8"|Basic Info | ||
|+ | |+ | ||
Line 6: | Line 6: | ||
|+ | |+ | ||
|'''Speed''' | |'''Speed''' | ||
|59 | |59 cycles | ||
7.8 μs | |||
|} | |} | ||
Revision as of 00:01, 23 July 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | 04 | ||||||
Speed | 59 cycles
7.8 μs |
Triangle is a DSP1 command that performs a trigonometric calculation.
Input Parameters
- θ[A] is the angle
- r[T/l] is the radius
Ouput Parameters
- S[T/l] is the sine
- C[T/l] is the cosine
References
- Page 3-5-3 of Book II of the official Super Nintendo development manual