CHDK_DE Vorschauversion  Trunk Rev. 5234
 Alle Datenstrukturen Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Makrodefinitionen
capt_seq.c-Dateireferenz
#include "lolevel.h"
#include "platform.h"
#include "core.h"
#include "../../../generic/capt_seq.c"
+ Include-Abhängigkeitsdiagramm für capt_seq.c:

gehe zum Quellcode dieser Datei

Makrodefinitionen

#define USE_STUBS_NRFLAG   1
 
#define NR_AUTO   (0)
 
#define PAUSE_FOR_FILE_COUNTER   350
 

Funktionen

void __attribute__ ((naked, noinline))
 *-------------------------------------------------------------------— Mehr ...
 

Makro-Dokumentation

#define NR_AUTO   (0)

Definiert in Zeile 9 der Datei capt_seq.c.

#define PAUSE_FOR_FILE_COUNTER   350

Definiert in Zeile 11 der Datei capt_seq.c.

#define USE_STUBS_NRFLAG   1

Definiert in Zeile 8 der Datei capt_seq.c.

Dokumentation der Funktionen

void __attribute__ ( (naked, noinline)  )

*-------------------------------------------------------------------—

!!

IS_ERROR( hSoundHandle )

IS_ERROR( RetCode )

IS_ERROR( RetCode )

IS_ERROR( RetCode )

IS_ERROR( RetCode )

"MOV R3, #0\n" "STR R3, [R9]\n"

TODO! below is from sd400

"MOV R3, #0\n" "STR R3, [R9]\n"

TODO! below is from sd400

__MovieRecorder_c__100

__MovieRecorder_c__100

ASM1989 -> In sx200:FF857190 //"Mounter.c"

ASM1989 -> In sx200:FF81B284 // DebugAssert

Definiert in Zeile 17 der Datei capt_seq.c.

