1 #include "stubs_asm.h" 2 3 //http://chdk.setepontos.com/index.php?topic=10617.msg104869#msg104869 4 DEF(file_counter_var, 0x00006de8) // found by searching for "FileBackupProperty.c" 5 6 DEF(palette_control, 0x00007cd8) // Found @0xff9b0df4 Some instructions before loading Palette colour tables value 7 DEF(active_palette_buffer, 0x00007ce0) // Found @0xff9b0f70 8 DEF(palette_buffer_ptr, 0x00007ce4) // Found @0xff9b0f98 : Guess palette_control+0xC 9 DEF(palette_buffer, 0x000c67f4) // Found @0xff9b1374 check this!! 10 11 DEF(active_viewport_buffer, 0x00002164) // sub_ff83cf5c - by comparison to ixus140 12 DEF(viewport_buffers, 0xffbac5f4) // Note: this address tends to change between fw revisions because it's in the 'pre-initialized data' area! 13 14 DEF(viewport_fb_d, 0x000034D4) // ??? Found @0xff8701b4 (0x3380) + @0xff8701f0 (0x54) 15 16 DEF(bitmap_buffer, 0x00003ee8) // Found @0xff892df8 (0x3ec0) + @0x (0x28) - by comparison to ixus140 17 DEF(active_bitmap_buffer, 0x00003ee4) // Found @0xff892df8 (0x3ec0) + @0x (0x24) - by comparison to ixus140 18 19 DEF(recreview_hold, 0x00002894+0x84) // @0xff8507bc +0x84 (offset used by A2500) 20 21 //TODO 22 DEF(rear_dial_position, 0xC0240106) //To do