source: trunk/platform/ixus120_sd940/sub/103c/stubs_entry_2.S @ 1216

Revision 1216, 7.6 KB checked in by reyalp, 2 years ago (diff)

ixus120_sd940 updated stubs and correct modemap - from waterwingz in http://chdk.setepontos.com/index.php?topic=650.msg69393#msg69393

  • Property svn:eol-style set to native
Line 
1#include "stubs_asm.h"
2
3#define NULLSUB 0xFF810B04
4
5NHSTUB(ExpCtrlTool_StartContiAE, 0xFF844034)
6NHSTUB(MakeAFScan, 0xFF9406CC)
7NHSTUB(write, 0xff835444)                                               // ** updated 2011/06/25
8
9//** subs in signatures_dryos.h but not auto found
10
11NHSTUB(EnterToCompensationEVF , 0xFF8369D4)             // SD940 103c matched with SD90 101a
12NHSTUB(ExitFromCompensationEVF  , 0xFF836A18)   // SD940 103c matched with SD90 101a
13
14NHSTUB(TurnOffBackLight , 0xFF8976A8)                   // SD940 103c matched with SD90 101a
15NHSTUB(TurnOnBackLight, 0xFF897690)                             // SD940 103c matched with SD90 101a
16
17NHSTUB(Lseek , 0xFF8354D0)                                              // SD940 103c matched with SD90 101a
18
19NHSTUB(PT_PlaySound , 0xFF879764)                               // SD940 103c matched with SD90 101a
20
21NHSTUB(openfastdir , 0xFFA4D18C)                                // SD940 103c matched with SD90 101a
22NHSTUB(readfastdir , 0xFFA4D2C0)                                // SD940 103c matched with SD90 101a
23
24NHSTUB(RefreshPhysicalScreen , 0xFF9D206C)              // SD940 103c matched with SD90 101a & SD980 1.01c
25NHSTUB(ScreenLock, 0xFF9D1E44)                                  // SD940 103c close to SD90 101a (extra code in SD940 sub)
26NHSTUB(ScreenUnlock,0xFF9D1E84)                                 // SD940 103c matched with SD90 101a
27
28NHSTUB(Remove , 0xFF8353E8)                                             // SD940 103c matched with SD90 101a
29NHSTUB(rename , 0xff834cac)                                             // ** updated 2011/06/25 from 0xFF835490
30NHSTUB(UIFS_WriteFirmInfoToFile , 0xFF956904)   // SD940 103c matched with SD90 101a
31
32//** subs not in signatures_dryos.h
33
34NHSTUB(SetScriptMode, 0xFF810F4C)                               // SD940 103c matched with SD90 101a
35NHSTUB(LEDDrive, 0xFF8582F4)                                    // SD940 103c matched with SD90 101a
36NHSTUB(apex2us, 0xFF9D555C)                                             // SD940 103c matched with SD90 101a
37NHSTUB(WriteSDCard, 0xff926720)                                 // updated 2011JUN09 SD940 103c matched with SD90 101a
38NHSTUB(UnlockAF, 0xFF8368B4)                                    // SD940 103c matched with SD90 101a
39NHSTUB(DoAFLock, 0xFF83687C)                                    // FFA4D148
40NHSTUB(UnsetZoomForMovie, 0xFF9714AC)                   // SD940 103c matched with SD90 101a
41
42NHSTUB(PutInNdFilter, 0xFFA67DD0)                               // SD940 103c matched with SD940 102c NHSTUB(PutInNdFilter, 0xFFA67C08)
43NHSTUB(PutOutNdFilter, 0xFFA67DF4)                              // SD940 103c matched with SD940 102c NHSTUB(PutOutNdFilter, 0xFFA67C2C)
44
45NHSTUB(platformsub_kbd_fetch_data, 0xFF858DF8)  //????????????
46
47//** subs with less than 100% match
48
49NHSTUB(set_control_event, 0xff88a55c)                   // *SD940 103c accept stubs_entry.s value per http://chdk.setepontos.com/index.php?topic=4338.msg61396#msg61396
50NHSTUB(closefastdir, 0xFFA4D148)                                // *SD940 103c matched with SD90 101a was 0xffa4d45c = best match: 71%
51NHSTUB(ExitTask, 0xff81e844)                                    //      SD940 103c matched with SD90 101a & finsig best match: 57%
52NHSTUB(free, 0xff814138)                                                //      SD940 103c matched with SD90 101a & finsig best match: 95%
53NHSTUB(FreeUncacheableMemory, 0xff8388d8)               //      SD940 103c matched with SD90 101a & finsig best match: 91%
54NHSTUB(GetBatteryTemperature, 0xff85bd0c)               //      SD940 103c matched with SD90 101a & finsig best match: 52%
55NHSTUB(GetCCDTemperature, 0xff85bc98)                   //      SD940 103c matched with SD90 101a & finsig best match: 52%
56NHSTUB(GetCurrentAvValue, 0xff936720)                   // ?SD940 103c no match with SD90 101a -> finsig best match: 93%
57NHSTUB(GetFocusLensSubjectDistance, 0xff9358ec) //      SD940 103c matched with SD90 101a & finsig best match: 64%
58NHSTUB(GetOpticalTemperature, 0xff85bd80)               //      SD940 103c matched with SD90 101a & finsig best match: 96%
59NHSTUB(GetParameterData, 0xff96b590)                    //      SD940 103c matched with SD90 101a & finsig best match: 96%
60NHSTUB(GetPropertyCase, 0xff8849a4)                             //      SD940 103c matched with SD90 101a & finsig best match: 68%
61NHSTUB(GetSystemTime, 0xffa69ef8)                               //      SD940 103c matched with SD90 101a & finsig best match: 96%
62NHSTUB(GetZoomLensCurrentPoint, 0xff93a970)             //      SD940 103c matched with SD90 101a & finsig best match: 74%
63NHSTUB(GetZoomLensCurrentPosition, 0xffa5db08)  //      SD940 103c matched with SD90 101a & finsig best match: 95%
64NHSTUB(IsStrobeChargeCompleted, 0xff8bc2c4)             //      SD940 103c matched with SD90 101a & finsig best match: 77%
65NHSTUB(kbd_p1_f, 0xff8335d0)                                    //      SD940 103c matched with SD90 101a & finsig best match: 86%
66NHSTUB(kbd_p1_f_cont, 0xff8335dc)                               //      SD940 103c matched with SD90 101a & finsig best match: 86%
67NHSTUB(kbd_read_keys, 0xff833554)                               //      SD940 103c matched with SD90 101a & finsig best match: 84%
68NHSTUB(kbd_read_keys_r2, 0xff8587b8)                    //      SD940 103c matched with SD90 101a & finsig best match: 86%
69NHSTUB(LockMainPower, 0xff88aabc)                               //      SD940 103c matched with SD90 101a & finsig best match: 93%
70NHSTUB(MakeDirectory_Fut, 0xff834db4)                   //      SD940 103c matched with SD90 101a & finsig best match: 92%
71NHSTUB(MoveFocusLensToDistance, 0xffad12ac)             //      SD940 103c matched with SD90 101a & finsig best match: 57%
72NHSTUB(MoveZoomLensWithPoint, 0xffa67f6c)               //      SD940 103c matched with SD90 101a & finsig best match: 58%
73NHSTUB(NewTaskShell, 0xff884468)                                //      SD940 103c matched with SD90 101a & finsig best match: 62%
74NHSTUB(PostLogicalEventForNotPowerType, 0xff88a2f4)     //      SD940 103c matched with SD90 101a & finsig best match: 86%
75NHSTUB(PostLogicalEventToUI, 0xff88a340)                //      SD940 103c matched with SD90 101a & finsig best match: 92%
76NHSTUB(rand, 0xff8204e0)                                                //      SD940 103c matched with SD90 101a & finsig best match: 95%
77NHSTUB(reboot_fw_update, 0xffa527d0)                    //      SD940 103c matched with SD90 101a & finsig best match: 82%
78NHSTUB(RenameFile_Fut, 0xFF834CAC)                              // *SD940 103c matched with SD90 101a was 0xff834e78 Best match: 53% ALT: NHSTUB(RenameFile_Fut, 0xffa39608) NHSTUB(RenameFile_Fut, 0xffa39658)
79NHSTUB(SetAutoShutdownTime, 0xff88ab30)                 //      SD940 103c matched with SD90 101a & finsig best match: 93%
80NHSTUB(SetCurrentCaptureModeType, 0xff891b68)   //      SD940 103c matched with SD90 101a & finsig best match: 81%
81NHSTUB(SetFileTimeStamp, 0xFF835640)                    // ?SD940 103c match with SD90 101a  -> Best match: 55%
82NHSTUB(SetLogicalEventActive, 0xff88a838)               //      SD940 103c matched with SD90 101a & finsig best match: 64%
83NHSTUB(SetParameterData, 0xff96b500)                    //      SD940 103c matched with SD90 101a & finsig best match: 96%
84NHSTUB(SetPropertyCase, 0xff8848a8)                             //      SD940 103c matched with SD90 101a & finsig best match: 79%
85NHSTUB(SleepTask, 0xff83851c)                                   //      SD940 103c matched with SD90 101a & finsig best match: 92%
86NHSTUB(srand, 0xff8204d4)                                               //  SD940 103c matched with SD90 101a & finsig (its DCB stuff only?) Best match: 95%
87NHSTUB(stat, 0xff83550c)                                                //      SD940 103c matched with SD90 101a & finsig  ALT: NHSTUB(stat, 0xff865bb8)
88NHSTUB(strcat, 0xFF89E2B0)                                              //  SD940 103c matched with SD90 101a was 0xff813f38 = best match: 61%
89NHSTUB(strchr, 0xff813fc0)                                              //      SD940 103c matched with SD90 101a & finsig best match: 56%
90NHSTUB(strncpy, 0xff813f38)                                             //      SD940 103c matched with SD90 101a & finsig best match: 73%
91NHSTUB(strrchr, 0xFF813FE4)                                             //  SD940 103c matched with SD90 101a was 0xff83de20 = best match: 71% ALT: NHSTUB(strrchr, 0xff89e2c4)
92NHSTUB(strtol, 0xff83e128)                                              //      SD940 103c matched with SD90 101a & finsig best match: 96%
93NHSTUB(TakeSemaphore, 0xff8381e4)                               //      SD940 103c matched with SD90 101a & finsig best match: 60%
94NHSTUB(time, 0xff87eb40)                                                //      SD940 103c matched with SD90 101a & finsig best match: 86%
95NHSTUB(UnlockMainPower, 0xff88aa10)                             //      SD940 103c matched with SD90 101a & finsig best match: 93%
96
97
98//** obsolete / unknown / not found subs
99
100NHSTUB(kbd_pwr_on , NULLSUB)                                    //** not found in SD90 or SD940-102c
101NHSTUB(kbd_pwr_off, NULLSUB)                                    //** 0xff858e10 = best match: 51% in finsig
102NHSTUB(rewinddir, NULLSUB)                                              //** not found in SD90 or SD940-102c
103NHSTUB(SetZoomActuatorSpeedPercent, NULLSUB)    //** not found in SD90 or SD940-102c
104NHSTUB(Unmount_FileSystem, NULLSUB)                             //** not found in SD90 or SD940-102c
105NHSTUB(Mount_FileSystem, NULLSUB)                               //** not found in SD90 or SD940-102c
106
107NHSTUB(GetImageFolder, 0xFF919078)      // function before 'GetCameraObjectTmpPath ERROR' string
Note: See TracBrowser for help on using the repository browser.