source: trunk/platform/g12/sub/100f/stubs_min.S @ 1316

Revision 1316, 1.4 KB checked in by philmoz, 21 months ago (diff)

PTP 'Live View' extensions.
Based on mweerden's original work - https://github.com/mweerden/CHDKPTPRemote/tree/remote-preview
Tested on G12, SX30, SX130IS and IXUS310.
Sample .Net client code - http://chdk.setepontos.com/index.php?topic=4338.msg72684#msg72684
Pre-compiled sample client - http://chdk.setepontos.com/index.php?topic=4338.msg72684#msg72684
Sample client is in the early stages and still needs work.

Line 
1#include "stubs_asm.h"
2
3DEF(physw_status, 0x34474)                                                      // found in kbd_read_keys (comp 1.00c)
4DEF(full_screen_refresh, 0xA5DC)                                        // found in FFA53B58, (comp 1.00c)
5DEF(physw_run, 0x1C30 + 0xC)                                            // found in FF8345EC, (comp 1.00c)
6DEF(canon_menu_active, 0x3210 + 4)                                      // found in FF896370 (comp 1.00c)
7DEF(canon_shoot_menu_active, 0x8AFC + 1)                        // possible in FF9DC4B0 (comp 1.00c)
8DEF(FlashParamsTable,0xFFC89900)                                        // found in FFB1EE54 (comp 1.00c)
9DEF(levent_table, 0xFFC0C030)                                           // Searched for string 00 08 00 00 02 00 00 00 (comp 1.00c)
10DEF(playrec_mode, 0x2F34 + 0x4)                                         // FF888084 (comp 1.00c)
11DEF(focus_len_table, 0xFFFE2A80)                                        // search for 30500 (longest focus length in micrometers) & 6100 (shortest length)
12DEF(zoom_busy, 0x71d4 + 0x14)                                           // (comp 1.00c)
13DEF(focus_busy,0x70B8 + 0x8)                                            // (comp 1.00c)
14DEF(movie_status, 0x7290 + 0x44)                                        // in FF9860E4 (comp 1.00c)
15DEF(recreview_hold, 0x84C0 + 0xE0)                                      // in FF9C06A0 (comp 1.00c)
16DEF(some_flag_for_af_scan, 0x76B4)                                      // @FF98A814 (comp 1.00c)
17DEF(zoom_status, 0xE590)                                                        // sub_FFB21764 (comp s95)
18
19DEF(rear_dial_position, 0xC0240106)
20DEF(front_dial_position, 0xC0240306)
21
22DEF(active_bitmap_buffer, 0xA610)                                       // 0xA5FC+0x14 (1.00f sub_FFA57B70 -> FFA57B74 + FFA57BC4)
23DEF(bitmap_buffer, 0xA618)                                                      // FFA57BC0
24DEF(active_palette_buffer, 0xA5E4)                                      // sub_FFA53C24 (1.00c)
25DEF(palette_buffer, 0xBBF5C)                                            // sub_FFA54118 (1.00c)
Note: See TracBrowser for help on using the repository browser.