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
(linkify S) |
(The ALT0 state is restored.) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
!colspan="8"|Basic Info | !colspan="8"|Basic Info | ||
|+ | |+ | ||
|'''Addressing Mode''' | |||
|'''Opcode''' | |'''Opcode''' | ||
|'''Length''' | |'''Length''' | ||
Line 8: | Line 9: | ||
|'''Cache Speed''' | |'''Cache Speed''' | ||
|+ | |+ | ||
|[[Implied]] (type 1) | |||
|4C | |4C | ||
|1 byte | |1 byte | ||
Line 24: | Line 26: | ||
|[[Sign Flag|S]] | |[[Sign Flag|S]] | ||
|[[CY]] | |[[CY]] | ||
|Z | |[[Zero Flag|Z]] | ||
|+ | |+ | ||
|0 | |0 | ||
Line 40: | 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 ==== | |||
<pre> | |||
PLOT | |||
</pre> | |||
=== See Also === | === See Also === | ||
Line 46: | Line 55: | ||
=== External Links === | === 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] | * 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]] | ||
Line 51: | 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
- Official Nintendo documentation on PLOT: 9.72 on Page 2-9-100 of Book II
- 8.1.3 "Plot Processing (Plot)" on page 2-8-4, lbid.