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
(added syntax)
(The ALT0 state is restored.)
 
(2 intermediate revisions by the same user not shown)
Line 26: Line 26:
|[[Sign Flag|S]]
|[[Sign Flag|S]]
|[[CY]]
|[[CY]]
|Z
|[[Zero Flag|Z]]
|+
|+
|0
|0
Line 42: Line 42:


R<sub>1</sub> is automatically incremented after the pixel is plotted.
R<sub>1</sub> is automatically incremented after the pixel is plotted.
The [[ALT0]] state is restored.


==== Syntax ====
==== Syntax ====
Line 59: Line 61:
[[Category:Plot-related Instructions]]
[[Category:Plot-related Instructions]]
[[Category:One-byte Instructions]]
[[Category:One-byte Instructions]]
[[Category:Video]]

Latest revision as of 00:19, 13 July 2024

Basic Info
Addressing Mode Opcode Length ROM Speed RAM Speed Cache Speed
Implied (type 1) 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.

The ALT0 state is restored.

Syntax

PLOT

See Also

External Links