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