Video Interface: Difference between revisions

Line 131:
{{#invoke:Register table|definitions
| 31-17 | Undefined | Initialized to <code>0</code>
| 16 | DEDITHER_FILTER_ENABLEDEDITHER_ENABLE | Dedither Enable bit <br>1 {{=}} DeditherDedithering (aka "dither filter") is enabled; (normally used for 16-bit framebuffers) to try to reconstruct a 32-bit image. Notice that this filter only works correctly when `<code>AA_MODE`</code> is set to `<code>00`</code>, otherwise it causes vertical banding [https://github.com/DragonMinded/libdragon/issues/159 as seen here]) <br>0 {{=}} Dedither filterDedithering is disabled (normally used for 32-bit color)
| 15-12 | PIXEL_ADVANCE[3:0] | Use <code>0b0011</code> for most effective behavior on N64. On the iQue Player a pixel advance of <code>0b0011</code> creates video glitches, applications typically use <code>0b0001</code> instead.
| 11 | KILL_WE | Diagnostics only, possibly kills VI DMA writes to line buffers making them safe to access via the test registers.
| 10 | Undefined | Initialized to <code>0</code>
| 9-8 | AA_MODE[1:0] | Anti-Alias Mode <br>11 {{=}} AA and resampling disabled, replicate pixels without interpolation <br>10 {{=}} AA disabled, resampling enabled, and operate as if everything is covered <br>01 {{=}} AA enabled, resampling enabled, and only fetches extra lines as needed <br>00 {{=}} AA enabled, resampling enabled, and will always fetch extra lines (required if `DEDITHER_FILTER_ENABLE`<code>DEDITHER_ENABLE</code> is 1).
| 7 | TEST_MODE | Diagnostics only, enables usage of the line buffer test registers VI_TEST_ADDR/VI_STAGED_DATA. KILL_WE should also be set to avoid access races between the VI and CPU.
| 6 | SERRATE | Required if interlacing, permitted when progressive, often disabled <br>1 {{=}} Enabled <br>0 {{=}} Disabled