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/Raster: Difference between revisions
From SnesLab
(created page) |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Raster''' is a DSP1 command. | {| class="wikitable" style="float:right;clear:right;width:15%" | ||
!colspan="8"|Basic Info | |||
|+ | |||
|'''Opcode''' | |||
|nA | |||
|+ | |||
|'''Speed''' | |||
|433 cycles | |||
|} | |||
'''Raster''' is a [[DSP1]] command. Bit 4 of the opcode controls whether or not to output the result of the calculation via [[DMA]]. | |||
=== Input Parameters === | |||
* '''Vs''' is a raster number | |||
=== Output Parameters === | |||
* '''An''' is a matrix element | |||
* '''Bn''' is a matrix element | |||
* '''Cn''' is a matrix element | |||
* '''Dn''' is a matrix element | |||
=== See Also === | |||
* [[scanline]] | |||
=== References === | === References === | ||
* https://archive.org/details/SNESDevManual/book2/page/n305 | * subparagraph 5.4.2 on [https://archive.org/details/SNESDevManual/book2/page/n305 page 3-5-15 of Book II] of the official Super Nintendo development manual | ||
* https://github.com/bsnes-emu/bsnes/blob/master/bsnes/sfc/coprocessor/dsp1/dsp1emu.cpp#L1046 | |||
[[Category:DSP1]] | |||
[[Category:Projection Calculation Commands]] |
Latest revision as of 05:31, 10 January 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | nA | ||||||
Speed | 433 cycles |
Raster is a DSP1 command. Bit 4 of the opcode controls whether or not to output the result of the calculation via DMA.
Input Parameters
- Vs is a raster number
Output Parameters
- An is a matrix element
- Bn is a matrix element
- Cn is a matrix element
- Dn is a matrix element
See Also
References
- subparagraph 5.4.2 on page 3-5-15 of Book II of the official Super Nintendo development manual
- https://github.com/bsnes-emu/bsnes/blob/master/bsnes/sfc/coprocessor/dsp1/dsp1emu.cpp#L1046