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 NR_AUTO   (0)
 

Funktionen

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

Variablen

static long * nrflag = (long*)(0xCF68+0xC)
 

Makro-Dokumentation

#define NR_AUTO   (0)

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 15 der Datei capt_seq.c.

15  {
16 asm volatile (
17 " STMFD SP!, {R3-R7,LR} \n"
18 " LDR R5, =0x2401C \n"
19 " LDR R7, =0x3670 \n"
20 " MOV R6, #0 \n"
21 
22 "loc_FF072DD4:\n"
23 " LDR R0, [R7, #4] \n"
24 " MOV R2, #0 \n"
25 " MOV R1, SP \n"
26 " BL sub_006B84B8 /*_ReceiveMessageQueue*/ \n"
27 " TST R0, #1 \n"
28 " BEQ loc_FF072E04 \n"
29 " LDR R2, =0x4D4 \n"
30 " LDR R1, =0xFF072578 /*'SsShootTask.c'*/ \n"
31 " MOV R0, #0 \n"
32 " BL _DebugAssert \n"
33 " BL _ExitTask \n"
34 " LDMFD SP!, {R3-R7,PC} \n"
35 
36 "loc_FF072E04:\n"
37 " LDR R0, [SP] \n"
38 " LDR R0, [R0] \n"
39 " CMP R0, #1 \n"
40 " BLNE sub_FF1DB304 \n"
41 " LDR R0, [SP] \n"
42 " LDR R1, [R0] \n"
43 " CMP R1, #0x2C \n"
44 " ADDCC PC, PC, R1, LSL#2 \n"
45 " B loc_FF0730AC \n"
46 " B loc_FF072ED8 \n"
47 " B loc_FF072EF0 \n"
48 " B loc_FF072EFC \n"
49 " B loc_FF072F10 \n"
50 " B loc_FF072F08 \n"
51 " B loc_FF072F1C \n"
52 " B loc_FF072F24 \n"
53 " B loc_FF072F2C \n"
54 " B loc_FF072F38 \n"
55 " B loc_FF072F7C \n"
56 " B loc_FF072F44 \n"
57 " B loc_FF072F50 \n"
58 " B loc_FF072F58 \n"
59 " B loc_FF072F64 \n"
60 " B loc_FF072F6C \n"
61 " B loc_FF072F74 \n"
62 " B loc_FF072F84 \n"
63 " B loc_FF072F8C \n"
64 " B loc_FF072F94 \n"
65 " B loc_FF072F9C \n"
66 " B loc_FF072FA4 \n"
67 " B loc_FF072FAC \n"
68 " B loc_FF072FB4 \n"
69 " B loc_FF072FBC \n"
70 " B loc_FF072FC4 \n"
71 " B loc_FF072FCC \n"
72 " B loc_FF072FD4 \n"
73 " B loc_FF072FDC \n"
74 " B loc_FF072FE8 \n"
75 " B loc_FF072FF0 \n"
76 " B loc_FF072FF8 \n"
77 " B loc_FF073004 \n"
78 " B loc_FF07300C \n"
79 " B loc_FF073014 \n"
80 " B loc_FF07301C \n"
81 " B loc_FF073024 \n"
82 " B loc_FF07302C \n"
83 " B loc_FF073034 \n"
84 " B loc_FF073040 \n"
85 " B loc_FF073048 \n"
86 " B loc_FF073054 \n"
87 " B loc_FF07308C \n"
88 " B loc_FF073098 \n"
89 " B loc_FF0730BC \n"
90 
91 "loc_FF072ED8:\n"
92 //" BL shooting_expo_iso_override\n" // extra ISO override call doesn't appear to be needed on elph130
93 " BL sub_FF0735E4 \n"
94 " BL shooting_expo_param_override\n" // added
95 " BL sub_FF070364 \n"
96 // try avoid intermittetant override failues on quick press, not needed?
97 //" MOV R0, #0\n" // added
98 //" STR R0, [R5,#0x28]\n" // added
99 " LDR R0, [R5, #0x28] \n"
100 " CMP R0, #0 \n"
101 " BLNE sub_FF1D9B68_my \n" // --> Patched. Old value = 0xFF1D9B68.
102 " B loc_FF0730BC \n"
103 
104 "loc_FF072EF0:\n"
105 " LDR R0, [R0, #0x10] \n"
106 " BL sub_FF1D9A00_my \n" // --> Patched. Old value = 0xFF1D9A00.
107 " B loc_FF0730BC \n"
108 
109 "loc_FF072EFC:\n"
110 " MOV R0, #1 \n"
111 " BL sub_FF073920 \n"
112 " B loc_FF0730BC \n"
113 
114 "loc_FF072F08:\n"
115 " BL sub_FF0732B0 \n"
116 " B loc_FF072F14 \n"
117 
118 "loc_FF072F10:\n"
119 " BL sub_FF0735C0 \n"
120 
121 "loc_FF072F14:\n"
122 " STR R6, [R5, #0x28] \n"
123 " B loc_FF0730BC \n"
124 
125 "loc_FF072F1C:\n"
126 " BL sub_FF0735C8 \n"
127 " B loc_FF0730BC \n"
128 
129 "loc_FF072F24:\n"
130 " BL sub_FF0737EC \n"
131 " B loc_FF072F3C \n"
132 
133 "loc_FF072F2C:\n"
134 " LDR R0, [R0, #0x10] \n"
135 " BL sub_FF1D9BF8 \n"
136 " B loc_FF0730BC \n"
137 
138 "loc_FF072F38:\n"
139 " BL sub_FF073874 \n"
140 
141 "loc_FF072F3C:\n"
142 " BL sub_FF070364 \n"
143 " B loc_FF0730BC \n"
144 
145 "loc_FF072F44:\n"
146 " LDR R0, [R5, #0x58] \n"
147 " BL sub_FF074138 \n"
148 " B loc_FF0730BC \n"
149 
150 "loc_FF072F50:\n"
151 " BL sub_FF0744B8 \n"
152 " B loc_FF0730BC \n"
153 
154 "loc_FF072F58:\n"
155 " LDR R0, [R0, #0xC] \n"
156 " BL sub_FF074520 \n"
157 " B loc_FF0730BC \n"
158 
159 "loc_FF072F64:\n"
160 " BL sub_FF074720 \n"
161 " B loc_FF0730BC \n"
162 
163 "loc_FF072F6C:\n"
164 " BL sub_FF074C14 \n"
165 " B loc_FF0730BC \n"
166 
167 "loc_FF072F74:\n"
168 " BL sub_FF074CF4 \n"
169 " B loc_FF0730BC \n"
170 
171 "loc_FF072F7C:\n"
172 " BL sub_FF0735C0 \n"
173 " B loc_FF0730BC \n"
174 
175 "loc_FF072F84:\n"
176 " BL sub_FF1D8DFC \n"
177 " B loc_FF0730BC \n"
178 
179 "loc_FF072F8C:\n"
180 " BL sub_FF1D9040 \n"
181 " B loc_FF0730BC \n"
182 
183 "loc_FF072F94:\n"
184 " BL sub_FF1D90FC \n"
185 " B loc_FF0730BC \n"
186 
187 "loc_FF072F9C:\n"
188 " BL sub_FF1D919C \n"
189 " B loc_FF0730BC \n"
190 
191 "loc_FF072FA4:\n"
192 " BL sub_FF1D9274 \n"
193 " B loc_FF0730BC \n"
194 
195 "loc_FF072FAC:\n"
196 " MOV R0, #0 \n"
197 " B loc_FF072FE0 \n"
198 
199 "loc_FF072FB4:\n"
200 " BL sub_FF1D9694 \n"
201 " B loc_FF0730BC \n"
202 
203 "loc_FF072FBC:\n"
204 " BL sub_FF07B6E0 \n"
205 " B loc_FF0730BC \n"
206 
207 "loc_FF072FC4:\n"
208 " BL sub_FF07B6EC \n"
209 " B loc_FF0730BC \n"
210 
211 "loc_FF072FCC:\n"
212 " BL sub_FF1D9730 \n"
213 " B loc_FF0730BC \n"
214 
215 "loc_FF072FD4:\n"
216 " BL sub_FF1D97DC \n"
217 " B loc_FF0730BC \n"
218 
219 "loc_FF072FDC:\n"
220 " MOV R0, #1 \n"
221 
222 "loc_FF072FE0:\n"
223 " BL sub_FF1D9530 \n"
224 " B loc_FF0730BC \n"
225 
226 "loc_FF072FE8:\n"
227 " BL sub_FF073AA4 \n"
228 " B loc_FF0730BC \n"
229 
230 "loc_FF072FF0:\n"
231 " MOV R0, #0 \n"
232 " B loc_FF072FFC \n"
233 
234 "loc_FF072FF8:\n"
235 " LDR R0, [R0, #0xC] \n"
236 
237 "loc_FF072FFC:\n"
238 " BL sub_FF073B30 \n"
239 " B loc_FF0730BC \n"
240 
241 "loc_FF073004:\n"
242 " BL sub_FF1D9404 \n"
243 " B loc_FF0730BC \n"
244 
245 "loc_FF07300C:\n"
246 " BL sub_FF1D949C \n"
247 " B loc_FF0730BC \n"
248 
249 "loc_FF073014:\n"
250 " BL sub_FF1DA9E8 \n"
251 " B loc_FF0730BC \n"
252 
253 "loc_FF07301C:\n"
254 //" BL _sub_FF070C68 \n" // --> Nullsub call removed.
255 " B loc_FF0730BC \n"
256 
257 "loc_FF073024:\n"
258 " BL sub_FF077434 \n"
259 " B loc_FF0730BC \n"
260 
261 "loc_FF07302C:\n"
262 " BL sub_FF077564 \n"
263 " B loc_FF0730BC \n"
264 
265 "loc_FF073034:\n"
266 " LDR R0, [R0, #0xC] \n"
267 " BL sub_FF1D98EC \n"
268 " B loc_FF0730BC \n"
269 
270 "loc_FF073040:\n"
271 " BL sub_FF1D9974 \n"
272 " B loc_FF0730BC \n"
273 
274 "loc_FF073048:\n"
275 " BL sub_FF0776D4 \n"
276 " BL sub_FF0775C0 \n"
277 " B loc_FF0730BC \n"
278 
279 "loc_FF073054:\n"
280 " MOV R0, #1 \n"
281 " BL sub_FF1DA3F4 \n"
282 " MOV R0, #1 \n"
283 " BL sub_FF1DA520 \n"
284 " LDR R0, =0x2411C \n"
285 " LDRH R0, [R0, #0xB0] \n"
286 " CMP R0, #4 \n"
287 " LDRNEH R0, [R5] \n"
288 " SUBNE R1, R0, #0x8000 \n"
289 " SUBNES R1, R1, #0x230 \n"
290 " BNE loc_FF0730BC \n"
291 " BL sub_FF077564 \n"
292 " BL sub_FF077A98 \n"
293 " B loc_FF0730BC \n"
294 
295 "loc_FF07308C:\n"
296 " MOV R2, #0 \n"
297 " MOV R1, #0x10 \n"
298 " B loc_FF0730A0 \n"
299 
300 "loc_FF073098:\n"
301 " MOV R2, #0 \n"
302 " MOV R1, #0xF \n"
303 
304 "loc_FF0730A0:\n"
305 " MOV R0, #0 \n"
306 " BL sub_FF070E2C \n"
307 " B loc_FF0730BC \n"
308 
309 "loc_FF0730AC:\n"
310 " LDR R2, =0x65A \n"
311 " LDR R1, =0xFF072578 /*'SsShootTask.c'*/ \n"
312 " MOV R0, #0 \n"
313 " BL _DebugAssert \n"
314 
315 "loc_FF0730BC:\n"
316 " LDR R0, [SP] \n"
317 " LDR R1, [R0, #4] \n"
318 " LDR R0, [R7] \n"
319 " BL sub_006B82C8 /*_SetEventFlag*/ \n"
320 " LDR R4, [SP] \n"
321 " LDR R0, [R4, #8] \n"
322 " CMP R0, #0 \n"
323 " LDREQ R2, =0x126 \n"
324 " LDREQ R1, =0xFF072578 /*'SsShootTask.c'*/ \n"
325 " BLEQ _DebugAssert \n"
326 " STR R6, [R4, #8] \n"
327 " B loc_FF072DD4 \n"
328 );
329 }

Variablen-Dokumentation

long* nrflag = (long*)(0xCF68+0xC)
static

Definiert in Zeile 9 der Datei capt_seq.c.