source: trunk/platform/a650/sub/100d/stubs_entry.S @ 679

Revision 679, 3.7 KB checked in by phyrephox, 4 years ago (diff)

+ added two small functions... TurnOnBackLight? & TurnOffBackLight?, which turn on and off the LCD Backlight (or EVF backlight) - useful for energy saving or camouflage missions :D
also added ubasic and lua commands: set_backlight(x), whereas 0 disables Backlight and 1 enables it. mind you, after a shot the display is turned on again (probably loop set_backlight_statement(0) in script!?).
an example script can be found here: http://chdk.setepontos.com/index.php/topic,2744.msg27703.html#msg27703
todo: PERHAPS make it that you can disable (automatically after a given time?) LCD directly in CHDK, also on todo list: Dimming the light

thx to fudgey, ewavr & Dataghost, who made that happen \o/ (see https://chdk.kernreaktor.org/mantis/view.php?id=65 for links)

  • 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, 0xffde6eac)
6NSTUB(AllocateUncacheableMemory, 0xffc19a08)
7NSTUB(Close, 0xffc14f20)
8NSTUB(CreateTask, 0xffc0baf0)
9NSTUB(DeleteFile_Fut, 0xffc14788)
10// Best match: 79%
11NSTUB(EnterToCompensationEVF, 0xffc17108)
12NSTUB(ExecuteEventProcedure, 0xffc0c1a8)
13// Best match: 79%
14NSTUB(ExitFromCompensationEVF, 0xffc17158)
15NSTUB(ExitTask, 0xffc0bd80)
16NSTUB(Fclose_Fut, 0xffc14904)
17NSTUB(Feof_Fut, 0xffc14af0)
18NSTUB(Fflush_Fut, 0xffc14b2c)
19NSTUB(Fgets_Fut, 0xffc14a58)
20NSTUB(Fopen_Fut, 0xffc148c4)
21NSTUB(Fread_Fut, 0xffc149b0)
22// Best match: 94%
23NSTUB(FreeMemory, 0xffde6e98)
24NSTUB(FreeUncacheableMemory, 0xffc19a3c)
25NSTUB(Fseek_Fut, 0xffc14aa4)
26NSTUB(Fwrite_Fut, 0xffc14a04)
27// Best match: 96%
28NSTUB(GetBatteryTemperature, 0xffc39d34)
29// Best match: 96%
30NSTUB(GetCCDTemperature, 0xffc39cc4)
31NSTUB(GetCurrentAvValue, 0xffd03f7c)
32NSTUB(GetCurrentTargetDistance, 0xffd01e10)
33NSTUB(GetDrive_ClusterSize, 0xffc40084)
34NSTUB(GetDrive_FreeClusters, 0xffc40124)
35NSTUB(GetDrive_TotalClusters, 0xffc400b8)
36// Best match: 87%
37NSTUB(GetFocusLensSubjectDistance, 0xffd03270)
38// Best match: 92%
39NSTUB(GetOpticalTemperature, 0xffc39da4)
40// Best match: 70%
41NSTUB(GetParameterData, 0xffd21934)
42NSTUB(GetPropertyCase, 0xffc5aecc)
43NSTUB(GetSystemTime, 0xffde6fb4)
44NSTUB(GetZoomLensCurrentPoint, 0xffd07444)
45NSTUB(GetZoomLensCurrentPosition, 0xffd07fc4)
46// Best match: 80%
47NSTUB(IsStrobeChargeCompleted, 0xffc999c0)
48NSTUB(LocalTime, 0xffc572f8)
49NSTUB(LockMainPower, 0xffc5d20c)
50NSTUB(Lseek, 0xffc15060)
51NSTUB(MakeDirectory_Fut, 0xffc147fc)
52// Best match: 69%
53NSTUB(MoveFocusLensToDistance, 0xffdb4cbc)
54NSTUB(MoveZoomLensWithPoint, 0xffd07ef0)
55NSTUB(NewTaskShell, 0xffc5a950)
56NSTUB(Open, 0xffc14ef8)
57NSTUB(Read, 0xffc0a378)
58NSTUB(ReadFastDir, 0xffdd0640)
59// Best match: 85%
60NSTUB(RefreshPhysicalScreen, 0xffd6f958)
61NSTUB(Remove, 0xffc14f68)
62NSTUB(RenameFile_Fut, 0xffc14734)
63NSTUB(SetAutoShutdownTime, 0xffc5d280)
64NSTUB(SetFileTimeStamp, 0xffc151fc)
65// Best match: 72%
66NSTUB(SetParameterData, 0xffd21810)
67NSTUB(SetPropertyCase, 0xffc51f68)
68// Best match: 92%
69NSTUB(SleepTask, 0xffc19890)
70NSTUB(TakeSemaphore, 0xffc0b98c)
71// Best match: 75%
72NSTUB(TurnOffBackLight, 0xffc69390)
73// Best match: 77%
74NSTUB(TurnOnBackLight, 0xffc69378)
75NSTUB(UIFS_WriteFirmInfoToFile, 0xffd57a68)
76NSTUB(UnlockMainPower, 0xffc5d160)
77NSTUB(UpdateMBROnFlash, 0xffc3fe4c)
78NSTUB(VbattGet, 0xffc1189c)
79NSTUB(Write, 0xffc14fcc)
80NSTUB(_log, 0xffe4ba40)
81NSTUB(_log10, 0xffe4a984)
82NSTUB(_pow, 0xffe4aaf4)
83NSTUB(_sqrt, 0xffe4cda8)
84NSTUB(close, 0xffc0a190)
85NSTUB(closedir, 0xffdd0710)
86NSTUB(closefastdir, 0xffdd0710)
87NSTUB(free, 0xffc03ab0)
88NSTUB(kbd_p1_f, 0xffc130c4)
89NSTUB(kbd_p1_f_cont, 0xffc130d0)
90NSTUB(kbd_p2_f, 0xffc12910)
91// Best match: 95%
92NSTUB(kbd_pwr_off, 0xffc37c7c)
93// Best match: 92%
94NSTUB(kbd_pwr_on, 0xffc37c24)
95NSTUB(kbd_read_keys, 0xffc12fc0)
96// Best match: 86%
97NSTUB(kbd_read_keys_r2, 0xffc3764c)
98NSTUB(lseek, 0xffc15060)
99NSTUB(malloc, 0xffc039dc)
100NSTUB(memcmp, 0xffc0e820)
101NSTUB(memcpy, 0xffc73a9c)
102NSTUB(memset, 0xffe1de08)
103NSTUB(mkdir, 0xffc152c4)
104NSTUB(mktime_ext, 0xffc74308)
105NSTUB(open, 0xffc0a0e0)
106NSTUB(opendir, 0xffdd05ac)
107NSTUB(openfastdir, 0xffdd05ac)
108// Best match: 95%
109NSTUB(qsort, 0xffd702a8)
110NSTUB(rand, 0xffc0e928)
111NSTUB(read, 0xffc0a378)
112NSTUB(readfastdir, 0xffdd0640)
113NSTUB(rename, 0xffc14ff4)
114NSTUB(srand, 0xffc0e91c)
115NSTUB(stat, 0xffc1512c)
116NSTUB(strcat, 0xffc739c8)
117NSTUB(strchr, 0xffc73a50)
118NSTUB(strcmp, 0xffc0e7b8)
119NSTUB(strcpy, 0xffc0e764)
120NSTUB(strftime, 0xffc73d10)
121NSTUB(strlen, 0xffc0e7fc)
122NSTUB(strncmp, 0xffc73a04)
123NSTUB(strncpy, 0xffc0e77c)
124NSTUB(strrchr, 0xffc73a74)
125NSTUB(strtol, 0xffc1fe0c)
126NSTUB(time, 0xffc571ac)
127NSTUB(vsprintf, 0xffc0e6e4)
128NSTUB(write, 0xffc0a3d8)
Note: See TracBrowser for help on using the repository browser.