17  {
18 asm volatile (
19 " STMFD SP!, {R3-R7,LR} \n"
20 " LDR R5, =0x27FDC \n"
21 " LDR R7, =0x3A38 \n"
22 " MOV R6, #0 \n"
23 
24 "loc_FF09C8B0:\n"
25 " LDR R0, [R7, #8] \n"
26 " MOV R2, #0 \n"
27 " MOV R1, SP \n"
28 " BL sub_006B849C /*_ReceiveMessageQueue*/ \n"
29 " TST R0, #1 \n"
30 " BEQ loc_FF09C8E0 \n"
31 " LDR R2, =0x435 \n"
32 " LDR R1, =0xFF09C144 /*'SsShootTask.c'*/ \n"
33 " MOV R0, #0 \n"
34 " BL _DebugAssert \n"
35 " BL _ExitTask \n"
36 " LDMFD SP!, {R3-R7,PC} \n"
37 
38 "loc_FF09C8E0:\n"
39 " LDR R0, [SP] \n"
40 " LDR R0, [R0] \n"
41 " CMP R0, #1 \n"
42 " CMPNE R0, #0x27 \n"
43 " CMPNE R0, #0x1E \n"
44 " BLNE sub_FF2234F8 \n"
45 " LDR R0, [SP] \n"
46 " LDR R1, [R0] \n"
47 " CMP R1, #0x29 \n"
48 " ADDCC PC, PC, R1, LSL#2 \n"
49 " B loc_FF09CB78 \n"
50 " B loc_FF09C9B0 \n"
51 " B loc_FF09C9D0 \n"
52 " B loc_FF09C9DC \n"
53 " B loc_FF09C9F0 \n"
54 " B loc_FF09C9E8 \n"
55 " B loc_FF09CA04 \n"
56 " B loc_FF09CA0C \n"
57 " B loc_FF09CA14 \n"
58 " B loc_FF09CA20 \n"
59 " B loc_FF09CA64 \n"
60 " B loc_FF09CA2C \n"
61 " B loc_FF09CA38 \n"
62 " B loc_FF09CA40 \n"
63 " B loc_FF09CA4C \n"
64 " B loc_FF09CA54 \n"
65 " B loc_FF09CA5C \n"
66 " B loc_FF09CA74 \n"
67 " B loc_FF09CA7C \n"
68 " B loc_FF09CA84 \n"
69 " B loc_FF09CA8C \n"
70 " B loc_FF09CA94 \n"
71 " B loc_FF09CA9C \n"
72 " B loc_FF09CAA4 \n"
73 " B loc_FF09CAAC \n"
74 " B loc_FF09CAB4 \n"
75 " B loc_FF09CABC \n"
76 " B loc_FF09CAC4 \n"
77 " B loc_FF09CACC \n"
78 " B loc_FF09CAD8 \n"
79 " B loc_FF09CAE0 \n"
80 " B loc_FF09CAE8 \n"
81 " B loc_FF09CAF4 \n"
82 " B loc_FF09CAFC \n"
83 " B loc_FF09CB04 \n"
84 " B loc_FF09CB0C \n"
85 " B loc_FF09CB14 \n"
86 " B loc_FF09CB20 \n"
87 " B loc_FF09CB28 \n"
88 " B loc_FF09CB58 \n"
89 " B loc_FF09CB64 \n"
90 " B loc_FF09CB88 \n"
91 
92 "loc_FF09C9B0:\n"
93 " LDR R0, [R0, #0xC] \n"
94 " AND R0, R0, #0xFF \n"
95 //" BL shooting_expo_iso_override\n" // extra ISO override call doesn't appear to be needed on elph130
96 " BL sub_FF09D1C4 \n"
97 " BL shooting_expo_param_override\n" // added
98 " BL sub_FF099B34 \n"
99 // try avoid intermittetant override failues on quick press, not needed?
100 //" MOV R0, #0\n" // added
101 //" STR R0, [R5,#0x28]\n" // added
102 " LDR R0, [R5, #0x28] \n"
103 " CMP R0, #0 \n"
104 " BLNE sub_FF222454_my \n" // --> Patched. Old value = 0xFF222454.
105 " B loc_FF09CB88 \n"
106 
107 "loc_FF09C9D0:\n"
108 " LDR R0, [R0, #0x10] \n"
109 " BL sub_FF222268_my \n" // --> Patched. Old value = 0xFF222268.
110 " B loc_FF09CB88 \n"
111 
112 "loc_FF09C9DC:\n"
113 " MOV R0, #1 \n"
114 " BL sub_FF09D550 \n"
115 " B loc_FF09CB88 \n"
116 
117 "loc_FF09C9E8:\n"
118 " BL sub_FF09CD84 \n"
119 " B loc_FF09C9FC \n"
120 
121 "loc_FF09C9F0:\n"
122 " LDR R0, [R0, #0xC] \n"
123 " AND R0, R0, #0xFF \n"
124 " BL sub_FF09D198 \n"
125 
126 "loc_FF09C9FC:\n"
127 " STR R6, [R5, #0x28] \n"
128 " B loc_FF09CB88 \n"
129 
130 "loc_FF09CA04:\n"
131 " BL sub_FF09D1A4 \n"
132 " B loc_FF09CB88 \n"
133 
134 "loc_FF09CA0C:\n"
135 " BL sub_FF09D408 \n"
136 " B loc_FF09CA24 \n"
137 
138 "loc_FF09CA14:\n"
139 " LDR R0, [R0, #0x10] \n"
140 " BL sub_FF222530 \n"
141 " B loc_FF09CB88 \n"
142 
143 "loc_FF09CA20:\n"
144 " BL sub_FF09D4A0 \n"
145 
146 "loc_FF09CA24:\n"
147 " BL sub_FF099B34 \n"
148 " B loc_FF09CB88 \n"
149 
150 "loc_FF09CA2C:\n"
151 " LDR R0, [R5, #0x54] \n"
152 " BL sub_FF09DC98 \n"
153 " B loc_FF09CB88 \n"
154 
155 "loc_FF09CA38:\n"
156 " BL sub_FF09DFF0 \n"
157 " B loc_FF09CB88 \n"
158 
159 "loc_FF09CA40:\n"
160 " LDR R0, [R0, #0xC] \n"
161 " BL sub_FF09E058 \n"
162 " B loc_FF09CB88 \n"
163 
164 "loc_FF09CA4C:\n"
165 " BL sub_FF09E214 \n"
166 " B loc_FF09CB88 \n"
167 
168 "loc_FF09CA54:\n"
169 " BL sub_FF09E740 \n"
170 " B loc_FF09CB88 \n"
171 
172 "loc_FF09CA5C:\n"
173 " BL sub_FF09E828 \n"
174 " B loc_FF09CB88 \n"
175 
176 "loc_FF09CA64:\n"
177 " LDR R0, [R0, #0xC] \n"
178 " AND R0, R0, #0xFF \n"
179 " BL sub_FF09D198 \n"
180 " B loc_FF09CB88 \n"
181 
182 "loc_FF09CA74:\n"
183 " BL sub_FF2208EC \n"
184 " B loc_FF09CB88 \n"
185 
186 "loc_FF09CA7C:\n"
187 " BL sub_FF220B44 \n"
188 " B loc_FF09CB88 \n"
189 
190 "loc_FF09CA84:\n"
191 " BL sub_FF220C00 \n"
192 " B loc_FF09CB88 \n"
193 
194 "loc_FF09CA8C:\n"
195 " BL sub_FF220CB0 \n"
196 " B loc_FF09CB88 \n"
197 
198 "loc_FF09CA94:\n"
199 " BL sub_FF220D90 \n"
200 " B loc_FF09CB88 \n"
201 
202 "loc_FF09CA9C:\n"
203 " MOV R0, #0 \n"
204 " B loc_FF09CAD0 \n"
205 
206 "loc_FF09CAA4:\n"
207 " BL sub_FF2211DC \n"
208 " B loc_FF09CB88 \n"
209 
210 "loc_FF09CAAC:\n"
211 " BL sub_FF0A5A34 \n"
212 " B loc_FF09CB88 \n"
213 
214 "loc_FF09CAB4:\n"
215 " BL sub_FF0A5A40 \n"
216 " B loc_FF09CB88 \n"
217 
218 "loc_FF09CABC:\n"
219 " BL sub_FF221280 \n"
220 " B loc_FF09CB88 \n"
221 
222 "loc_FF09CAC4:\n"
223 " BL sub_FF221330 \n"
224 " B loc_FF09CB88 \n"
225 
226 "loc_FF09CACC:\n"
227 " MOV R0, #1 \n"
228 
229 "loc_FF09CAD0:\n"
230 " BL sub_FF221060 \n"
231 " B loc_FF09CB88 \n"
232 
233 "loc_FF09CAD8:\n"
234 " BL sub_FF09D680 \n"
235 " B loc_FF09CB88 \n"
236 
237 "loc_FF09CAE0:\n"
238 " MOV R0, #0 \n"
239 " B loc_FF09CAEC \n"
240 
241 "loc_FF09CAE8:\n"
242 " LDR R0, [R0, #0xC] \n"
243 
244 "loc_FF09CAEC:\n"
245 " BL sub_FF09D710 \n"
246 " B loc_FF09CB88 \n"
247 
248 "loc_FF09CAF4:\n"
249 " BL sub_FF220F2C \n"
250 " B loc_FF09CB88 \n"
251 
252 "loc_FF09CAFC:\n"
253 " BL sub_FF220FC0 \n"
254 " B loc_FF09CB88 \n"
255 
256 "loc_FF09CB04:\n"
257 " BL sub_FF0A1344 \n"
258 " B loc_FF09CB88 \n"
259 
260 "loc_FF09CB0C:\n"
261 " BL sub_FF0A14B4 \n"
262 " B loc_FF09CB88 \n"
263 
264 "loc_FF09CB14:\n"
265 " LDR R0, [R0, #0xC] \n"
266 " BL sub_FF221448 \n"
267 " B loc_FF09CB88 \n"
268 
269 "loc_FF09CB20:\n"
270 " BL sub_FF2214D8 \n"
271 " B loc_FF09CB88 \n"
272 
273 "loc_FF09CB28:\n"
274 " BL sub_FF0A46B8 \n"
275 " LDR R0, =0x280DC \n"
276 " LDRH R0, [R0, #0xA4] \n"
277 " CMP R0, #4 \n"
278 " LDRNEH R0, [R5] \n"
279 " SUBNE R1, R0, #0x4200 \n"
280 " SUBNES R1, R1, #0x36 \n"
281 " BNE loc_FF09CB88 \n"
282 " BL sub_FF0A14B4 \n"
283 " BL sub_FF0A1B7C \n"
284 " BL sub_FF0A19C0 \n"
285 " B loc_FF09CB88 \n"
286 
287 "loc_FF09CB58:\n"
288 " MOV R2, #0 \n"
289 " MOV R1, #0x11 \n"
290 " B loc_FF09CB6C \n"
291 
292 "loc_FF09CB64:\n"
293 " MOV R2, #0 \n"
294 " MOV R1, #0x10 \n"
295 
296 "loc_FF09CB6C:\n"
297 " MOV R0, #0 \n"
298 " BL sub_FF09A720 \n"
299 " B loc_FF09CB88 \n"
300 
301 "loc_FF09CB78:\n"
302 " LDR R2, =0x559 \n"
303 " LDR R1, =0xFF09C144 /*'SsShootTask.c'*/ \n"
304 " MOV R0, #0 \n"
305 " BL _DebugAssert \n"
306 
307 "loc_FF09CB88:\n"
308 " LDR R0, [SP] \n"
309 " LDR R1, [R0, #4] \n"
310 " LDR R0, [R7, #4] \n"
311 " BL sub_006B8230 /*_SetEventFlag*/ \n"
312 " LDR R4, [SP] \n"
313 " LDR R0, [R4, #8] \n"
314 " CMP R0, #0 \n"
315 " LDREQ R2, =0x125 \n"
316 " LDREQ R1, =0xFF09C144 /*'SsShootTask.c'*/ \n"
317 " BLEQ _DebugAssert \n"
318 " STR R6, [R4, #8] \n"
319 " B loc_FF09C8B0 \n"
320 );
321 }