digic8:registers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
digic8:registers [2022/02/20 12:15] – [LV peaking (Highlights / zebra)] kitor | digic8:registers [2022/02/21 23:03] (current) – [LV peaking (Highlights / zebra)] kitor | ||
---|---|---|---|
Line 26: | Line 26: | ||
==== LV peaking (Highlights / zebra) ==== | ==== LV peaking (Highlights / zebra) ==== | ||
- | ^ Address | + | ^ Address |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
Registers used by '' | Registers used by '' | ||
- | Not tested | + | Different addresses and slightly different values than Digic 6/7, but capabilities are very similar. |
+ | |||
+ | __It is possible to have independent zebras configured | ||
+ | |||
+ | ===Note on directly writing the registers=== | ||
+ | Directly writing some registers doesn' | ||
+ | |||
+ | TL;DR is that you need to find (via xrefs / static code analysis) where reg value is stored, and update that memory address instead. | ||
===Enable register=== | ===Enable register=== | ||
Line 42: | Line 53: | ||
'' | '' | ||
- | Value written should be masked with one read from '' | + | Value written should be masked |
- | ===Threshold register=== | + | This register lies in **Display registers** range and most likely has more meanings. |
+ | |||
+ | ===Threshold | ||
< | < | ||
Line 53: | Line 66: | ||
.... .... ..** .... .... .... .... .... stripes style | .... .... ..** .... .... .... .... .... stripes style | ||
.... .... .... .*** .... .... .... .... stripes opacity | .... .... .... .*** .... .... .... .... stripes opacity | ||
- | .... .... .... .... **** **** .... .... unknown | + | .... .... .... .... **** **** .... .... threshold (underexpo) |
- | .... .... .... .... .... .... **** **** threshold | + | .... .... .... .... .... .... **** **** threshold |
</ | </ | ||
- | Value written should be masked with one read from '' | + | Value written should be masked |
- | ^ Field ^ Range ^ Description ^ | + | ^ Field ^ Range ^ Description ^ |
- | | visibility | 0,1 | zebra visibility (do not confuse with Enable register) | + | | visibility |
- | | speed: | 0-3 | lines/dots are moving slower -> faster | + | | speed | 0-3 | lines/dots are moving slower -> faster |
- | | angle | 0-1 | 0: 45 deg, 1: -45 deg | | + | | angle | 0-1 | 0: 45 deg, 1: -45 deg | |
- | | style: | 0-2 | 0: light dots, 1: thin lines, 2: thick lines | | + | | style | 0-2 | 0: light dots, 1: thin lines, 2: thick lines | |
- | | opacity | + | | opacity |
- | | unknown | + | | underexpo_th |
- | | threshold | + | | overexpo_th |
+ | |||
+ | **Note: On HDMI max threshold is 0xE8** Values above that are not displayed! | ||
===Color register=== | ===Color register=== | ||
Controls color of highlight overlays. ''?? | Controls color of highlight overlays. ''?? | ||
+ | |||
+ | ===More registers=== | ||
+ | |||
+ | Code suggests there are more registers: | ||
+ | |||
+ | ^ Output ^ Reg ^ Addresses | ||
+ | | HDMI | Enable | ||
+ | | LCD | Enable | ||
+ | | HDMI | Threshold | '' | ||
+ | | HDMI | Color | '' | ||
+ | | LCD | Threshold | '' | ||
+ | | LCD | Color | '' | ||
+ | |||
+ | n values above 0 and m values above 1 are not understood. There' | ||
+ | |||
+ | For '' | ||
+ | |||
+ | Guess: maybe '' | ||
==== Audio ==== | ==== Audio ==== | ||
digic8/registers.1645355753.txt.gz · Last modified: 2022/02/20 12:15 by kitor