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
(→‎References: subparagraph)
(→‎References: bsnes implementation)
Line 29: Line 29:
=== References ===
=== References ===
* 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
* 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]]

Revision as of 21:24, 4 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