DSP1/Target
From SnesLab
| Basic Info | |||||||
|---|---|---|---|---|---|---|---|
| Opcode | 0E | ||||||
| Speed | 228 cycles
30.0 μs | ||||||
Target is a DSP1 command which calculates what position on the ground a particular screen coordinate maps to.
Input Parameters
- H is the horizontal screen component
- V is the vertical screen component
Output Parameters
- X is a ground coordinate
- Y is a ground 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