User Tools

Site Tools


digic8:registers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
digic8:registers [2022/02/20 16:01] – [LV peaking (Highlights / zebra)] kitordigic8:registers [2022/02/21 23:03] (current) – [LV peaking (Highlights / zebra)] kitor
Line 40: Line 40:
 Registers used by ''DispVram'' State object to control overexposure highlighting feature. Registers used by ''DispVram'' State object to control overexposure highlighting feature.
  
-Directly poking HDMI registers doesn't work (yet). For some reasonzebra enable/disable write is ignored/overwritten. It works while enabled via ''DispVram'' state change request.+Different addresses and slightly different values than Digic 6/7but capabilities are very similar.
  
-On EOS R it was possible to display independently configured zebras on LCD and HDMIwhile in CleanHDMI mode.+__It is possible to have independent zebras configured on LCD and HDMI while running in Clean HDMI mode!__ 
 + 
 +===Note on directly writing the registers=== 
 +Directly writing some registers doesn't work (values are overridden). On R170.739 that happens for HDMI enable register, but this seems to differ from model to model. See [[digic6:registers|DIGIC 6 Register Map:]] for more info. 
 + 
 +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 49: Line 54:
  
 Value written should be masked ''0x100'' with one read from ''reg + 0x2000'' Value written should be masked ''0x100'' with one read from ''reg + 0x2000''
 +
 +This register lies in **Display registers** range and most likely has more meanings.
  
 ===Threshold / style register=== ===Threshold / style register===
Line 65: Line 72:
 Value written should be masked ''0xB137FFFF'' with one read from ''reg + 0x2000'' Value written should be masked ''0xB137FFFF'' with one read from ''reg + 0x2000''
  
-^ Field      ^ Range ^ Description ^+^ Field        ^ Range ^ Description ^
 | visibility   | 0,1   | zebra visibility (do not confuse with Enable register)  | | visibility   | 0,1   | zebra visibility (do not confuse with Enable register)  |
 | speed        | 0-3   | lines/dots are moving slower -> faster                  | | speed        | 0-3   | lines/dots are moving slower -> faster                  |
Line 73: Line 80:
 | underexpo_th | 0-255 | Threshold on undexexpo register, ignored on overexpo    |  | underexpo_th | 0-255 | Threshold on undexexpo register, ignored on overexpo    | 
 | overexpo_th  | 0-255 | Threshold on overexpo register, ignored on underexpo    | | overexpo_th  | 0-255 | Threshold on overexpo register, ignored on underexpo    |
 +
 +**Note: On HDMI max threshold is 0xE8** Values above that are not displayed!
  
 ===Color register=== ===Color register===
digic8/registers.1645369303.txt.gz · Last modified: 2022/02/20 16:01 by kitor