1 #include "stubs_asm.h" 2 // For sx700v100eStarted with sx710hs 3 4 // **** Found *** 5 6 DEF(file_counter_var, 0x00013128) // sx700v100e found @fc1a82b8 by searching for "FileBackupProperty.c", similar to G7X 7 8 DEF(av_override_semaphore ,0x00022784) // sx700v100e found in MoveIrisWithAv, required for bracketing Created by Mecha.Create in fc40cb82 9 10 DEF(canon_menu_active ,0x0000c7b0+0x4) // sx700v100e found @fc3d64c0, via call to sub_fc3d64be, near ref to "MviCon_ClrEvt" @fc2f186e, just after PT_PlaySound call 11 12 // originally by searching https://chdk.setepontos.com/index.php?topic=12532.msg129914#msg129914 13 // fc19194a from "ImgDDev.c", similar to g7x 14 DEF(current_fb_d ,0x0000fb58+0x24) // sx700v100e found 15 16 DEF(simple_movie_status ,0x13ac8) // sx700v100e found 0x00013a20 + 0x80 + 0x28 @fc1b1e62 sub_fc1b1e48 via task_MovieRecord 0xfc1b40e3 17 18 DEF(zoom_status ,0x0001ec38) // sx700v100e found 0x0001ec58 - 0x20 @fc343122 via "TerminateDeliverToZoomController", unclear which offset should be used 19 20 // fc2fc470 via "ShtCon_StopReview", similar to g7x https://chdk.setepontos.com/index.php?topic=12692.msg130261#msg130261 21 // ftm: @fc3037a6 used the sx280 method near ShootCon_NotifyStartReviewHold 22 DEF(recreview_hold ,0x8ebc) // sx700v100e found 0x8df0 + 0x80 + 0x4c 23 24 // based on search for 4500 100 25 // 112 entries, 2 words each, first is fl 26 DEF(focus_len_table ,0xfdf2ce94) // sx700v100e found thanks to reyalp 27 28 DEF(bitmap_buffer, 0xc754+0x34) // sx700v100e found struct starts @ 0xc754, from sub @0xfc30ccdc after "VTM SW", +0x34 @fc30cd74 29 30 // Camera has 2 RAW buffers @ ?? & ?? 31 DEF(raw_buffers ,0xfc5d9098) // sx700v100e found @fc160e42 32 33 DEF(active_raw_buffer ,0x0000baf4) // sx700v100e found @0xfc12fe98, 0xffffffff when uninited (0xC offset added similar to sx280) 34 35 // Contains viewport address that updates at ~30fps in rec mode, 0 or last rec value in pb 36 DEF(current_viewport_buffer ,0x00008788+0x38) // sx700v100e found @0xfc12008c -- 0x00008788 + 0x38 (Same as G16 search GetMovieJpegVRAMVPixelsSize_FW) 37 38 // rmem 0xfc568a64 3 -i32 39 // 0xfc568a64: 0x43312300 0x433c0b00 0x4346f300 0x4351db00 40 DEF(viewport_buffers ,0xfc568a64) // sx700v100e found @0xfc11f37c 0xfc568a4c + 0x10 + 0x8 similar to G16 41 42 DEF(dial_positions ,0x0000fcf0) 43 44 // Search for ActionStopRecordMovie, then go till next branchtable 45 DEF(displaytype, 0x8f98) // sx700v100e Similar to sx280 0x8f54 + 0x44 found @0xfc120a38 (GetDisplayType) 46 47 // *** Not Found *** 48 49 FAKEDEF(video_compression_rate, 1) 50 51 FAKEDEF(canon_shoot_menu_active, 1) 52 53 54 // *** Probably Not Needed *** 55 56 // to hook asserts for debugging 57 //DEF(assert_handler,0x00008418) // from DebugAssert, 0x010e100 in RAM code 58 59 // TODO sx280 C&P 60 //DEF(error_table ,0xfc512234) // Found @0xfc1abf24 61 62 // Camera does not have canon_raw? No DevelopPipeline.c in sx700v100e 63 64 //DEF(raw_buffers_canon_raw ,0xfc631864) //xfound near DevelopAddress.c 65 //DEF(raw_buffers_jpeg ,0xfc631bf4) //xfound near DevelopPipeline.c 0xfc631c00