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

From SnesLab
Jump to: navigation, search
(added parameters)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
|'''Opcode'''
|'''Opcode'''
|02
|02
|+
|'''Speed'''
|892 cycles
117.4 μs
|}
|}


Line 24: Line 28:


=== References ===
=== References ===
* [https://archive.org/details/SNESDevManual/book2/page/n302 page 3-5-12 of Book II] of the official Super Nintendo development manual
* subparagraph 5.4.1 on [https://archive.org/details/SNESDevManual/book2/page/n302 page 3-5-12 of Book II] of the official Super Nintendo development manual
* https://github.com/bsnes-emu/bsnes/blob/master/bsnes/sfc/coprocessor/dsp1/dsp1emu.cpp#L871


[[Category:DSP1]]
[[Category:DSP1]]
[[Category:Projection Calculation Commands]]

Latest revision as of 05:31, 10 January 2024

Basic Info
Opcode 02
Speed 892 cycles

117.4 μs

Parameter is a DSP1 command.

Input Parameters

  • Fx is an x coordinate
  • Fy is a y coordinate
  • Fz is a z coordinate
  • Lfe is a distance
  • Les is a distance
  • Aas is an angle
  • Azs is an angle

Output Parameters

  • Vof is a raster number
  • Vva is a raster number
  • Cx is an X coordinate
  • Cy is a Y coordinate

References