Magic Lantern Firmware Wiki
Advertisement
C0F0851C
C0F08520 - HSKIP and VSKIP values

NTSC and PAL adjustement ? voltage? be careful!
see 550d bootcode sub_FFFF8780 and FFFF86C8

0xC0F14040

1

0

0xC0F14044

0x1030808 0x808

0xC0F140DC

0 0xB558B01
0xC0F14128 0xF300F3 0x11F011F
0xC0F14138 0x150015 0x11F011F*9
0xC0F1413C 0x12 0x10
0xC0F14170 0x1501
0xC0F14058
0xC0F1405C
0xC0F140C0 see Misc_Registers
0xC0F140C4 see Misc_Registers
0xC0F01018 1 1
0xC0F14040 1 1
0xC0F14070 1 1


0xC022D000 +n*4+0xAC <- 0x938800, 0x63E400, 0x838C00
0xC022D004 +n*4+0xAC <- 0x938800, 0x838C00==
FFFF5694 (550d 109):
0xC022D004...0xC022D070 <- 0xE000000
0xC022D074 <- 0x13B800
0xC022D078...0xC022D114 <- 0xE000000
0xC022D118 <- 0x63A000
0xC022D11C...0xC022D1F8 <- 0xE000000
0xC022D1FC <- 0x838C00
0xC022D200...0xC022D2E0 <- 0xE000000
FFFF5748 (550d 109):
0xC022D304...0xC022D33C <- 0xE472
0xC022D360...0xC022D378 <- 0xE472
0xC022D37C...0xC022D3A4 <- 0xE472
0xC022D3A8...0xC022D3E8 <- 0xE472
0xC022D3EC...0xC022D414 <- 0x1A883
0xC022D418...0xC022D450 <- 0xE472
0xC022D454...0xC022D468 <- 0x12683
0xC022D4C6...0xC022D508 <- 0xE472
0xC022D50C...0xC022D538 <- 0x12683
0xC022D53C...0xC022D550 <- 0xE472==
0xc022011c <- 0x44 see GPIO_Ports
0xc0f01024 <- 0
0xc0f18014 <- 0
0xc0f01018 <- 0

PreProcessing path[]

FF37ED48 (550d 109)
0xC0F080C8 == 0x10 means "[ENG] Interruppt AdKizDet"
           == 0x20 means "[ENG] Interruppt AdKizMerge"
0xC0F08238 <- 0x10, interrupt ack ?

FF37F114:
0xC0F08020 <- 0x80000000 (Shadow mode setup?)

FF37F438: (PreproTwoAdd)
0xC0F08040 <- 0x00000001
FF37F448:
0xC0F08040 <- 0x80000000

0xC0F08060 <- 0x00000001 ([ENG] DSUNPACK_MODE)
0xC0F08060 <- 0x80000000

0xC0F08070 <- 0x00000001 ([ENG] UNPACK24_MODE)
0xC0F08070 <- 0x80000000

0xC0F08080 <- 0x00000001 ([ENG] ADUNPACK_MODE)
0xC0F08080 <- 0x80000000

0xC0F08090 <- 0x00000001 ([ENG] PACK32_MODE)
0xC0F08090 <- 0x80000000

0xC0F080A0 <- 0x00000001 ([ENG] DEF_CTRL)
0xC0F080A0 <- 0x80000000

0xC0F08100 -------- -------- -------- -------x (CCDSEL)
0xC0F08104 -------- -------- -------- -------x (DS_SEL)
0xC0F08108 -------- -------- -------- xxxxxxxx (OBWB_ISEL)
0xC0F0810C -------- -------- -------- xxxxxxxx (PROC24_ISEL)
0xC0F08110 -------- -------- -------- ----xxxx (DPCME_ISEL)
0xC0F08114 -------- -------- -------- ----xxxx (PACK32_ISEL)

0xC0F08120 <- 0x00000001 ([ENG] PACK16_MODE)
0xC0F08120 <- 0x80000000
0xC0F08130 <- 0x00000001 ([ENG] DEFM_MODE)
0xC0F08130 <- 0x80000000

0xC0F0814C -------- -------- -------- ----xxxx (DEFM_GRADE)

0xC0F08180 <- 0x00000001 (HIV)
0xC0F08180 <- 0x80000000

0xC0F08210 -------- -------- -------- ----xxxx (PACK16_ISEL)

0xC0F08220 <- 0 (ADKIZ)
0xC0F08220 <- 1


0xC0F0800C (g3gg0: 600D "ADMERG_2_IN_SE")
0xC0F08238 <- 0x10
0xC0F0823C <- 0
0xC0F08240 <- 0 (ADMERG)
0xC0F08240 <- 1
0xC0F08244 (ADMERG) (g3gg0: 600D "ADMERG_TOTAL_SIZE")
0xC0F08248 (ADMERG)

0xC0F08254 <- 0
0xC0F08258 <- 0

