CHDK_DE Vorschauversion  Trunk Rev. 5410
 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 10 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 16 der Datei capt_seq.c.

16  {
17 asm volatile (
18 " STMFD SP!, {R3-R7,LR} \n"
19 " LDR R5, =0x21AF0 \n"
20 " LDR R7, =0x39D0 \n"
21 " MOV R6, #0 \n"
22 
23 "loc_FF09ABA0:\n"
24 " LDR R0, [R7, #8] \n"
25 " MOV R2, #0 \n"
26 " MOV R1, SP \n"
27 " BL sub_FF0394D4 /*_ReceiveMessageQueue*/ \n"
28 " TST R0, #1 \n"
29 " BEQ loc_FF09ABD0 \n"
30 " LDR R2, =0x452 \n"
31 " LDR R1, =0xFF09A46C /*'SsShootTask.c'*/ \n"
32 " MOV R0, #0 \n"
33 " BL _DebugAssert \n"
34 " BL _ExitTask \n"
35 " LDMFD SP!, {R3-R7,PC} \n"
36 
37 "loc_FF09ABD0:\n"
38 " LDR R0, [SP] \n"
39 " LDR R0, [R0] \n"
40 " CMP R0, #1 \n"
41 " CMPNE R0, #0x2D \n"
42 " CMPNE R0, #0x21 \n"
43 " BLNE sub_FF1F9660 \n"
44 " LDR R0, [SP] \n"
45 " LDR R1, [R0] \n"
46 " CMP R1, #0x31 \n"
47 " ADDCC PC, PC, R1, LSL#2 \n"
48 " B loc_FF09AE74 \n"
49 " B loc_FF09ACC0 \n"
50 " B loc_FF09ACDC \n"
51 " B loc_FF09ACE8 \n"
52 " B loc_FF09ACFC \n"
53 " B loc_FF09ACF4 \n"
54 " B loc_FF09AD0C \n"
55 " B loc_FF09AD14 \n"
56 " B loc_FF09AD20 \n"
57 " B loc_FF09AD2C \n"
58 " B loc_FF09AD40 \n"
59 " B loc_FF09AD4C \n"
60 " B loc_FF09AD54 \n"
61 " B loc_FF09AE74 \n"
62 " B loc_FF09AE74 \n"
63 " B loc_FF09AE74 \n"
64 " B loc_FF09AE74 \n"
65 " B loc_FF09AD60 \n"
66 " B loc_FF09AD68 \n"
67 " B loc_FF09AE74 \n"
68 " B loc_FF09AD70 \n"
69 " B loc_FF09AD78 \n"
70 " B loc_FF09AD80 \n"
71 " B loc_FF09AD8C \n"
72 " B loc_FF09AD94 \n"
73 " B loc_FF09AD9C \n"
74 " B loc_FF09ADA4 \n"
75 " B loc_FF09ADAC \n"
76 " B loc_FF09AE74 \n"
77 " B loc_FF09ADB4 \n"
78 " B loc_FF09ADC0 \n"
79 " B loc_FF09AE74 \n"
80 " B loc_FF09ADCC \n"
81 " B loc_FF09ADD4 \n"
82 " B loc_FF09ADDC \n"
83 " B loc_FF09ADE8 \n"
84 " B loc_FF09AE74 \n"
85 " B loc_FF09ADF0 \n"
86 " B loc_FF09AE74 \n"
87 " B loc_FF09ADF8 \n"
88 " B loc_FF09AE00 \n"
89 " B loc_FF09AE08 \n"
90 " B loc_FF09AE14 \n"
91 " B loc_FF09AE1C \n"
92 " B loc_FF09AE74 \n"
93 " B loc_FF09AE48 \n"
94 " B loc_FF09AE54 \n"
95 " B loc_FF09AE68 \n"
96 " B loc_FF09AE74 \n"
97 " B loc_FF09AE84 \n"
98 
99 "loc_FF09ACC0:\n"
100 " LDR R0, [R0, #0xC] \n"
101 " BL sub_FF09B50C \n"
102 " BL shooting_expo_param_override\n" // added
103 " BL sub_FF097E7C \n"
104 //To do: Check if this is needed.
105 //" MOV R0, #0\n" // added
106 //" STR R0, [R5,#0x28]\n" // added, fixes overrides behavior at short shutter press (from S95)
107 " LDR R0, [R5, #0x24] \n"
108 " CMP R0, #0 \n"
109 " BLNE sub_FF1F8698_my \n" // --> Patched. Old value = 0xFF1F8698.
110 " B loc_FF09AE84 \n"
111 
112 "loc_FF09ACDC:\n"
113 " LDR R0, [R0, #0x10] \n"
114 " BL sub_FF1F85F4_my \n" // --> Patched. Old value = 0xFF1F85F4.
115 " B loc_FF09AE84 \n"
116 
117 "loc_FF09ACE8:\n"
118 " MOV R0, #1 \n"
119 " BL sub_FF09B8B0 \n"
120 " B loc_FF09AE84 \n"
121 
122 "loc_FF09ACF4:\n"
123 " BL sub_FF09B074 \n"
124 " B loc_FF09AD04 \n"
125 
126 "loc_FF09ACFC:\n"
127 " LDR R0, [R0, #0xC] \n"
128 " BL sub_FF09B4A8 \n"
129 
130 "loc_FF09AD04:\n"
131 " STR R6, [R5, #0x24] \n"
132 " B loc_FF09AE84 \n"
133 
134 "loc_FF09AD0C:\n"
135 " BL sub_FF09B4B4 \n"
136 " B loc_FF09AE84 \n"
137 
138 "loc_FF09AD14:\n"
139 " BL sub_FF09B778 \n"
140 " BL sub_FF097E7C \n"
141 " B loc_FF09AE84 \n"
142 
143 "loc_FF09AD20:\n"
144 " LDR R0, [R0, #0x10] \n"
145 " BL sub_FF1F87B4 \n"
146 " B loc_FF09AE84 \n"
147 
148 "loc_FF09AD2C:\n"
149 " BL sub_FF09B800 \n"
150 " BL sub_FF097E7C \n"
151 " MOV R0, #0 \n"
152 " BL sub_FF032570 \n"
153 " B loc_FF09AE84 \n"
154 
155 "loc_FF09AD40:\n"
156 " LDR R0, [R5, #0x50] \n"
157 " BL sub_FF09CAF8 \n"
158 " B loc_FF09AE84 \n"
159 
160 "loc_FF09AD4C:\n"
161 " BL sub_FF09CF54 \n"
162 " B loc_FF09AE84 \n"
163 
164 "loc_FF09AD54:\n"
165 " LDR R0, [R0, #0xC] \n"
166 " BL sub_FF09CFBC \n"
167 " B loc_FF09AE84 \n"
168 
169 "loc_FF09AD60:\n"
170 " BL sub_FF1F6CC8 \n"
171 " B loc_FF09AE84 \n"
172 
173 "loc_FF09AD68:\n"
174 " BL sub_FF1F6EB8 \n"
175 " B loc_FF09AE84 \n"
176 
177 "loc_FF09AD70:\n"
178 " BL sub_FF1F6F78 \n"
179 " B loc_FF09AE84 \n"
180 
181 "loc_FF09AD78:\n"
182 " BL sub_FF1F7064 \n"
183 " B loc_FF09AE84 \n"
184 
185 "loc_FF09AD80:\n"
186 " MOV R0, #0 \n"
187 " BL sub_FF1F7330 \n"
188 " B loc_FF09AE84 \n"
189 
190 "loc_FF09AD8C:\n"
191 " BL sub_FF1F74A4 \n"
192 " B loc_FF09AE84 \n"
193 
194 "loc_FF09AD94:\n"
195 " BL sub_FF0A3FCC \n"
196 " B loc_FF09AE84 \n"
197 
198 "loc_FF09AD9C:\n"
199 " BL sub_FF0A3FD8 \n"
200 " B loc_FF09AE84 \n"
201 
202 "loc_FF09ADA4:\n"
203 " MOV R0, #0 \n"
204 " B loc_FF09ADB8 \n"
205 
206 "loc_FF09ADAC:\n"
207 " MOV R0, #0 \n"
208 " B loc_FF09ADC4 \n"
209 
210 "loc_FF09ADB4:\n"
211 " MOV R0, #1 \n"
212 
213 "loc_FF09ADB8:\n"
214 " BL sub_FF1F752C \n"
215 " B loc_FF09AE84 \n"
216 
217 "loc_FF09ADC0:\n"
218 " MOV R0, #1 \n"
219 
220 "loc_FF09ADC4:\n"
221 " BL sub_FF1F7608 \n"
222 " B loc_FF09AE84 \n"
223 
224 "loc_FF09ADCC:\n"
225 " BL sub_FF09B9CC \n"
226 " B loc_FF09AE84 \n"
227 
228 "loc_FF09ADD4:\n"
229 " MOV R0, #0 \n"
230 " B loc_FF09ADE0 \n"
231 
232 "loc_FF09ADDC:\n"
233 " LDR R0, [R0, #0xC] \n"
234 
235 "loc_FF09ADE0:\n"
236 " BL sub_FF09BA8C \n"
237 " B loc_FF09AE84 \n"
238 
239 "loc_FF09ADE8:\n"
240 " BL sub_FF1F71F8 \n"
241 " B loc_FF09AE84 \n"
242 
243 "loc_FF09ADF0:\n"
244 " BL sub_FF1F7294 \n"
245 " B loc_FF09AE84 \n"
246 
247 "loc_FF09ADF8:\n"
248 " BL sub_FF09FCEC \n"
249 " B loc_FF09AE84 \n"
250 
251 "loc_FF09AE00:\n"
252 " BL sub_FF09FE20 \n"
253 " B loc_FF09AE84 \n"
254 
255 "loc_FF09AE08:\n"
256 " LDR R0, [R0, #0xC] \n"
257 " BL sub_FF1F7720 \n"
258 " B loc_FF09AE84 \n"
259 
260 "loc_FF09AE14:\n"
261 " BL sub_FF1F77B0 \n"
262 " B loc_FF09AE84 \n"
263 
264 "loc_FF09AE1C:\n"
265 " BL sub_FF0A2688 \n"
266 " LDR R0, =0x21BF0 \n"
267 " LDRH R0, [R0, #0xA8] \n"
268 " CMP R0, #4 \n"
269 " LDRNEH R0, [R5] \n"
270 " SUBNE R1, R0, #0x8200 \n"
271 " SUBNES R1, R1, #0x37 \n"
272 " BNE loc_FF09AE84 \n"
273 " BL sub_FF09FE20 \n"
274 " BL sub_FF0A03EC \n"
275 " B loc_FF09AE84 \n"
276 
277 "loc_FF09AE48:\n"
278 " MOV R2, #0 \n"
279 " MOV R1, #0x12 \n"
280 " B loc_FF09AE5C \n"
281 
282 "loc_FF09AE54:\n"
283 " MOV R2, #0 \n"
284 " MOV R1, #0x10 \n"
285 
286 "loc_FF09AE5C:\n"
287 " MOV R0, #0 \n"
288 " BL sub_FF0989B4 \n"
289 " B loc_FF09AE84 \n"
290 
291 "loc_FF09AE68:\n"
292 " MOV R2, #0 \n"
293 " MOV R1, #0x11 \n"
294 " B loc_FF09AE5C \n"
295 
296 "loc_FF09AE74:\n"
297 " LDR R2, =0x58E \n"
298 " LDR R1, =0xFF09A46C /*'SsShootTask.c'*/ \n"
299 " MOV R0, #0 \n"
300 " BL _DebugAssert \n"
301 
302 "loc_FF09AE84:\n"
303 " LDR R0, [SP] \n"
304 " LDR R1, [R0, #4] \n"
305 " LDR R0, [R7, #4] \n"
306 " BL sub_FF039268 /*_SetEventFlag*/ \n"
307 " LDR R4, [SP] \n"
308 " LDR R0, [R4, #8] \n"
309 " CMP R0, #0 \n"
310 " LDREQ R2, =0x102 \n"
311 " LDREQ R1, =0xFF09A46C /*'SsShootTask.c'*/ \n"
312 " BLEQ _DebugAssert \n"
313 " STR R6, [R4, #8] \n"
314 " B loc_FF09ABA0 \n"
315 );
316 }