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
Jump to: navigation, search
(added parameters)
(added speed)
Line 4: Line 4:
|'''Opcode'''
|'''Opcode'''
|04
|04
|+
|'''Speed'''
|59
|}
|}



Revision as of 16:24, 15 July 2023

Basic Info
Opcode 04
Speed 59

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