CHDK_DE Vorschauversion  Trunk Rev. 5251
 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, =0x1F514 \n"
20 " LDR R7, =0x35A0 \n"
21 " MOV R6, #0 \n"
22 
23 "loc_FF890CDC:\n"
24 " LDR R0, [R7, #4] \n"
25 " MOV R2, #0 \n"
26 " MOV R1, SP \n"
27 " BL sub_FF829E30 /*_ReceiveMessageQueue*/ \n"
28 " TST R0, #1 \n"
29 " BEQ loc_FF890D0C \n"
30 " LDR R2, =0x443 \n"
31 " LDR R1, =0xFF890640 /*'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_FF890D0C:\n"
38 " LDR R0, [SP] \n"
39 " LDR R0, [R0] \n"
40 " CMP R0, #1 \n"
41 " CMPNE R0, #0x23 \n"
42 " CMPNE R0, #0x19 \n"
43 " BLNE sub_FF9B605C \n"
44 " LDR R0, [SP] \n"
45 " LDR R1, [R0] \n"
46 " CMP R1, #0x25 \n"
47 " ADDCC PC, PC, R1, LSL#2 \n"
48 " B loc_FF890F5C \n"
49 " B loc_FF890DCC \n"
50 " B loc_FF890DE4 \n"
51 " B loc_FF890DF0 \n"
52 " B loc_FF890E04 \n"
53 " B loc_FF890DFC \n"
54 " B loc_FF890E10 \n"
55 " B loc_FF890E18 \n"
56 " B loc_FF890E20 \n"
57 " B loc_FF890E2C \n"
58 " B loc_FF890E58 \n"
59 " B loc_FF890E38 \n"
60 " B loc_FF890E44 \n"
61 " B loc_FF890E4C \n"
62 " B loc_FF890E60 \n"
63 " B loc_FF890E68 \n"
64 " B loc_FF890E70 \n"
65 " B loc_FF890E78 \n"
66 " B loc_FF890E80 \n"
67 " B loc_FF890E8C \n"
68 " B loc_FF890E94 \n"
69 " B loc_FF890E9C \n"
70 " B loc_FF890EA4 \n"
71 " B loc_FF890EAC \n"
72 " B loc_FF890EB4 \n"
73 " B loc_FF890EBC \n"
74 " B loc_FF890EC4 \n"
75 " B loc_FF890ED0 \n"
76 " B loc_FF890ED8 \n"
77 " B loc_FF890EE0 \n"
78 " B loc_FF890EE8 \n"
79 " B loc_FF890EF0 \n"
80 " B loc_FF890EFC \n"
81 " B loc_FF890F04 \n"
82 " B loc_FF890F10 \n"
83 " B loc_FF890F3C \n"
84 " B loc_FF890F48 \n"
85 " B loc_FF890F6C \n"
86 
87 "loc_FF890DCC:\n"
88 " BL shooting_expo_iso_override\n" // added
89 " BL sub_FF891508 \n"
90 " BL shooting_expo_param_override\n" // added
91 " BL sub_FF88E20C \n"
92 //To do: Check if this is needed.
93 //" MOV R0, #0\n" // added
94 //" STR R0, [R5,#0x28]\n" // added, fixes overrides behavior at short shutter press (from S95)
95 " LDR R0, [R5, #0x28] \n"
96 " CMP R0, #0 \n"
97 " BLNE sub_FF9B4F70_my \n" // --> Patched. Old value = 0xFF9B4F70.
98 " B loc_FF890F6C \n"
99 
100 "loc_FF890DE4:\n"
101 " LDR R0, [R0, #0x10] \n"
102 " BL sub_FF9B4DA4_my \n" // --> Patched. Old value = 0xFF9B4DA4.
103 " B loc_FF890F6C \n"
104 
105 "loc_FF890DF0:\n"
106 " MOV R0, #1 \n"
107 " BL sub_FF891860 \n"
108 " B loc_FF890F6C \n"
109 
110 "loc_FF890DFC:\n"
111 " BL sub_FF891140 \n"
112 " B loc_FF890E08 \n"
113 
114 "loc_FF890E04:\n"
115 " BL sub_FF8914E4 \n"
116 
117 "loc_FF890E08:\n"
118 " STR R6, [R5, #0x28] \n"
119 " B loc_FF890F6C \n"
120 
121 "loc_FF890E10:\n"
122 " BL sub_FF8914EC \n"
123 " B loc_FF890F6C \n"
124 
125 "loc_FF890E18:\n"
126 " BL sub_FF891724 \n"
127 " B loc_FF890E30 \n"
128 
129 "loc_FF890E20:\n"
130 " LDR R0, [R0, #0x10] \n"
131 " BL sub_FF9B5058 \n"
132 " B loc_FF890F6C \n"
133 
134 "loc_FF890E2C:\n"
135 " BL sub_FF8917B8 \n"
136 
137 "loc_FF890E30:\n"
138 " BL sub_FF88E20C \n"
139 " B loc_FF890F6C \n"
140 
141 "loc_FF890E38:\n"
142 " LDR R0, [R5, #0x54] \n"
143 " BL sub_FF891E24 \n"
144 " B loc_FF890F6C \n"
145 
146 "loc_FF890E44:\n"
147 " BL sub_FF892278 \n"
148 " B loc_FF890F6C \n"
149 
150 "loc_FF890E4C:\n"
151 " LDR R0, [R0, #0xC] \n"
152 " BL sub_FF8922E0 \n"
153 " B loc_FF890F6C \n"
154 
155 "loc_FF890E58:\n"
156 " BL sub_FF8914E4 \n"
157 " B loc_FF890F6C \n"
158 
159 "loc_FF890E60:\n"
160 " BL sub_FF9B38B0 \n"
161 " B loc_FF890F6C \n"
162 
163 "loc_FF890E68:\n"
164 " BL sub_FF9B3AE8 \n"
165 " B loc_FF890F6C \n"
166 
167 "loc_FF890E70:\n"
168 " BL sub_FF9B3BA4 \n"
169 " B loc_FF890F6C \n"
170 
171 "loc_FF890E78:\n"
172 " BL sub_FF9B3C7C \n"
173 " B loc_FF890F6C \n"
174 
175 "loc_FF890E80:\n"
176 " MOV R0, #0 \n"
177 " BL sub_FF9B3F34 \n"
178 " B loc_FF890F6C \n"
179 
180 "loc_FF890E8C:\n"
181 " BL sub_FF9B4094 \n"
182 " B loc_FF890F6C \n"
183 
184 "loc_FF890E94:\n"
185 " BL sub_FF897E68 \n"
186 " B loc_FF890F6C \n"
187 
188 "loc_FF890E9C:\n"
189 " BL sub_FF897E74 \n"
190 " B loc_FF890F6C \n"
191 
192 "loc_FF890EA4:\n"
193 " BL sub_FF9B4130 \n"
194 " B loc_FF890F6C \n"
195 
196 "loc_FF890EAC:\n"
197 " BL sub_FF9B41DC \n"
198 " B loc_FF890F6C \n"
199 
200 "loc_FF890EB4:\n"
201 " BL sub_FF8919A8 \n"
202 " B loc_FF890F6C \n"
203 
204 "loc_FF890EBC:\n"
205 " MOV R0, #0 \n"
206 " B loc_FF890EC8 \n"
207 
208 "loc_FF890EC4:\n"
209 " LDR R0, [R0, #0xC] \n"
210 
211 "loc_FF890EC8:\n"
212 " BL sub_FF891A38 \n"
213 " B loc_FF890F6C \n"
214 
215 "loc_FF890ED0:\n"
216 " BL sub_FF9B3E14 \n"
217 " B loc_FF890F6C \n"
218 
219 "loc_FF890ED8:\n"
220 " BL sub_FF9B3EA4 \n"
221 " B loc_FF890F6C \n"
222 
223 "loc_FF890EE0:\n"
224 " BL sub_FF8947F8 \n"
225 " B loc_FF890F6C \n"
226 
227 "loc_FF890EE8:\n"
228 " BL sub_FF8948E8 \n"
229 " B loc_FF890F6C \n"
230 
231 "loc_FF890EF0:\n"
232 " LDR R0, [R0, #0xC] \n"
233 " BL sub_FF9B42EC \n"
234 " B loc_FF890F6C \n"
235 
236 "loc_FF890EFC:\n"
237 " BL sub_FF9B4374 \n"
238 " B loc_FF890F6C \n"
239 
240 "loc_FF890F04:\n"
241 " BL sub_FF894A78 \n"
242 " BL sub_FF894940 \n"
243 " B loc_FF890F6C \n"
244 
245 "loc_FF890F10:\n"
246 " BL sub_FF896B18 \n"
247 " LDR R0, =0x1F614 \n"
248 " LDRH R0, [R0, #0x9C] \n"
249 " CMP R0, #4 \n"
250 " LDRNEH R0, [R5] \n"
251 " SUBNE R1, R0, #0x8200 \n"
252 " SUBNES R1, R1, #0x36 \n"
253 " BNE loc_FF890F6C \n"
254 " BL sub_FF8948E8 \n"
255 " BL sub_FF894E10 \n"
256 " B loc_FF890F6C \n"
257 
258 "loc_FF890F3C:\n"
259 " MOV R2, #0 \n"
260 " MOV R1, #0x11 \n"
261 " B loc_FF890F50 \n"
262 
263 "loc_FF890F48:\n"
264 " MOV R2, #0 \n"
265 " MOV R1, #0x10 \n"
266 
267 "loc_FF890F50:\n"
268 " MOV R0, #0 \n"
269 " BL sub_FF88ED6C \n"
270 " B loc_FF890F6C \n"
271 
272 "loc_FF890F5C:\n"
273 " LDR R2, =0x57B \n"
274 " LDR R1, =0xFF890640 /*'SsShootTask.c'*/ \n"
275 " MOV R0, #0 \n"
276 " BL _DebugAssert \n"
277 
278 "loc_FF890F6C:\n"
279 " LDR R0, [SP] \n"
280 " LDR R1, [R0, #4] \n"
281 " LDR R0, [R7] \n"
282 " BL sub_FF829BC4 /*_SetEventFlag*/ \n"
283 " LDR R4, [SP] \n"
284 " LDR R0, [R4, #8] \n"
285 " CMP R0, #0 \n"
286 " LDREQ R1, =0xFF890640 /*'SsShootTask.c'*/ \n"
287 " MOVEQ R2, #0x124 \n"
288 " BLEQ _DebugAssert \n"
289 " STR R6, [R4, #8] \n"
290 " B loc_FF890CDC \n"
291 );
292 }