1 #include "stubs_asm.h" 2 3 //http://chdk.setepontos.com/index.php?topic=10617.msg104869#msg104869 4 DEF(file_counter_var, 0x6d3c) // Found @0xff985e38 by searching for "FileBackupProperty.c" 5 6 DEF(palette_control, 0x8414) // Found @0xff9d1720 Some instructions before loading Palette colour tables value 7 DEF(active_palette_buffer, 0x8414+0x8) // Found @0x: Guess!!! 8 DEF(palette_buffer_ptr, 0x8414+0xC) // Found @0xff9d15ac or 0xff9d1bf0 : Guess palette_control+0xC 9 DEF(palette_buffer, 0x106330) // Found @0xff9d1bf4 check this!! 10 11 //DEF(active_viewport_buffer, 0x1af0c) // By comparison to sx510hs, used near to LiveImage.c string 12 //DEF(active_viewport_buffer, 0x2108) //@ff84f438 By comparison to a2500 13 DEF(active_viewport_buffer, 0x1af0c+0x3c) //@ff84f478 + @ff84fda8, by comparison to sx410 14 15 DEF(viewport_buffers, 0xffbf409c) // ???? 16 17 DEF(viewport_fb_d, 0x3420+0x54) // Found @0xff8831ec (0x3420) + @0xff88322c (0x54) 18 19 DEF(bitmap_buffer, 0x3b18+0x24) // Found @0xff8a73bc - by comparison to ixus140 20 DEF(active_bitmap_buffer, 0x3b18+0x20) // Found @0xff8a73b0 - by comparison to ixus140 21 22 DEF(recreview_hold, 0x9288+0x1C) //@sub 0xffa0aaf0 23 24 DEF(_nrflag, 0xB01C+0x04) // Found @0xffa4d668 - by comparison to ixus410is 25 26 DEF(video_compression_rate, 0x75AC) // @ff9a8770: 0x7530+0x80-0x4 by comparison to sx410 100c 27 DEF(video_target_framesize, 0xCD44+0x2C) // found in sub_ffafc2f4 by comparison to sx410 100c 28 DEF(video_target_framesize2, 0xCD44+0x28) // approx. 2*video_target_framesize (for intraframes?), found in sub_ffafc2f4 by comparison to sx410 100c 29 30 DEF(av_override_semaphore ,0xcef0) // MoveIrisWithAv 31 32 DEF(viewport_fb_d, 0x3240+0x54) // Found @0xff8824a4 and 0xff8824f8 sx400is 100b by comparison with a810 100d 33 34 // the original some_flag_for_af_scan should not be used, as the fw's MakeAFScan function is not called 35 .globl some_flag_for_af_scan 36 some_flag_for_af_scan: .long 0