source: trunk/platform/ixus100_sd780/sub/100c/stubs_entry_2.S @ 1259

Revision 1259, 8.8 KB checked in by philmoz, 22 months ago (diff)

IXUS100-SD780 - adds support for firmware version 1.00b from waterwingz
http://chdk.setepontos.com/index.php?topic=650.msg71190#msg71190

  • Property svn:eol-style set to native
Line 
1#include "stubs_asm.h"
2
3NHSTUB(TurnOffBackLight,0xff8810a0)     //DispSwCon_TurnOffBackLight
4NHSTUB(VbattGet,0xff820644)             // sigfinder2
5NHSTUB(vsprintf,0xFF81CBA0)             //eventproc_export_CPrintf look for function called before error txt
6NHSTUB(Mount_FileSystem,0xFF858BEC)             //Do we fix? Not in Dryos?
7NHSTUB(Unmount_FileSystem,0xFF858BEC)           //Do we fix? Not in Dryos?
8NHSTUB(rewinddir,0xFF858BEC)                    //Do we fix? Not in Dryos?
9NHSTUB(SetZoomActuatorSpeedPercent,0xFF858BEC)  //Do we fix? Not in Dryos?
10NHSTUB(strchr,0xFF88779C)                       //search AND R2, R1, #0xFF then LDRB R1, [R0]
11NHSTUB(kbd_pwr_on,0xFF858BEC)                   //Do we fix?
12NHSTUB(kbd_read_keys,0xFF821DCC)                //Look for LDR R0, =YYYY then BL GetKbdState then LDR R0, =YYYY
13NHSTUB(DoAFLock,0xff825334)                     // sigfinder2
14NHSTUB(UnlockAF,0xff82536c)                     // sigfinder2
15NHSTUB(LEDDrive,0xFF842698)
16NHSTUB(ScreenLock,0xFF99CEC4)                   //Look for ScreenLock
17NHSTUB(RefreshPhysicalScreen,0xFF99CF18)        //Look for ScreenUnLock
18NHSTUB(EnterToCompensationEVF,0xFF825420)       //Look for ExpOn
19NHSTUB(ExitFromCompensationEVF,0xFF825464)      //Look for ExpOff
20NHSTUB(PT_PlaySound,0xff85ad20)                 // sigfinder2
21NHSTUB(WriteSDCard,0xFF903B38)                  //Look for ADD     R7, R1, R2,LSL#2
22NHSTUB(GetDrive_FreeClusters,0xFF852440)        //Not certain
23NHSTUB(GetDrive_TotalClusters,0xFF852414)       //Not certain
24NHSTUB(GetDrive_ClusterSize,0xFF8523E8)         //Not certain
25NHSTUB(GetOpticalTemperature,0xFF845FA4)        //Not certain   
26NHSTUB(GetCurrentTargetDistance,0xFF912430)
27NHSTUB(kbd_p2_f,0xFF82170C)                     //task_PhySw+1C
28NHSTUB(qsort,0xFFA79A4C)                        //Look for "ORR     R2, R0, R2" (second hit)
29NHSTUB(PutInNdFilter,0xFFA3C4A4)
30NHSTUB(PutOutNdFilter,0xFFA3C4C8)  //Search for "NdActuator.c" and compare to SD990...
31NHSTUB(SetPropertyCase,0xFF86E17C)
32NHSTUB(OpLog_Get,0xFF86C53C)            //OpLog.Get()
33NHSTUB(qprintf,0xFF8115A8)
34NHSTUB(UnsetZoomForMovie,0xFF94AFC4)  //"ZoomCon_UnsetZoomForMovie"
35NHSTUB(ShowAllTaskInfo,0xFF91BA70) //HMMM
36NHSTUB(MoveIrisFullClose,0xFFA9237C)
37
38NHSTUB(AllocateUncacheableMemory, 0xFF827448) //Override default found version Replaced found one based on missed location..
39NHSTUB(kbd_pwr_off, 0xff843204)  // sigfinder2
40NHSTUB(stdioSetup, 0xFF813578)
41NHSTUB(HdmiRegDump,0xFF841CB0)
42NHSTUB(EdidDump,0xFF841BE8)
43NHSTUB(drvInfo,0xFF81E33C);
44NHSTUB(blah,0xFF8462F8);
45NHSTUB(open2,0xFF823C70);
46NHSTUB(strrchr,0xFF99F3CC)
47
48NHSTUB(ExpCtrlTool_StartContiAE, 0xFF82FF40) //"StartContiAE"
49NHSTUB(ExpCtrlTool_StopContiAE, 0xFF830084)  //"StopContiAE"
50
51NHSTUB(MakeAFScan, 0xFF85B170)  //DoAFLock   Well we don't know if this is the best way but it works for now....
52NHSTUB(apex2us,0xFF9A010C)  //See 0xFF888F4C
53NHSTUB(SetAE_ShutterSpeed, 0xFFA96F60)
54
55NHSTUB(PostLogicalEventForNotPowerType,0xff87392c) // sigfinder2
56NHSTUB(GetFocusLensSubjectDistance, 0xff912430) // sigfinder2
57NHSTUB(SetScriptMode, 0xff8740d0) // sigfinder2
58
59
60NHSTUB(rename                                  ,0xff8234f0) //  1                               *** != 0xff823d6c @ 100%
61NHSTUB(write                                   ,0xff823d44) //101                               *** != 0xff819b44 @ 100%
62NHSTUB(AllocateMemory                          ,0xffa3df5c) //101                             
63NHSTUB(Close                                   ,0xff823c98) //101                             
64NHSTUB(CreateTask                              ,0xff81afac) //101                             
65NHSTUB(DebugAssert                             ,0xff81b284) //111                             
66NHSTUB(DeleteFile_Fut                          ,0xff823544) //112                             
67NHSTUB(ExecuteEventProcedure                   ,0xff86a518) //  1                             
68NHSTUB(Fclose_Fut                              ,0xff8236c0) //101                             
69NHSTUB(Feof_Fut                                ,0xff8238ac) //  1                             
70NHSTUB(Fflush_Fut                              ,0xff8238e8) //  1                             
71NHSTUB(Fgets_Fut                               ,0xff823814) //  1                             
72NHSTUB(Fopen_Fut                               ,0xff823680) //101                             
73NHSTUB(Fread_Fut                               ,0xff82376c) //101                             
74NHSTUB(FreeMemory                              ,0xffa3df54) //101                             
75NHSTUB(Fseek_Fut                               ,0xff823860) //101                             
76NHSTUB(Fwrite_Fut                              ,0xff8237c0) //101                             
77NHSTUB(GetCurrentAvValue                       ,0xff913380) //102                             
78NHSTUB(GetKbdState                             ,0xff8431ec) //109                             
79NHSTUB(GetMemInfo                              ,0xff813be4) //  1                             
80NHSTUB(GetZoomLensCurrentPosition              ,0xffa31844) //102                             
81NHSTUB(GiveSemaphore                           ,0xff826e64) //112                               
82NHSTUB(LocalTime                               ,0xff867f08) //  1                             
83NHSTUB(Lseek                                   ,0xff823dd8) //101                             
84NHSTUB(MoveIrisWithAv                          ,0xffa3c0b4) //102                             
85NHSTUB(Open                                    ,0xff823c70) //101                             
86NHSTUB(PT_MoveDigitalZoomToWide                ,0xff85b138) //102                             
87NHSTUB(PT_MoveOpticalZoomAt                    ,0xff85b110) //102                                   
88NHSTUB(Read                                    ,0xff819ae4) //101                             
89NHSTUB(ReadFastDir                             ,0xffa1fd94) //  1                             
90NHSTUB(Remove                                  ,0xff823ce0) //  1                             
91NHSTUB(Restart                                 ,0xff828b98) //106                             
92NHSTUB(SetFileTimeStamp                        ,0xff823f74) //  1                             
93NHSTUB(Write                                   ,0xff823d44) //101                               
94NHSTUB(_log                                    ,0xffac9580) //111                             
95NHSTUB(_log10                                  ,0xffac820c) //112                             
96NHSTUB(_pow                                    ,0xffac837c) //114                             
97NHSTUB(_sqrt                                   ,0xffacb124) //  1                             
98NHSTUB(add_ptp_handler                         ,0xff9eabdc) //  3                               
99NHSTUB(close                                   ,0xff8198fc) //  1                             
100NHSTUB(closedir                                ,0xffa1fe64) //  1                             
101NHSTUB(err_init_task                           ,0xff814e2c) //  4                             
102NHSTUB(exmem_alloc                             ,0xff868dc8) //103                             
103NHSTUB(free                                    ,0xff813a3c) //112                             
104NHSTUB(lseek                                   ,0xff823dd8) //101                             
105NHSTUB(malloc                                  ,0xff813968) //112                             
106NHSTUB(memcmp                                  ,0xff81cc5c) //101                             
107NHSTUB(memcpy                                  ,0xff887900) //101                             
108NHSTUB(memset                                  ,0xff99f3f4) //101                             
109NHSTUB(mkdir                                   ,0xff82403c) //  1       
110NHSTUB(mktime_ext                              ,0xff88816c) //  1                             
111NHSTUB(open                                    ,0xff81984c) //  1                             
112NHSTUB(opendir                                 ,0xffa1fd00) //  1                             
113NHSTUB(openfastdir                             ,0xffa1fd00) //  1                             
114NHSTUB(read                                    ,0xff819ae4) //101                             
115NHSTUB(readfastdir                             ,0xffa1fd94) //  1                             
116NHSTUB(stat                                    ,0xff823ea4) //  1                             
117NHSTUB(strcat                                  ,0xff887714) //  1                             
118NHSTUB(strcmp                                  ,0xff81cbf4) //101                             
119NHSTUB(strcpy                                  ,0xff81cbdc) //101                             
120NHSTUB(strftime                                ,0xff887b74) //  1                             
121NHSTUB(strlen                                  ,0xff81cc38) //101                             
122NHSTUB(strncpy                                 ,0xff82cd3c) //  1                             
123NHSTUB(strtol                                  ,0xff82cf74) //101                             
124NHSTUB(strtolx                                 ,0xff82cd78) //109                             
125
126
Note: See TracBrowser for help on using the repository browser.