0xC0F082D4 -------- -------- -------- -----xxx (WDMAC32_ISEL)
0xC0F082D8 -------- -------- -------- -------x (WDMAC16_ISEL)
0xC0F082DC -------- -------- -------- ----xxxx (OBINTG_ISEL)
0xC0F082E0 -------- -------- -------- ----xxxx (AFFINE_ISEL)
0xC0F08390 -------- -------- -------- -------x (OBWB_ISEL2)
0xC0F08394 -------- -------- -------- -------x (PROC24_ISEL2)

0xC0F08398 -------- -------- -------- ------xx (PACK32_ISEL2)
0xC0F0839C -------- -------- -------- ------xx (PACK16_ISEL2)
0xC0F083A0 -------- -------- -------- ------xx (TAIWAN_ISEL)

Jpeg IC[]

550d 108

FF1C3258
0xC0E0005C (event)
0xC0E00040 <- 0x600
0xC0E00000 <- 1

FF1C1A64 lossy decoding?
0xC0E00004 <- 0x10008
0xC0E00050 <- 0


sub_FF1C1AA0 (raw decoding, lossless)
0xC0E00004 <- 0x1000A
0xC0E00050 <- 0

?
0xC0E00008 <- 2
FF1C1AD8 (jpeg encode)
0xC0E00004 <- 0x1010000
0xC0E00050 <- 0

FF1C350C SetEncodeYuv420LosslessParam. See cr2 format, it is SRAW1
0xC0E00004 <- 0x10002
0xC0E00050 <- 0
0xC0E00084 <- 0x30F
0xC0E00088 <- 0x00030201
0xC0E0008C <- 0x00111141
0xC0E00090 <- 0
0xC0E00094 <- 0x103
0xC0E00098 <- 0x00030201
0xC0E0009C <- 0x00101000
0xC0E000A0 <- 0
0xC0E00008 <- 1
0xC0E00010 <- param_r1 (size?)
0xC0E00014 <- param_r10
0xC0E00018 <- param_r11
0xC0E00080 <- param_r0 + param_r1 lsl#16
0xC0E000E8 <- param_r0 (buffer?)
0xC0E000EC <- 1 + param_r1 lsl#16

FF1C33A0 SetEncodeYuv422LosslessParam. See cr2 format, it is SRAW2/SRAW.
0xC0E00004 <- 0x10002
0xC0E00050 <- 0
0xC0E00084 <- 0x30F
0xC0E00088 <- 0x00030201
0xC0E0008C <- 0x00111121  // that means YUV422; 0x111141 = YUV420 (not sure if it's about source or destination)
0xC0E00090 <- 0
0xC0E00094 <- 0x103
0xC0E00098 <- 0x00030201
0xC0E0009C <- 0x00101000
0xC0E000A0 <- 0
0xC0E00008 <- 1
0xC0E00010 <- param_r1 (size?)
0xC0E00014 <- param_r10
0xC0E00018 <- param_r11
0xC0E00080 <- param_r0 + param_r1 lsl#16
0xC0E000E8 <- param_r0 (buffer?)
0xC0E000EC <- 1 + param_r1 lsl#16

FF1C32C8 SetEncodeLosslessParam. normal RAW
0xC0E00004 <- 0x10002
0xC0E00050 <- 0
0xC0E00084 <- 0x40E
0xC0E00088 <- 0x04030201
0xC0E0008C <- 0x11111111 (lossless?)
0xC0E00090 <- 0
0xC0E00094 <- 0x104
0xC0E00098 <- 0x04030201
0xC0E0009C <- 0x10001000
0xC0E000A0 <- 0
0xC0E00008 <- 1
0xC0E00010 <- param_r3
0xC0E00010 <- param_r3 (size?)
0xC0E00014 <- param_r10
0xC0E00018 <- param_r11
0xC0E00080 <- param_r0 + param_r1 lsl#16
0xC0E000E8 <- param_r0 (buffer?)
0xC0E000EC <- 1 + param_r1 lsl#16

H264[]

FF1C2AF0 SetEncodeH264Parameter
0xC0E1000C <- 0x8090 (JP62_OPMR3)
0xC0E10080 = JP62_SIZER
0xC0E100C0 <- 0x1280142 (JP62_SEQCR1)
0xC0E100D0 = JP62_PICCR1
0xC0E100E0 = JP62_SLCR1
0xC0E100E4 = JP62_SLCR2
0xC0E100FC <- 0x200 (JP62_MISCR)


H264n start?
FF1C2594:
0xC0E10044 0x400 == JP62_INTSR_IEVCPLT_BITON flag
           0x200 == JP62_INTSR_IEVSUS_BITON flag
0xC0E1002C tst 0x4000
0xC0E10020 tst 0xFF
0xC0E10024 32 bits, read

FF2986D4 RequestH264ThumbnailEnc

See Movie mode framebuffers (thanks Alex)

Advertisement