Ignore:
Timestamp:
12/02/11 05:32:17 (2 years ago)
Author:
philmoz
Message:

Updates for finsig_dryos.c:

  • The 'ctypes' array used in generic/wrappers.c exists in the firmware for dryos cameras. finsig_dryos.c now adds an entry for this to stubs_entry.S so the array is no longer needed in the CHDK code.
  • Values from stubs_min.S that are correctly found by finsig_dryos.c can be removed from stubs_min.S. The entries will then be included in stubs_entry.S (as is done for stubs_entry_2.S). stubs_min.S cleaned up for G12, SX30, SX40 and IXUS310.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/sx40hs/sub/100f/stubs_min.S

    r1430 r1444  
    11#include "stubs_asm.h" 
    22 
    3  
     3// Found manually 
     4DEF(focus_len_table                                                     ,0xFFF4A3DC)    // UNKOWN !!search for 70000 (longest focus length in micrometers) & 5000 (shortest length) 
     5DEF(zoom_busy                                                           ,0x2E10 + 0x1C) //FF071C70 + FF071CA8 SX40 
    46DEF(focus_busy                                                          ,0x8D00 + 8)    //FF1BBCF8 SX40HS 
    5 DEF(zoom_busy                                                           ,0x2E10 + 0x1C) //FF071C70 + FF071CA8 SX40 
    6 DEF(canon_menu_active                       ,0x34EC+4)      //FF091B6C + FF091B70 SX40 
    77DEF(recreview_hold                                                      ,0x947C + 0xF0) // UNKNOWN ??? 
    8 DEF(playrec_mode                            ,0x00003214) 
    9 DEF(some_flag_for_af_scan                   ,0x9970+0x8)        //NOT SURE SX40 FF1D63F8 
    10 DEF(led_table                                                           ,0x2614 + 0x04) //FF056E5C SX40 
    11 DEF(movie_status                            ,0x2ED8+0x44)   //FF07774C +  FF07775C 
    12 DEF(focus_len_table                                                     ,0xFFF4A3DC)    // UNKOWN !!search for 70000 (longest focus length in micrometers) & 5000 (shortest length) 
    13 DEF(enabled_refresh_physical_screen                     ,0x47F0 +0x14)  // FF0B138C + FF0B13B0 SX40 
    14  
    15 // Values below go in 'stubs_min.S': 
    16 DEF(physw_status                            ,0x00037548) // Found @0xff024dd8,          stubs_min = 0x00037548 (0x37548) 
    17 DEF(physw_run                               ,0x00001c10) // Found @0xff024968,          stubs_min = 0x00001c10 (0x1C10) 
    18 DEF(levent_table                            ,0xff593a0c) // Found @0xff593a0c,          stubs_min = 0xff593a0c (0xFF593A0C) 
    19 DEF(FlashParamsTable                        ,0xff607f74) // Found @0xff607f74,          stubs_min = 0xff607f74 (0xFF607F74) 
    20 DEF(full_screen_refresh                     ,0x0000c2d8) // Found @0xff2917e4,          stubs_min = 0x0000c2d8 (0xC2D8) 
    21 DEF(canon_shoot_menu_active                 ,0x0000ab6d) // Found @0xff22a708, ** != ** stubs_min = 0x00009995 (0x00009995) 
    22 DEF(zoom_status                             ,0x000111f8) // Found @0xff36e6dc, ** != ** stubs_min = 0x000111d8 (0x111D8) 
    23  
    24  
    25 DEF(rear_dial_position, 0xC0240106) 
    268DEF(active_bitmap_buffer, 0xC314)                                        
    279DEF(bitmap_buffer, 0xC31C) 
     
    3113DEF(viewport_buffers, 0xFF43457C)                       // 1.00g sub_FF045D2C (FF0460F0) 
    3214DEF(active_viewport_buffer, 0x215C)                     // 1.00g sub_FF045D2C (FF045D30 & FF04611C) 
     15 
     16DEF(some_flag_for_af_scan                   ,0x9970+0x8)        //NOT SURE SX40 FF1D63F8 
     17DEF(led_table                                                           ,0x2614 + 0x04) //FF056E5C SX40 
     18DEF(movie_status                            ,0x2ED8+0x44)   //FF07774C +  FF07775C 
     19DEF(enabled_refresh_physical_screen                     ,0x47F0 +0x14)  // FF0B138C + FF0B13B0 SX40 
     20 
     21DEF(rear_dial_position, 0xC0240106) 
Note: See TracChangeset for help on using the changeset viewer.