1 #include "stubs_asm.h" 2 3 //DEF(led_table,) 4 DEF(jpeg_count_str, 0x000e4308) // Found @0xfc0fc46c 5 DEF(file_counter_var, 0x000102dc) // found by searching for "FileBackupProperty.c" 6 DEF(ctypes, 0xfc481088) 7 8 // Camera has 2 RAW buffers @ 0x44000000 & 0x4adb54a0 9 DEF(raw_buffers ,0xfc4fa954) // Found @0xfc16d43e 10 DEF(active_raw_buffer ,0x0000a08c) // Found @0xfc13fa6c, 0xffffffff when uninited... 11 DEF(fileio_semaphore ,0x000103b4) // Found @0xfc05ccb0 12 13 DEF(physw_status ,0x0002ae70) // Found @0xfc0604ae 14 DEF(physw_run ,0x00008328) // Found @0xfc0601f6 15 DEF(physw_sleep_delay ,0x00008330) // Found @0xfc0601f6 16 17 //DEF(error_table ,0xfc512234) // Found @0xfc1abf24 18 19 DEF(levent_table ,0xfc512594) // Found @0xfc0a4b40 20 DEF(FlashParamsTable ,0xfc7313a0) // 0xfc730610 -> 0xfc7313a0 21 DEF(simple_movie_status ,0x00010af8) // one from 3 candidates, based on ram snooping, 1 when recording, 0 when not 22 FAKEDEF(video_compression_rate, 1) 23 DEF(full_screen_refresh ,0x00012a94) // Found @0xfc2b0f5c 24 DEF(canon_menu_active ,0x0000ac58) // Found @0xfc27d0bc 25 FAKEDEF(canon_shoot_menu_active, 1) // ??? not found 26 DEF(playrec_mode ,0x0000a140) // Found @0xfc27937e 27 DEF(zoom_status ,0x00018b04) // Found @0xfc30e61c 28 // focus_len_table contains zoom focus lengths for use in 'get_focal_length' (main.c). 29 // each entry contains 2 int value(s), the first is the zoom focus length. 30 // there are 102 entries in the table - set NUM_FL to 101 31 DEF(focus_len_table ,0xfdf6ad20) 32 DEF(zoom_busy ,0x00010814) // Found @0xfc1a0998 33 DEF(focus_busy ,0x00010694) // Found @0xfc28b964 34 DEF(recreview_hold ,0x00008DE4) // Found @0xfc2a2c22 35 //DEF_CONST(uiprop_count ,0x00000083) // Found @0xfc090268 36 37 DEF(bitmap_buffer, 0xac18) // ?, struct starts @ 0xabdc 38 39 //.globl bitmap_buffer; bitmap_buffer: ; .long 0x427e3000 ; .long 0x42621000 ; 40 41 42 // FAKEDEF(active_viewport_buffer, 1) // ? 43 DEF(current_fb_d ,0x0000d960) // 0xd940 + 0x20, found @0xfc186624 (102b), similar to 0xfc1ba452 in g7x 100d 44 DEF(current_viewport_buffer ,0x000087b4) // 0x86f4 + 0xc0 (@0xfc1349a4), contains viewport address that updates at ~30fps in rec mode, 0 or last rec value in pb 45 DEF(viewport_buffers ,0xfc4d3568) // from memory search 46 47 DEF(jog_position, 0xdb48) // 0xdb34 +0x14, +0x18 48 DEF(jog_hw_pos, 0xd9854004) // found by browsing the 0xd985xxxx range... 49 50 51 //FAKEDEF(enabled_refresh_physical_screen, 1) 52 53 DEF(displaytype, 0x8eb8) //0x8ea4 + 0x14, found @ fc135f2a (GetDisplayType) 54 55 DEF(task_AGPSDownloader, 0xFC07BA67)