| 1 | #include "stubs_asm.h" |
|---|
| 2 | |
|---|
| 3 | # Confirmed |
|---|
| 4 | NHSTUB(qsort, 0xFFB40804) // 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, 0xFF980680) // ok (comp 1.00h) |
|---|
| 11 | NHSTUB(GetParameterData, 0xFF9C2814) // ok (comp 1.00h) |
|---|
| 12 | NHSTUB(GetZoomLensCurrentPoint, 0xFF87EE4C) // ok (comp 1.00h) |
|---|
| 13 | NHSTUB(GetZoomLensCurrentPosition, 0xFF9864AC) // ok (comp 1.00h) |
|---|
| 14 | NHSTUB(PT_PlaySound, 0xFF88E660) // ok (comp 1.00h) |
|---|
| 15 | NHSTUB(ReadFastDir, 0xFFACE02C) // ok (comp 1.00h) |
|---|
| 16 | NHSTUB(readfastdir, 0xFFACE02C) // alias for ReadFastDir |
|---|
| 17 | NHSTUB(Remove, 0xFF837110) // ok (comp 1.00h) |
|---|
| 18 | NHSTUB(SetParameterData, 0xFF9C26EC) // ok (comp 1.00h) |
|---|
| 19 | NHSTUB(TurnOffBackLight, 0xFF8B059C) // ok (comp 1.00h) |
|---|
| 20 | NHSTUB(TurnOnBackLight, 0xFF8B0584) // ok (comp 1.00h) |
|---|
| 21 | NHSTUB(Lseek, 0xff8371f8) // ok (comp 1.00h) |
|---|
| 22 | NHSTUB(free, 0xFF814244) // ok (comp 1.00h) |
|---|
| 23 | NHSTUB(Close, 0xff8370dc) // ok (comp 1.00h) |
|---|
| 24 | NHSTUB(ExitTask, 0xff81eb30) // ok (comp 1.00h) |
|---|
| 25 | NHSTUB(FreeUncacheableMemory, 0xff83afd8) // ok (comp 1.00h) |
|---|
| 26 | NHSTUB(GetDrive_ClusterSize, 0xFF87724C) // ok (comp 1.00h) |
|---|
| 27 | NHSTUB(GetDrive_TotalClusters, 0xFF877280) // ok (comp 1.00h) |
|---|
| 28 | NHSTUB(GetDrive_FreeClusters, 0xFF8772AC) // ok (comp 1.00h) |
|---|
| 29 | NHSTUB(GetFocusLensSubjectDistance, 0xff97ea80) // ok (comp 1.00h) |
|---|
| 30 | NHSTUB(GetFocusLensSubjectDistanceFromLens, 0xff97eef8) // ok (comp 1.00h) |
|---|
| 31 | NHSTUB(GetOpticalTemperature, 0xff869820) // ok (comp 1.00h) |
|---|
| 32 | NHSTUB(GetPropertyCase, 0xFF8999CC) // ok (comp 1.00h) |
|---|
| 33 | NHSTUB(GetSystemTime, 0xFFAEE208) // ok (comp 1.00h) |
|---|
| 34 | NHSTUB(IsStrobeChargeCompleted, 0xFF8EC16C) // ok (comp 1.00h) |
|---|
| 35 | NHSTUB(LockMainPower, 0xFF8A0294) // ok (comp 1.00h) |
|---|
| 36 | NHSTUB(MakeDirectory_Fut, 0xff836ac8) // ok (comp 1.00h) |
|---|
| 37 | NHSTUB(MoveFocusLensToDistance, 0xFFB52FB8) // ok (comp 1.00h) |
|---|
| 38 | NHSTUB(MoveZoomLensWithPoint, 0xFFAE96B4) // ok (comp 1.00h) |
|---|
| 39 | NHSTUB(NewTaskShell, 0xff8993e8) // ok (comp 1.00h) |
|---|
| 40 | NHSTUB(Open, 0xFF81AADC) // update 5/3/2011 to fix crash startup |
|---|
| 41 | NHSTUB(PostLogicalEventForNotPowerType, 0xff89e02c) // ok (comp 1.00h) |
|---|
| 42 | NHSTUB(PostLogicalEventToUI, 0xff89e078) // ok (comp 1.00h) |
|---|
| 43 | NHSTUB(RenameFile_Fut, 0xFF8369C0) // ok (comp 1.00h) |
|---|
| 44 | NHSTUB(rename, 0xFF8369C0) // same as RenameFile_Fut |
|---|
| 45 | NHSTUB(SetAutoShutdownTime, 0xff8a0308) // ok (comp 1.00h) |
|---|
| 46 | NHSTUB(SetCurrentCaptureModeType, 0xff8a922c) // ok (comp 1.00h) |
|---|
| 47 | NHSTUB(SetFileTimeStamp, 0xFF837378) // ok (comp 1.00h) |
|---|
| 48 | NHSTUB(SetLogicalEventActive, 0xff89ffd0) // ok (comp 1.00h) |
|---|
| 49 | NHSTUB(SetPropertyCase, 0xff8998a4) // ok (comp 1.00h) |
|---|
| 50 | NHSTUB(SleepTask, 0xff83ac1c) // ok (comp 1.00h) |
|---|
| 51 | NHSTUB(TakeSemaphore, 0xff83a8e4) // ok (comp 1.00h) |
|---|
| 52 | NHSTUB(UnlockMainPower, 0xff8a01e8) // ok (comp 1.00h) |
|---|
| 53 | NHSTUB(VbattGet, 0xFF833178) // ok (comp 1.00h) |
|---|
| 54 | NHSTUB(closedir, 0xFFACDE88) // ok (comp 1.00h) |
|---|
| 55 | NHSTUB(closefastdir, 0xFFACDE88) // same as closedir |
|---|
| 56 | NHSTUB(kbd_p1_f, 0xff834a68) // ok (comp 1.00h) |
|---|
| 57 | NHSTUB(kbd_p1_f_cont, 0xff834a74) // ok (comp 1.00h) |
|---|
| 58 | NHSTUB(kbd_read_keys, 0xFF8349F0) // ok (comp 1.00h) |
|---|
| 59 | NHSTUB(kbd_p2_f, 0xff8342b8) // ok (comp 1.00h) |
|---|
| 60 | NHSTUB(kbd_read_keys_r2, 0xff8651a4) // ok (comp 1.00h) |
|---|
| 61 | NHSTUB(lseek, 0xff8371f8) // same as Lseek |
|---|
| 62 | NHSTUB(mkdir, 0xff837578) // ok (comp 1.00h) |
|---|
| 63 | NHSTUB(opendir, 0xFFACDED8) // ok (comp 1.00h) |
|---|
| 64 | NHSTUB(openfastdir, 0xFFACDED8) // same as opendir |
|---|
| 65 | NHSTUB(reboot_fw_update, 0xFFAD344C) // ok (comp 1.00h) |
|---|
| 66 | NHSTUB(strcat, 0xFF8B9A20) // ok (comp 1.00h) |
|---|
| 67 | NHSTUB(strchr, 0xff8140b4) // ok (comp 1.00h) |
|---|
| 68 | NHSTUB(strlen, 0xff814100) // ok (comp 1.00h) |
|---|
| 69 | NHSTUB(strncpy, 0xFF81402C) // ok (comp 1.00h) |
|---|
| 70 | NHSTUB(strrchr, 0xFF8140D8) // ok (comp 1.00h) |
|---|
| 71 | NHSTUB(time, 0xff893b8c) // ok (comp 1.00h) |
|---|
| 72 | NHSTUB(LEDDrive, 0xFF98EE30) // ok (comp 1.00h) |
|---|
| 73 | NHSTUB(SetScriptMode, 0xff8a0020) // ok (comp 1.00h) |
|---|
| 74 | NHSTUB(UnlockAndRefresh, 0xFF8B823C) // ok (comp 1.00h) |
|---|
| 75 | NHSTUB(RefreshPhysicalScreen, 0xFF8B823C) // alias for UnlockAndRefresh |
|---|
| 76 | NHSTUB(LockAndRefresh, 0xFF8B97DC) // ok (comp 1.00h) |
|---|
| 77 | NHSTUB(apex2us, 0xFFA4E9F0) // ok (comp 1.00h) |
|---|
| 78 | NHSTUB(WriteSDCard, 0xFF96DAB4) // ok (comp 1.00h) |
|---|
| 79 | NHSTUB(GetKbdState, 0xFF865A28) // ok (comp 1.00h) |
|---|
| 80 | NHSTUB(UnlockAF, 0xFF838AF0) // ok (comp 1.00h) |
|---|
| 81 | NHSTUB(DoAFLock, 0xFF838AB8) // ok (comp 1.00h) |
|---|
| 82 | NHSTUB(PT_MoveOpticalZoomAt, 0xFF883C08) // ok (comp 1.00h) |
|---|
| 83 | NHSTUB(GetImageFolder, 0xFF95F0F0) // function before 'GetCameraObjectTmpPath ERROR' string |
|---|
| 84 | NHSTUB(UpdateMBROnFlash, 0xFF8770CC) // Search for 'BOOTDISK', function branches to this at end (after setting up R0,R1,R2) |
|---|
| 85 | NHSTUB(PB2Rec, 0xFF8A30FC) |
|---|
| 86 | NHSTUB(Rec2PB, 0xFF8A1B40) |
|---|
| 87 | NHSTUB(exmem_alloc, 0xFF8944F8) // search for ExMem.AllocCacheable (from reyalp) |
|---|
| 88 | |
|---|
| 89 | # from stubs_entry_ida.S |
|---|
| 90 | NHSTUB(eventproc_export_PostLogicalEventToUI, 0xff89e078) |
|---|
| 91 | NHSTUB(eventproc_export_SleepTask, 0xff83ac1c) |
|---|
| 92 | NHSTUB(eventproc_export_ExitTask, 0xff81eb30) |
|---|
| 93 | NHSTUB(eventproc_export_TakeSemaphore, 0xff83a8e4) |
|---|
| 94 | NHSTUB(eventproc_export_GiveSemaphore, 0xff83a9b4) |
|---|
| 95 | NHSTUB(eventproc_export_HardwareDefect, 0xff8a0538) |
|---|
| 96 | |
|---|
| 97 | # Misc |
|---|
| 98 | NHSTUB(DebugAssert, 0xFF81EB78) |
|---|
| 99 | NHSTUB(PT_GetPropertyCaseString, 0xFF8999CC) |
|---|
| 100 | NHSTUB(takeSemaphore, 0xFF83ADC4) |
|---|
| 101 | NHSTUB(err_init_task, 0xFF815FD4) |
|---|
| 102 | |
|---|
| 103 | # Addresses for firmware task handlers (used in taskHook) |
|---|
| 104 | DEF(task_CaptSeq, 0xFF8868C4) |
|---|
| 105 | DEF(task_InitFileModules, 0xFF8A3B50) |
|---|
| 106 | DEF(task_RotaryEncoder, 0xFF865D08) |
|---|
| 107 | DEF(task_MovieRecord, 0xFF88334C) |
|---|
| 108 | DEF(task_ExpDrv, 0xFF8D081C) |
|---|
| 109 | |
|---|
| 110 | # Missing |
|---|
| 111 | NHSTUB(kbd_pwr_off, 0xFF810B1C) // ??? not on sx20 or s95 |
|---|
| 112 | NHSTUB(kbd_pwr_on, 0xFF810B1C) // ??? not on sx20 or s95 |
|---|
| 113 | NSTUB(rand, 0xFF810B1C) // ??? could not find use C version from S95 wrappers |
|---|
| 114 | NSTUB(srand, 0xFF810B1C) // ??? could not find use C version from S95 wrappers |
|---|
| 115 | NHSTUB(UIFS_WriteFirmInfoToFile, 0xFF810B1C) // Is this needed? |
|---|
| 116 | NHSTUB(rewinddir, 0xFF810B1C) |
|---|
| 117 | NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B1C) |
|---|
| 118 | NHSTUB(Unmount_FileSystem, 0xFF810B1C) |
|---|
| 119 | NHSTUB(Mount_FileSystem, 0xFF810B1C) |
|---|