This is an old revision of the document!
Table of Contents
DIGIC 8 Register Map:
UART
Controls physical UART connection.
Address | Description |
---|---|
0xD01202F0 | UART1_RX_SELECT_CONFIG |
0xD01202F4 | UART1_TX_SELECT_CONFIG |
0xD01302F0 | UART1_RX_SELECT_MASK |
0xD01302F4 | UART1_TX_SELECT_MASK |
UART
is connected to physical ICU UART on external debug connector. Handled by uart_change
command on drysh.
0x0
selects ICU (DryOS on ARM core), 0x2
for CCLIME (DryOS on Xtensa core, network).
Display
Address | Description |
---|---|
0xD030422C | ?? |
0xD0304230 | VRAM pointer |
0xD0304234 | VRAM pitch |
0xD0304238 | Resolution |
0xD030423C | ?? |
LV peaking (Highlights / zebra)
Address | Description |
---|---|
0xD0304220 | LCD/EVF highlight enable register |
0xD0304488 | LCD/EVF highlight threshold register |
0xD030448C | LCD/EVF highlight color register |
0xD0300520 | HDMI highlight enable register |
0xD0300750 | HDMI highlight threshold register |
0xD0300754 | HDMI highlight color register |
Registers used by DispVram
State object to control overexposure highlighting feature.
Not tested on HDMI yet (registers found via static analysis). Ability to have underexposure highlights (like on D45) is not yet confirmed.
Enable register
reg & 0x100
controls if highlight is enabled or not.
Value written should be masked with one read from reg + 0x2000
Threshold register
**** **** **** **** **** **** **** **** *... .... .... .... .... .... .... .... visibility (on/off) ..** .... .... .... .... .... .... .... stripes move speed (0-3) .... ...* .... .... .... .... .... .... stripes angle (45 / -45 deg) .... .... ..** .... .... .... .... .... stripes style .... .... .... .*** .... .... .... .... stripes opacity .... .... .... .... **** **** .... .... unknown .... .... .... .... .... .... **** **** threshold
Value written should be masked with one read from reg + 0x2000
Field | Range | Description |
---|---|---|
visibility | 0,1 | zebra visibility (do not confuse with Enable register) |
speed: | 0-3 | lines/dots are moving slower → faster |
angle | 0-1 | 0: 45 deg, 1: -45 deg |
style: | 0-2 | 0: light dots, 1: thin lines, 2: thick lines |
opacity | 0-7 | very opaque → solid color |
unknown | 0-255 | Unknown, allowed by code but always overwritten with 00 |
threshold | 0-255 | Threshold above which zebra will be overlaid |
Color register
Controls color of highlight overlays. ??YYUUVV
format. Canon code defaults to black (00008080
)
Audio
Address | Description |
---|---|
0xD800021D | Left Microphone Level and Peak |
0xD8000220 | Right Microphone Level and Peak |