source: trunk/platform/sx110is/sub/100b/stubs_entry_2.S @ 811

Revision 811, 2.5 KB checked in by reyalp, 4 years ago (diff)

Add PT_PlaySound to sig_ref_dryos_2.txt Should correct playsound on a470 and sd990
Note that this sig does not match well for some older cameras, but they already have it stubs_entry_2.S
Also cleaned up some improper use of NSTUB in a590 stubs_entry_2.S

  • Property svn:eol-style set to native
Line 
1#include "stubs_asm.h"
2NHSTUB(GetBatteryTemperature, 0xffc387ec)       //found at 0xffc3885c but camera crashs if used, so point to GetCCDTemperature
3
4//functions not found in firmware
5NHSTUB(EnterToCompensationEVF, 0xFFC15318) // "ExpComp On"
6NHSTUB(ExitFromCompensationEVF, 0xFFC1535C) // "ExpComp Off"
7NHSTUB(RefreshPhysicalScreen, 0xFFD8FC00)       //function looks different from other fw, but might be the right one
8NHSTUB(TurnOffBackLight, 0xFFC6F9FC)    //found similar code as sx100 at this address
9NHSTUB(VbattGet, 0xFFC10314)    //found similar code as sx100 at this address
10NHSTUB(kbd_pwr_on, 0xFFC3642C)                          // Hmm, function looks very different from other cams but it might be the right...
11NHSTUB(kbd_pwr_off, 0xFFC36444)                         // Hmm, function looks very different from other cams but it might be the right...
12NHSTUB(strchr, 0xFFC74A0C)      //found similar code as sx100 at this address
13NHSTUB(vsprintf, 0xFFC0D7F8)    //found similar code as sx100 at this address
14
15// functions corrected (wrong in stubs_entry.S)
16NHSTUB(AllocateUncacheableMemory, 0xFFC17828) //wrong: 0xffc17834, correct: 0xFFC17828
17NHSTUB(ExecuteEventProcedure, 0xFFC5B5B8)
18NHSTUB(GetDrive_TotalClusters, 0xffc44e00)      //wrong: 0xffc44dcc, correct: 0xffc44e00, ALT address of GetDrive_TotalClusters
19NHSTUB(GetDrive_FreeClusters, 0xffc44e34)       //wrong: 0xffc44dcc, correct: 0xffc44e34
20NHSTUB(GetPropertyCase, 0xFFC5F2A0)
21NHSTUB(kbd_read_keys_r2, 0xFFC35D7C)
22NHSTUB(SetPropertyCase, 0xFFC5F198)
23NHSTUB(strrchr, 0xFFD8FF2C) //wrong: 0xffc74a08, correct: 0xFFD8FF2C
24
25
26//functions not found by finsig and not declared in signatures_dryos.h but needed by chdk
27NHSTUB(DoAFLock, 0xFFC15048)
28NHSTUB(ExpCtrlTool_StartContiAE, 0xFFC20894)
29NHSTUB(ExpCtrlTool_StopContiAE, 0xFFC209D8)
30NHSTUB(GiveSemaphore, 0xFFC0B81C)
31NHSTUB(MakeAFScan, 0xFFD19824)  //differ from other cams
32NHSTUB(PostLEDMessage, 0xFFC357C8 ) //questionable, might be wrong...
33NHSTUB(SetZoomActuatorSpeedPercent, 0xFFC00940) //nullsub, there are things like SetZoomActuatorSpeedPPS in fw
34NHSTUB(TurnOffMic, 0xFFC36DD8)
35NHSTUB(TurnOnMic, 0xFFC36DAC)
36NHSTUB(UnlockAF, 0xFFC1509C)
37NHSTUB(UnsetZoomForMovie, 0xFFD3E944)
38NHSTUB(WriteSDCard, 0xFFD02B30)
39NHSTUB(PostLogicalEventForNotPowerType, 0xffc61bb4)
40NHSTUB(LEDDrive, 0xffd17758)
41NHSTUB(platformsub_kbd_fetch_data, 0xFFC362CC)
42NHSTUB(eventproc_export_PostLogicalEventToUI, 0xffc61c00)
43NHSTUB(eventproc_export_SleepTask, 0xffc176ac)
44NHSTUB(eventproc_export_ExitTask, 0xffc0bb50)
45
46//do they really exists in dryos? --> point to nullsub
47NHSTUB(Mount_FileSystem, 0xFFC00940)
48NHSTUB(rewinddir, 0xFFC00940)
49NHSTUB(Unmount_FileSystem, 0xFFC00940)
50
Note: See TracBrowser for help on using the repository browser.