Ignore:
Timestamp:
02/05/12 00:33:18 (16 months ago)
Author:
philmoz
Message:

Re-align CHDK and CHDK-DE code base (part 1) - http://chdk.setepontos.com/index.php?topic=7601.0

  • add a1000, include a3300, ixus1000 and ixus230 in auto build
  • align signature finder code and stubs files
  • align files with just white space differences
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_0/platform/a3000/sub/100d/stubs_entry.S

    r1635 r1637  
    2323//NSTUB(SetScriptMode                         ,0xffc6fd38) //101        *** != 0xffc00f70 
    2424//NSTUB(UnlockAF                              ,0xffc2777c) //102        *** != 0xffc59f88 
    25 //NSTUB(kbd_pwr_off                           ,0xffc445a0) //  2 64%    *** != 0xffc43e0c 
     25//NSTUB(kbd_pwr_off                           ,0xffc445a0) //  2 64%    *** != 0x00000000 
    2626NSTUB(kbd_pwr_on                              ,0xffc44560) //  2 82% 
    2727//NSTUB(rename                                ,0xffc25b9c) //  4        *** != 0xffc26394 
     
    3232 
    3333// Values below can be overridden in 'stubs_min.S': 
    34 //DEF(physw_status                            ,0x0002eed4) // Found @0xffc23cd4,          stubs_min = 0x0002eed4 (0x2EED4) 
    35 //DEF(physw_run                               ,0x00001bf0) // Found @0xffc23938,          stubs_min = 0x00001bf0 (0x1BE4+0x0C) 
    36 //DEF(levent_table                            ,0xffeafd74) // Found @0xffeafd74,          stubs_min = 0xffeafd74 (0xFFEAFD74) 
    37 //DEF(FlashParamsTable                        ,0xffeddcd0) // Found @0xffeddcd0,          stubs_min = 0xffeddcd0 (0xFFEDDCD0) 
    38 //DEF(movie_status                            ,0x000056f8) // Found @0xffd13678,          stubs_min = 0x000056f8 (0x56C0+0x38) 
    39 //DEF(full_screen_refresh                     ,0x000076cc) // Found @0xffd8520c,          stubs_min = 0x000076cc (0x76CC) 
    40 //DEF(canon_menu_active                       ,0x00002b7c) // Found @0xffc6d20c,          stubs_min = 0x00002b7c (0x2B78+4) 
    41 //DEF(canon_shoot_menu_active                 ,0x000068b1) // Found @0xffd4825c,          stubs_min = 0x000068b1 (0x68B0+1) 
    42 //DEF(playrec_mode                            ,0x000028d8) // Found @0xffc60944,          stubs_min = 0x000028d8 (0x28D4+0x4) 
    43 //DEF(zoom_status                             ,0x00009cd8) // Found @0xffe184bc,          stubs_min = 0x00009cd8 (0x9CD8) 
    44 //DEF(some_flag_for_af_scan                   ,0x00005aa0) // Found @0xffd16004,          stubs_min = 0x00005aa0 (0x5AA0) 
     34DEF(physw_status                            ,0x0002eed4) // Found @0xffc23cd4 
     35DEF(physw_run                               ,0x00001bf0) // Found @0xffc23938 
     36DEF(levent_table                            ,0xffeafd74) // Found @0xffeafd74 
     37DEF(FlashParamsTable                        ,0xffeddcd0) // Found @0xffeddcd0 
     38DEF(movie_status                            ,0x000056f8) // Found @0xffd13678 
     39DEF(full_screen_refresh                     ,0x000076cc) // Found @0xffd8520c 
     40DEF(canon_menu_active                       ,0x00002b7c) // Found @0xffc6d20c 
     41DEF(canon_shoot_menu_active                 ,0x000068b1) // Found @0xffd4825c 
     42DEF(playrec_mode                            ,0x000028d8) // Found @0xffc60944 
     43DEF(zoom_status                             ,0x00009cd8) // Found @0xffe184bc 
     44DEF(some_flag_for_af_scan                   ,0x00005aa0) // Found @0xffd16004 
    4545// focus_len_table contains zoom focus lengths for use in 'get_focal_length' (main.c). 
    4646// each entry contains 3 int value(s), the first is the zoom focus length. 
    4747// there are 8 entries in the table - set NUM_FL to 8 
    4848DEF(focus_len_table                         ,0xfffe29b0) // Found @0xfffe29b0 
    49 //DEF(zoom_busy                               ,0x00005648) // Found @0xffd0f784,          stubs_min = 0x00005648 (0x5634+0x14) 
    50 //DEF(focus_busy                              ,0x000054ec) // Found @0xffd0b1b0,          stubs_min = 0x000054ec (0x54E4+8) 
     49DEF(zoom_busy                               ,0x00005648) // Found @0xffd0f784 
     50DEF(focus_busy                              ,0x000054ec) // Found @0xffd0b1b0 
    5151//DEF(recreview_hold                          ,0x00003174) // Found @0xffc78d30, ** != ** stubs_min = 0x00006598 (0x64CC+0xCC) 
    5252 
     
    105105NSTUB(DeleteDirectory_Fut                     ,0xffc25d14) //  1 
    106106NSTUB(DeleteFile_Fut                          ,0xffc25c30) //112 
    107 //NSTUB(EnterToCompensationEVF                ,0xffc277f4) //104            == 0xffc277f4 
     107NSTUB(EnterToCompensationEVF                  ,0xffc277f4) //104 
    108108NSTUB(ExecuteEventProcedure                   ,0xffc68958) //  1 
    109 //NSTUB(ExitFromCompensationEVF               ,0xffc27838) //104            == 0xffc27838 
     109NSTUB(ExitFromCompensationEVF                 ,0xffc27838) //104 
    110110NSTUB(ExitTask                                ,0xffc0f3a0) //101 
    111 //NSTUB(ExpCtrlTool_StartContiAE              ,0xffc35110) //104            == 0xffc35110 
    112 //NSTUB(ExpCtrlTool_StopContiAE               ,0xffc351e8) //104            == 0xffc351e8 
     111NSTUB(ExpCtrlTool_StartContiAE                ,0xffc35110) //104 
     112NSTUB(ExpCtrlTool_StopContiAE                 ,0xffc351e8) //104 
    113113NSTUB(Fclose_Fut                              ,0xffc25dac) //101 
    114114NSTUB(Feof_Fut                                ,0xffc25f98) //  1 
     
    141141NSTUB(LocalTime                               ,0xffc66668) //  1 
    142142NSTUB(LockMainPower                           ,0xffc6ff70) //103 
    143 //NSTUB(Lseek                                 ,0xffc263d4) //101            == 0xffc263d4 
     143NSTUB(Lseek                                   ,0xffc263d4) //101 
    144144NSTUB(MakeDirectory_Fut                       ,0xffc25ca4) //  1 
    145145NSTUB(MoveFocusLensToDistance                 ,0xffe5f12c) //102 
     
    148148NSTUB(NewTaskShell                            ,0xffc6c070) //103 
    149149NSTUB(Open                                    ,0xffc2624c) //101 
    150 //NSTUB(PB2Rec                                ,0xffc72d38) //104            == 0xffc72d38 
     150NSTUB(PB2Rec                                  ,0xffc72d38) //104 
    151151NSTUB(PT_MoveDigitalZoomToWide                ,0xffc59f28) //102 
    152152NSTUB(PT_MoveOpticalZoomAt                    ,0xffc59f00) //102 
    153 //NSTUB(PT_PlaySound                          ,0xffc624e8) //  7            == 0xffc624e8 
     153NSTUB(PT_PlaySound                            ,0xffc624e8) //  7 
    154154NSTUB(PostLogicalEventForNotPowerType         ,0xffc6f7a0) //103 
    155155NSTUB(PostLogicalEventToUI                    ,0xffc6f7ec) //103 
    156 //NSTUB(PutInNdFilter                         ,0xffe053f4) //102            == 0xffe053f4 
    157 //NSTUB(PutOutNdFilter                        ,0xffe05418) //102            == 0xffe05418 
     156NSTUB(PutInNdFilter                           ,0xffe053f4) //102 
     157NSTUB(PutOutNdFilter                          ,0xffe05418) //102 
    158158NSTUB(Read                                    ,0xffc0b270) //101 
    159 //NSTUB(ReadFastDir                           ,0xffdf6368) //  4            == 0xffdf6368 
    160 //NSTUB(Rec2PB                                ,0xffc72d78) //104            == 0xffc72d78 
    161 //NSTUB(RefreshPhysicalScreen                 ,0xffd85bf0) //104            == 0xffd85bf0 
    162 //NSTUB(Remove                                ,0xffc262ec) //  4            == 0xffc262ec 
    163 //NSTUB(RenameFile_Fut                        ,0xffc25b9c) //  4            == 0xffc25b9c 
     159NSTUB(ReadFastDir                             ,0xffdf6368) //  4 
     160NSTUB(Rec2PB                                  ,0xffc72d78) //104 
     161NSTUB(RefreshPhysicalScreen                   ,0xffd85bf0) //104 
     162NSTUB(Remove                                  ,0xffc262ec) //  4 
     163NSTUB(RenameFile_Fut                          ,0xffc25b9c) //  4 
    164164NSTUB(Restart                                 ,0xffc2ae90) //106 
    165165NSTUB(SetAE_ShutterSpeed                      ,0xffe618bc) //102 
    166166NSTUB(SetAutoShutdownTime                     ,0xffc6ffe4) //103 
    167167NSTUB(SetCurrentCaptureModeType               ,0xffc76674) //101 
    168 //NSTUB(SetFileTimeStamp                      ,0xffc26554) //  4            == 0xffc26554 
     168NSTUB(SetFileAttributes                       ,0xffc265b0) //  3 
     169NSTUB(SetFileTimeStamp                        ,0xffc26554) //  4 
    169170NSTUB(SetLogicalEventActive                   ,0xffc6fce8) //101 
    170171NSTUB(SetParameterData                        ,0xffd36c80) //101 
     
    172173NSTUB(SleepTask                               ,0xffc29530) //101 
    173174NSTUB(TakeSemaphore                           ,0xffc0ef9c) //101 
    174 //NSTUB(TurnOffBackLight                      ,0xffc7b440) //104            == 0xffc7b440 
    175 //NSTUB(TurnOnBackLight                       ,0xffc7b428) //104            == 0xffc7b428 
    176 //NSTUB(UIFS_WriteFirmInfoToFile              ,0xffd27398) //103            == 0xffd27398 
     175NSTUB(TurnOffBackLight                        ,0xffc7b440) //104 
     176NSTUB(TurnOnBackLight                         ,0xffc7b428) //104 
     177NSTUB(UIFS_WriteFirmInfoToFile                ,0xffd27398) //103 
    177178NSTUB(UnlockMainPower                         ,0xffc6fec4) //103 
    178 //NSTUB(UnsetZoomForMovie                     ,0xffd3cc54) //104            == 0xffd3cc54 
     179NSTUB(UnsetZoomForMovie                       ,0xffd3cc54) //104 
    179180NSTUB(UpdateMBROnFlash                        ,0xffc522c0) //105 
    180181NSTUB(VbattGet                                ,0xffc22cf0) //103 
     
    185186NSTUB(_pow                                    ,0xffe8dafc) //114 
    186187NSTUB(_sqrt                                   ,0xffe8fdb0) //  1 
    187 //NSTUB(add_ptp_handler                       ,0xffdc8de8) //  3            == 0xffdc8de8 
    188 //NSTUB(apex2us                               ,0xffd880ec) //  4            == 0xffd880ec 
     188NSTUB(add_ptp_handler                         ,0xffdc8de8) //  3 
     189NSTUB(apex2us                                 ,0xffd880ec) //  4 
    189190NSTUB(close                                   ,0xffc0b088) //  1 
    190 //NSTUB(closedir                              ,0xffdf61c4) //  4            == 0xffdf61c4 
     191NSTUB(closedir                                ,0xffdf61c4) //  4 
    191192NSTUB(err_init_task                           ,0xffc05f50) //  4 
    192193NSTUB(exmem_alloc                             ,0xffc67308) //103 
     
    196197NSTUB(kbd_p2_f                                ,0xffc23604) //109 
    197198NSTUB(kbd_read_keys                           ,0xffc23cd4) //109 
    198 //NSTUB(kbd_read_keys_r2                      ,0xffc43eac) //109            == 0xffc43eac 
    199 //NSTUB(lseek                                 ,0xffc263d4) //101            == 0xffc263d4 
     199NSTUB(kbd_read_keys_r2                        ,0xffc43eac) //109 
     200NSTUB(lseek                                   ,0xffc263d4) //101 
    200201NSTUB(malloc                                  ,0xffc04104) //112 
    201202NSTUB(memcmp                                  ,0xffc11280) //101 
     
    206207NSTUB(open                                    ,0xffc0afd8) //  1 
    207208NSTUB(opendir                                 ,0xffdf6214) //  4 
    208 //NSTUB(openfastdir                           ,0xffdf6214) //  4            == 0xffdf6214 
    209 //NSTUB(qsort                                 ,0xffe471a0) //  4            == 0xffe471a0 
     209NSTUB(openfastdir                             ,0xffdf6214) //  4 
     210NSTUB(qsort                                   ,0xffe471a0) //  4 
    210211NSTUB(rand                                    ,0xffc11388) //  1 
    211212NSTUB(read                                    ,0xffc0b270) //101 
    212 //NSTUB(readfastdir                           ,0xffdf6368) //  4            == 0xffdf6368 
    213 //NSTUB(reboot_fw_update                      ,0xffdf7bdc) //  1            == 0xffdf7bdc 
    214 //NSTUB(set_control_event                     ,0xffc6fa08) //111            == 0xffc6fa08 
     213NSTUB(reboot_fw_update                        ,0xffdf7bdc) //  1 
     214NSTUB(set_control_event                       ,0xffc6fa08) //111 
    215215NSTUB(srand                                   ,0xffc1137c) //  1 
    216216NSTUB(stat                                    ,0xffc2641c) //  3 
    217 //NSTUB(strcat                                ,0xffc7feb8) //  1            == 0xffc7feb8 
     217NSTUB(strcat                                  ,0xffc7feb8) //  1 
    218218NSTUB(strchr                                  ,0xffc03fe8) //  1 
    219219NSTUB(strcmp                                  ,0xffc1123c) //101 
     
    223223NSTUB(strncmp                                 ,0xffc03f9c) //  1 
    224224NSTUB(strncpy                                 ,0xffc03f60) //  1 
    225 //NSTUB(strrchr                               ,0xffc0400c) //  1            == 0xffc0400c 
     225NSTUB(strrchr                                 ,0xffc0400c) //  1 
    226226NSTUB(strtol                                  ,0xffc2ef6c) //101 
    227227NSTUB(strtolx                                 ,0xffc2ed70) //109 
Note: See TracChangeset for help on using the changeset viewer.