We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

PLOT (Super FX): Difference between revisions

From SnesLab
Jump to: navigation, search
(note about game pak RAM controller)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''PLOT''' is a [[Super FX]] instruction that plots a single pixel.  The X coordinate is specified by R1.  The Y coordinate is specified by R2.  The color is specified by [[COLOR]] or [[GETC]].
{| class="wikitable" style="float:right;clear:right;width:50%"
 
The PLOT circuitry exists inside the [[Game Pak RAM Controller]].
 
R1 is automatically incremented after the pixel is plotted.
 
{| class="wikitable" style="float:right;clear:right;width:40%"
!colspan="8"|Basic Info
!colspan="8"|Basic Info
|+
|+
Line 22: Line 16:


{| class="wikitable" style="float:right;clear:right;width:30%"
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="9"|Flags Clobbered
!colspan="9"|Flags Affected
|+
|+
|B
|B
|ALT1
|[[ALT1]]
|ALT2
|[[ALT2]]
|O/V
|[[O/V]]
|S
|S
|CY
|[[CY]]
|Z
|Z
|+
|+
Line 40: Line 34:
|.
|.
|}
|}
'''PLOT''' is a [[Super FX]] instruction that plots a single pixel.  The X coordinate is specified by R1.  The Y coordinate is specified by R2.  The color is specified by [[COLOR]] or [[GETC]].
The PLOT circuitry exists inside the [[Game Pak RAM Controller]].
R1 is automatically incremented after the pixel is plotted.
=== See Also ===
* [[RPIX]]
=== External Links ===
* Official Nintendo documentation on PLOT: 9.72 on [https://archive.org/details/SNESDevManual/book2/page/n256 Page 2-9-100 of Book II]


[[Category:ASM]]
[[Category:ASM]]
[[Category:Super FX]]
[[Category:Super FX]]
[[Category:Plot-related Instructions]]
[[Category:Plot-related Instructions]]
[[Category:One-byte Instructions]]

Latest revision as of 11:18, 21 December 2023

Basic Info
Opcode Length ROM Speed RAM Speed Cache Speed
4C 1 byte 3 to 48 cycles 3 to 51 cycles 1 to 48 cycles
Flags Affected
B ALT1 ALT2 O/V S CY Z
0 0 0 . . . .

PLOT is a Super FX instruction that plots a single pixel. The X coordinate is specified by R1. The Y coordinate is specified by R2. The color is specified by COLOR or GETC.

The PLOT circuitry exists inside the Game Pak RAM Controller.

R1 is automatically incremented after the pixel is plotted.

See Also

External Links