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/Target: Difference between revisions
From SnesLab
(added opcode) |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" style="float:right;clear:right;width:15%" | {| class="wikitable" style="float:right;clear:right;width:15%" | ||
!colspan="8"|Basic Info | !colspan="8"|Basic Info | ||
Line 6: | Line 4: | ||
|'''Opcode''' | |'''Opcode''' | ||
|0E | |0E | ||
|+ | |||
|'''Speed''' | |||
|228 cycles | |||
30.0 μs | |||
|} | |} | ||
'''Target''' is a [[DSP1]] command. | |||
=== Input Parameters === | |||
* '''H''' is the horizontal component | |||
* '''V''' is the vertical component | |||
=== Output Parameters === | |||
* '''X''' is a coordinate | |||
* '''Y''' is a coordinate | |||
=== References === | === References === | ||
* https://archive.org/details/SNESDevManual/book2/page/n310 | * subparagraph 5.4.4 on [https://archive.org/details/SNESDevManual/book2/page/n310 page 3-5-20 of Book II] of the official Super Nintendo development manual | ||
* https://github.com/bsnes-emu/bsnes/blob/master/bsnes/sfc/coprocessor/dsp1/dsp1emu.cpp#L1086 | |||
[[Category:DSP1]] | |||
[[Category:Projection Calculation Commands]] |
Latest revision as of 05:30, 10 January 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | 0E | ||||||
Speed | 228 cycles
30.0 μs |
Target is a DSP1 command.
Input Parameters
- H is the horizontal component
- V is the vertical component
Output Parameters
- X is a coordinate
- Y is a coordinate
References
- subparagraph 5.4.4 on page 3-5-20 of Book II of the official Super Nintendo development manual
- https://github.com/bsnes-emu/bsnes/blob/master/bsnes/sfc/coprocessor/dsp1/dsp1emu.cpp#L1086