source: trunk/platform/sx30/sub/100e/stubs_entry_2.S @ 630

Revision 630, 6.6 KB checked in by msl, 2 years ago (diff)

Aktualisierung auf Rev. 1145 offizieller Trunk

Line 
1#include "stubs_asm.h"
2
3# Confirmed
4NHSTUB(qsort,                                                   0xFFB405A0) // ok (comp 1.00h)
5NHSTUB(strtol,                                                  0xFF840A30) // ok (comp 1.00h)
6NHSTUB(EnterToCompensationEVF,                  0xFF838D44) // ok (comp 1.00h)
7NHSTUB(ExitFromCompensationEVF,                 0xFF838D88) // ok (comp 1.00h)
8NHSTUB(GetBatteryTemperature,                   0xFF8697AC) // ok (comp 1.00h)
9NHSTUB(GetCCDTemperature,                               0xFF869738) // ok (comp 1.00h)
10NHSTUB(GetCurrentAvValue,                               0xFF980648) // ok (comp 1.00h)
11NHSTUB(GetParameterData,                                0xFF9C25E0) // ok (comp 1.00h)
12NHSTUB(GetZoomLensCurrentPoint,                 0xFF87EE4C)     // ok (comp 1.00h)
13NHSTUB(GetZoomLensCurrentPosition,              0xFF986474) // ok (comp 1.00h)
14NHSTUB(PT_PlaySound,                                    0xFF88E65C) // ok (comp 1.00h)
15NHSTUB(ReadFastDir,                                             0xFFACDDC8) // ok (comp 1.00h)
16NHSTUB(readfastdir,                                             0xFFACDDC8) // alias for ReadFastDir
17NHSTUB(Remove,                                                  0xFF837110) // ok (comp 1.00h)
18NHSTUB(SetParameterData,                                0xFF9C24B8) // ok (comp 1.00h)
19NHSTUB(TurnOffBackLight,                                0xFF8B0598) // ok (comp 1.00h)
20NHSTUB(TurnOnBackLight,                                 0xFF8B0580) // ok (comp 1.00h)
21NHSTUB(Lseek,                                                   0xff8371f8) // ok (comp 1.00h)
22NHSTUB(free,                                                    0xFF814244) // ok (comp 1.00h)
23NHSTUB(ExitTask,                                                0xff81eb30) // ok (comp 1.00h)
24NHSTUB(FreeUncacheableMemory,                   0xff83afd8) // ok (comp 1.00h)
25NHSTUB(GetDrive_ClusterSize,                    0xFF87724C) // ok (comp 1.00h)
26NHSTUB(GetDrive_TotalClusters,                  0xFF877280) // ok (comp 1.00h)
27NHSTUB(GetDrive_FreeClusters,                   0xFF8772AC) // ok (comp 1.00h)
28NHSTUB(GetFocusLensSubjectDistance,             0xFF97EA48) // ok (comp 1.00h)
29NHSTUB(GetFocusLensSubjectDistanceFromLens, 0xFF97EEC0) // ok (comp 1.00h)
30NHSTUB(GetOpticalTemperature,                   0xff869820) // ok (comp 1.00h)
31NHSTUB(GetPropertyCase,                                 0xff8999c8) // ok (comp 1.00h)
32NHSTUB(GetSystemTime,                                   0xFFAEDFA4) // ok (comp 1.00h)
33NHSTUB(IsStrobeChargeCompleted,                 0xff8ec168) // ok (comp 1.00h)
34NHSTUB(LockMainPower,                                   0xff8a0290) // ok (comp 1.00h)
35NHSTUB(MakeDirectory_Fut,                               0xff836ac8) // ok (comp 1.00h)
36NHSTUB(MoveFocusLensToDistance,                 0xFFB52D54) // ok (comp 1.00h)
37NHSTUB(MoveZoomLensWithPoint,                   0xFFAE9450)     // ok (comp 1.00h) (from function table @FFC4EFF0)
38NHSTUB(NewTaskShell,                                    0xff8993e4) // ok (comp 1.00h)
39NHSTUB(Close,                                                   0xFF8370DC) // ok (eventproc_export_Close)
40NHSTUB(Open,                                                    0xFF837070)     // wrapper for 'open' to give buffered/asynch I/O ?
41NHSTUB(open,                                                    0xFF81AADC)     //
42NHSTUB(PostLogicalEventForNotPowerType, 0xff89e028) // ok (comp 1.00h)
43NHSTUB(PostLogicalEventToUI,                    0xff89e074) // ok (comp 1.00h)
44NHSTUB(RenameFile_Fut,                                  0xFF8369C0) // ok (comp 1.00h)
45NHSTUB(rename,                                                  0xFF8369C0) // same as RenameFile_Fut
46NHSTUB(SetAutoShutdownTime,                             0xff8a0304) // ok (comp 1.00h)
47NHSTUB(SetCurrentCaptureModeType,               0xff8a9228) // ok (comp 1.00h)
48NHSTUB(SetFileTimeStamp,                                0xFF837378) // ok (comp 1.00h)
49NHSTUB(SetLogicalEventActive,                   0xff89ffcc) // ok (comp 1.00h)
50NHSTUB(SetPropertyCase,                                 0xff8998a0) // ok (comp 1.00h)
51NHSTUB(SleepTask,                                               0xff83ac1c) // ok (comp 1.00h)
52NHSTUB(TakeSemaphore,                                   0xff83a8e4) // ok (comp 1.00h)
53NHSTUB(UnlockMainPower,                                 0xff8a01e4) // ok (comp 1.00h)
54NHSTUB(VbattGet,                                                0xFF833178) // ok (comp 1.00h)
55NHSTUB(closedir,                                                0xFFACDC24) // ok (comp 1.00h)
56NHSTUB(closefastdir,                                    0xFFACDC24) // same as closedir
57NHSTUB(kbd_p1_f,                                                0xff834a68) // ok (comp 1.00h)
58NHSTUB(kbd_p1_f_cont,                                   0xff834a74) // ok (comp 1.00h)
59NHSTUB(kbd_read_keys,                                   0xFF8349F0) // ok (comp 1.00h
60NHSTUB(kbd_p2_f,                                                0xff8342b8) // ok (comp 1.00h)
61NHSTUB(kbd_read_keys_r2,                                0xff8651a4) // ok (comp 1.00h)
62NHSTUB(lseek,                                                   0xff8371f8) // same as Lseek
63NHSTUB(mkdir,                                                   0xff837578) // ok (comp 1.00h)
64NHSTUB(opendir,                                                 0xFFACDC74) // ok (comp 1.00h)
65NHSTUB(openfastdir,                                             0xFFACDC74) // same as opendir
66NHSTUB(reboot_fw_update,                                0xFFAD31E8) // ok (comp 1.00h)
67NHSTUB(strcat,                                                  0xFF8B9A1C) // ok (comp 1.00h)
68NHSTUB(strchr,                                                  0xff8140b4) // ok (comp 1.00h)
69NHSTUB(strlen,                                                  0xff814100) // ok (comp 1.00h)
70NHSTUB(strncpy,                                                 0xFF81402C) // ok (comp 1.00h)
71NHSTUB(strrchr,                                                 0xFF8140D8) // ok (comp 1.00h)
72NHSTUB(time,                                                    0xff893b88) // ok (comp 1.00h)
73NHSTUB(LEDDrive,                                                0xFF98EC54) // ok (comp 1.00h)
74NHSTUB(SetScriptMode,                                   0xff8a001c)     // ok (comp 1.00h)
75//NHSTUB(UnlockAndRefresh,                              0xFF8B8238) // ok (comp 1.00h)
76NHSTUB(RefreshPhysicalScreen,                   0xFF8B8238) // alias for UnlockAndRefresh
77//NHSTUB(LockAndRefresh,                                    0xFF8B97D8) // ok (comp 1.00h)
78NHSTUB(ScreenLock,                                              0xFF8B9340)     //
79NHSTUB(ScreenUnlock,                                    0xFF8B93A4)     //
80NHSTUB(apex2us,                                                 0xFFA4E78C) // ok (comp 1.00h)
81NHSTUB(WriteSDCard,                                             0xFF96DA7C) // ok (comp 1.00h)
82NHSTUB(GetKbdState,                                             0xFF865A28) // ok (comp 1.00h)
83NHSTUB(UnlockAF,                                                0xFF838AF0) // ok (comp 1.00h)
84NHSTUB(DoAFLock,                                                0xFF838AB8) // ok (comp 1.00h)
85NHSTUB(PT_MoveOpticalZoomAt,                    0xFF883C04)     // ok (comp 1.00h) (found in table @ FFB98F98)
86NHSTUB(PT_MoveDigitalZoomToWide,                0xFF883C2C)
87NHSTUB(GetImageFolder,                                  0xFF95F0B8)     // function before 'GetCameraObjectTmpPath ERROR' string
88NHSTUB(UpdateMBROnFlash,                                0xFF8770CC) // Search for 'BOOTDISK', function branches to this at end (after setting up R0,R1,R2)
89NHSTUB(PB2Rec,                          0xFF8A30F8)
90NHSTUB(Rec2PB,                          0xFF8A1B3C)
91NHSTUB(exmem_alloc,                                             0xFF8944F4)     // search for ExMem.AllocCacheable (from reyalp)
92NHSTUB(rand,                                                    0xFFA4D8C8)     // search for 0x41C64E6D. Function before this value is rand.
93NHSTUB(srand,                                                   0xFFA4D8BC)     // search for 0x41C64E6D. Function before rand is srand.
94
95# from stubs_entry_ida.S
96NHSTUB(eventproc_export_PostLogicalEventToUI, 0xff89e074)
97NHSTUB(eventproc_export_SleepTask, 0xff83ac1c)
98NHSTUB(eventproc_export_ExitTask, 0xff81eb30)
99NHSTUB(eventproc_export_TakeSemaphore, 0xff83a8e4)
100NHSTUB(eventproc_export_GiveSemaphore, 0xff83a9b4)
101NHSTUB(eventproc_export_HardwareDefect, 0xff8a0534)
102
103# Misc
104NHSTUB(DebugAssert,                                             0xFF81EB78)
105NHSTUB(PT_GetPropertyCaseString,                        0xFF8999C8)
106NHSTUB(takeSemaphore,                                           0xFF83ADC4)
107NHSTUB(err_init_task,                                           0xFF815FD4)
108
109# Addresses for firmware task handlers (used in taskHook)
110DEF(task_CaptSeq,                                               0xFF8868C0)
111DEF(task_InitFileModules,                               0xFF8A3B4C)
112DEF(task_RotaryEncoder,                                 0xFF865D08)
113DEF(task_MovieRecord,                                   0xFF883348)
114DEF(task_ExpDrv,                                                0xFF8D0818)
115
116# Missing
117NHSTUB(kbd_pwr_off,                                             0xFF810B1C)                                                             // ??? not on sx20 or s95
118NHSTUB(kbd_pwr_on,                                              0xFF810B1C)                                                             // ??? not on sx20 or s95
119NHSTUB(UIFS_WriteFirmInfoToFile,                0xFF810B1C)     // Is this needed?
120NHSTUB(rewinddir,                                               0xFF810B1C)
121NHSTUB(SetZoomActuatorSpeedPercent,             0xFF810B1C)
122NHSTUB(Unmount_FileSystem,                              0xFF810B1C)
123NHSTUB(Mount_FileSystem,                                0xFF810B1C)
Note: See TracBrowser for help on using the repository browser.