source: trunk/platform/g9/sub/100d/stubs_entry.S @ 865

Revision 865, 4.2 KB checked in by reyalp, 3 years ago (diff)
  • add strtoul on all cameras. Only tested on a540 but perfect matches on all.
  • fix lua handling of hex constants that would set sign bit. Now (as in standard lua) treated as an unsigned value, rather than resulting in LONG_MAX. Note that arithmetic and comparisons on such values in lua will still treat them as signed!
  • use strtoul in luaB_tonumber(), as in stock lua.
  • Property svn:eol-style set to native
Line 
1// !!! THIS FILE IS GENERATED. DO NOT EDIT. !!!
2#include "stubs_asm.h"
3
4// Best match: 94%
5NSTUB(AllocateMemory, 0xffa47c58)
6NSTUB(AllocateUncacheableMemory, 0xff82a788)
7NSTUB(Close, 0xff82552c)
8NSTUB(CreateTask, 0xff81baf0)
9NSTUB(DeleteFile_Fut, 0xff824d94)
10// Best match: 79%
11NSTUB(EnterToCompensationEVF, 0xff8279a8)
12// ALT: NSTUB(EnterToCompensationEVF, 0xff827a28) // 19/5
13NSTUB(ExecuteEventProcedure, 0xff81c1a8)
14// Best match: 79%
15NSTUB(ExitFromCompensationEVF, 0xff827978)
16// ALT: NSTUB(ExitFromCompensationEVF, 0xff8279f8) // 19/5
17NSTUB(ExitTask, 0xff81bd80)
18NSTUB(Fclose_Fut, 0xff824f10)
19NSTUB(Feof_Fut, 0xff8250fc)
20NSTUB(Fflush_Fut, 0xff825138)
21NSTUB(Fgets_Fut, 0xff825064)
22NSTUB(Fopen_Fut, 0xff824ed0)
23NSTUB(Fread_Fut, 0xff824fbc)
24// Best match: 94%
25NSTUB(FreeMemory, 0xffa47c44)
26NSTUB(FreeUncacheableMemory, 0xff82a7bc)
27NSTUB(Fseek_Fut, 0xff8250b0)
28NSTUB(Fwrite_Fut, 0xff825010)
29NSTUB(GetBatteryTemperature, 0xff84bee8)
30NSTUB(GetCCDTemperature, 0xff84be78)
31NSTUB(GetCurrentAvValue, 0xff936d58)
32NSTUB(GetDrive_ClusterSize, 0xff852754)
33NSTUB(GetDrive_FreeClusters, 0xff8527f4)
34NSTUB(GetDrive_TotalClusters, 0xff852788)
35NSTUB(GetFocusLensSubjectDistance, 0xff934bec)
36NSTUB(GetFocusLensSubjectDistanceFromLens, 0xff934ef8)
37// Best match: 96%
38NSTUB(GetOpticalTemperature, 0xff84bf58)
39// Best match: 70%
40NSTUB(GetParameterData, 0xff9568ec)
41NSTUB(GetPropertyCase, 0xff86f768)
42NSTUB(GetSystemTime, 0xffa47d60)
43NSTUB(GetZoomLensCurrentPoint, 0xff93a220)
44NSTUB(GetZoomLensCurrentPosition, 0xff93ada0)
45// Best match: 64%
46NSTUB(IsStrobeChargeCompleted, 0xff8c1344)
47NSTUB(LocalTime, 0xff86b538)
48NSTUB(LockMainPower, 0xff8731f0)
49NSTUB(Lseek, 0xff82566c)
50NSTUB(MakeDirectory_Fut, 0xff824e08)
51// Best match: 69%
52NSTUB(MoveFocusLensToDistance, 0xffa0e0c4)
53NSTUB(MoveZoomLensWithPoint, 0xff93accc)
54NSTUB(NewTaskShell, 0xff86f1ec)
55NSTUB(Open, 0xff825504)
56// Best match: 54%
57NSTUB(PT_PlaySound, 0xff85e584)
58NSTUB(PostLogicalEventForNotPowerType, 0xff87118c)
59NSTUB(PostLogicalEventToUI, 0xff8711d8)
60NSTUB(Read, 0xff81a378)
61NSTUB(ReadFastDir, 0xffa2cb3c)
62NSTUB(RefreshPhysicalScreen, 0xff9bdb74)
63NSTUB(Remove, 0xff825574)
64NSTUB(RenameFile_Fut, 0xff824d40)
65NSTUB(SetAutoShutdownTime, 0xff873264)
66// Best match: 81%
67NSTUB(SetCurrentCaptureModeType, 0xff879f7c)
68NSTUB(SetFileTimeStamp, 0xff825808)
69// Best match: 78%
70NSTUB(SetLogicalEventActive, 0xff872f28)
71// Best match: 72%
72NSTUB(SetParameterData, 0xff9567c8)
73NSTUB(SetPropertyCase, 0xff86f660)
74// Best match: 92%
75NSTUB(SleepTask, 0xff82a610)
76NSTUB(TakeSemaphore, 0xff81b98c)
77// Best match: 58%
78NSTUB(TurnOffBackLight, 0xff87ff88)
79// Best match: 77%
80NSTUB(TurnOnBackLight, 0xff87ff70)
81NSTUB(UIFS_WriteFirmInfoToFile, 0xff99c320)
82NSTUB(UnlockMainPower, 0xff873144)
83NSTUB(UpdateMBROnFlash, 0xff85251c)
84// ALT: NSTUB(UpdateMBROnFlash, 0xff895c58) // 21/0
85NSTUB(VbattGet, 0xff82199c)
86NSTUB(Write, 0xff8255d8)
87NSTUB(_log, 0xffabe644)
88NSTUB(_log10, 0xffabd588)
89NSTUB(_pow, 0xffabd6f8)
90NSTUB(_sqrt, 0xffabf9ac)
91NSTUB(close, 0xff81a190)
92NSTUB(closedir, 0xffa2cc0c)
93NSTUB(closefastdir, 0xffa2cc0c)
94NSTUB(free, 0xff813ab0)
95// Best match: 86%
96NSTUB(kbd_p1_f, 0xff8231c8)
97// Best match: 86%
98NSTUB(kbd_p1_f_cont, 0xff8231d4)
99// Best match: 89%
100NSTUB(kbd_p2_f, 0xff822a18)
101// Best match: 55%
102NSTUB(kbd_pwr_off, 0xff84944c)
103// ERROR: kbd_pwr_on is not found!
104// Best match: 76%
105NSTUB(kbd_read_keys, 0xff8230cc)
106// Best match: 78%
107NSTUB(kbd_read_keys_r2, 0xff848de4)
108// ALT: NSTUB(kbd_read_keys_r2, 0xff848dc8) // 17/5
109NSTUB(lseek, 0xff82566c)
110NSTUB(malloc, 0xff8139dc)
111NSTUB(memcmp, 0xff81e834)
112NSTUB(memcpy, 0xff895cf0)
113NSTUB(memset, 0xffa8d394)
114NSTUB(mkdir, 0xff8258d0)
115NSTUB(mktime_ext, 0xff89655c)
116NSTUB(open, 0xff81a0e0)
117NSTUB(opendir, 0xffa2caa8)
118NSTUB(openfastdir, 0xffa2caa8)
119// Best match: 95%
120NSTUB(qsort, 0xff9be404)
121NSTUB(rand, 0xff81e93c)
122NSTUB(read, 0xff81a378)
123NSTUB(readfastdir, 0xffa2cb3c)
124NSTUB(rename, 0xff825600)
125NSTUB(srand, 0xff81e930)
126NSTUB(stat, 0xff825738)
127NSTUB(strcat, 0xff895c1c)
128NSTUB(strchr, 0xff895ca4)
129NSTUB(strcmp, 0xff81e7cc)
130NSTUB(strcpy, 0xff81e778)
131NSTUB(strftime, 0xff895f64)
132NSTUB(strlen, 0xff81e810)
133NSTUB(strncmp, 0xff895c58)
134NSTUB(strncpy, 0xff81e790)
135NSTUB(strrchr, 0xff895cc8)
136NSTUB(strtol, 0xff830d90)
137NSTUB(strtolx, 0xff830b94)
138NSTUB(time, 0xff86ba3c)
139NSTUB(vsprintf, 0xff81e6f8)
140NSTUB(write, 0xff81a3d8)
Note: See TracBrowser for help on using the repository browser.