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
(more info)
(added admode column)
 
(15 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%"
 
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
|+
|+
|'''Addressing Mode'''
|'''Opcode'''
|'''Opcode'''
|'''Length'''
|'''Length'''
Line 12: Line 9:
|'''Cache Speed'''
|'''Cache Speed'''
|+
|+
|
|4C
|4C
|1 byte
|1 byte
Line 20: Line 18:


{| 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 Flag|B]]
|ALT1
|[[ALT1]]
|ALT2
|[[ALT2]]
|O/V
|[[O/V]]
|S
|[[Sign Flag|S]]
|CY
|[[CY]]
|Z
|Z
|+
|+
Line 38: Line 36:
|.
|.
|}
|}
'''PLOT''' is a [[Super FX]] instruction that plots a single pixel.  The X coordinate is specified by R<sub>1</sub>.  The Y coordinate is specified by R<sub>2</sub>.  The color is specified by [[COLOR]] or [[GETC]].
The PLOT circuitry exists inside the [[Game Pak RAM Controller]].
R<sub>1</sub> 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]
* 8.1.3 "Plot Processing (Plot)" on [https://archive.org/details/SNESDevManual/book2/page/n143 page 2-8-4], lbid.


[[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 01:05, 2 July 2024

Basic Info
Addressing Mode 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