CHDK_DE Vorschauversion  Trunk Rev. 5429
 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   150
 

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   150

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

Definiert in Zeile 16 der Datei capt_seq.c.

16  {
17 asm volatile (
18 " STMFD SP!, {R3-R7,LR} \n"
19 " LDR R5, =0x403D8 \n"
20 " LDR R7, =0x4078 \n"
21 " MOV R6, #0 \n"
22 
23 "loc_FF07CCEC:\n"
24 " LDR R0, [R7, #4] \n"
25 " MOV R2, #0 \n"
26 " MOV R1, SP \n"
27 " BL sub_FF02AFD0 /*_ReceiveMessageQueue*/ \n"
28 " TST R0, #1 \n"
29 " BEQ loc_FF07CD18 \n"
30 " LDR R1, =0x491 \n"
31 " LDR R0, =0xFF07C654 /*'SsShootTask.c'*/ \n"
32 " BL _DebugAssert \n"
33 " BL _ExitTask \n"
34 " LDMFD SP!, {R3-R7,PC} \n"
35 
36 "loc_FF07CD18:\n"
37 " LDR R0, [SP] \n"
38 " LDR R1, [R0] \n"
39 " CMP R1, #0x27 \n"
40 " ADDCC PC, PC, R1, LSL#2 \n"
41 " B loc_FF07CF70 \n"
42 " B loc_FF07CDC8 \n"
43 " B loc_FF07CDE0 \n"
44 " B loc_FF07CDEC \n"
45 " B loc_FF07CE00 \n"
46 " B loc_FF07CDF8 \n"
47 " B loc_FF07CE0C \n"
48 " B loc_FF07CE14 \n"
49 " B loc_FF07CE1C \n"
50 " B loc_FF07CE38 \n"
51 " B loc_FF07CE78 \n"
52 " B loc_FF07CE44 \n"
53 " B loc_FF07CE50 \n"
54 " B loc_FF07CE58 \n"
55 " B loc_FF07CE60 \n"
56 " B loc_FF07CE68 \n"
57 " B loc_FF07CE70 \n"
58 " B loc_FF07CE80 \n"
59 " B loc_FF07CE88 \n"
60 " B loc_FF07CE90 \n"
61 " B loc_FF07CE98 \n"
62 " B loc_FF07CEA0 \n"
63 " B loc_FF07CEA8 \n"
64 " B loc_FF07CEB0 \n"
65 " B loc_FF07CEB8 \n"
66 " B loc_FF07CEC0 \n"
67 " B loc_FF07CEC8 \n"
68 " B loc_FF07CED4 \n"
69 " B loc_FF07CEDC \n"
70 " B loc_FF07CEE8 \n"
71 " B loc_FF07CEF0 \n"
72 " B loc_FF07CEF8 \n"
73 " B loc_FF07CF00 \n"
74 " B loc_FF07CF08 \n"
75 " B loc_FF07CF10 \n"
76 " B loc_FF07CF18 \n"
77 " B loc_FF07CF24 \n"
78 " B loc_FF07CF2C \n"
79 " B loc_FF07CF38 \n"
80 " B loc_FF07CF7C \n"
81 
82 "loc_FF07CDC8:\n"
83 " BL shooting_expo_iso_override\n" // added
84 " BL sub_FF07D5B0 \n"
85 " BL shooting_expo_param_override\n" // added
86 " BL sub_FF079F94 \n"
87 " MOV R0, #0\n" // added
88 " STR R0, [R5,#0x28]\n" // added, fixes overrides behavior at short shutter press (from S95)
89 //" LDR R0, [R5, #0x28] \n" // above patch makes these three lines redundant
90 //" CMP R0, #0 \n"
91 //" BLNE _sub_FF1D2E60 \n"
92 " B loc_FF07CF7C \n"
93 
94 "loc_FF07CDE0:\n"
95 " LDR R0, [R0, #0x10] \n"
96 " BL sub_FF07D0C4_my \n" // --> Patched. Old value = 0xFF07D0C4.
97 " B loc_FF07CF7C \n"
98 
99 "loc_FF07CDEC:\n"
100 " MOV R0, #1 \n"
101 " BL sub_FF07D8D4 \n"
102 " B loc_FF07CF7C \n"
103 
104 "loc_FF07CDF8:\n"
105 " BL sub_FF07D21C \n"
106 " B loc_FF07CE04 \n"
107 
108 "loc_FF07CE00:\n"
109 " BL sub_FF07D590 \n"
110 
111 "loc_FF07CE04:\n"
112 " STR R6, [R5, #0x28] \n"
113 " B loc_FF07CF7C \n"
114 
115 "loc_FF07CE0C:\n"
116 " BL sub_FF07D598 \n"
117 " B loc_FF07CF7C \n"
118 
119 "loc_FF07CE14:\n"
120 " BL sub_FF07D7A8 \n"
121 " B loc_FF07CE3C \n"
122 
123 "loc_FF07CE1C:\n"
124 " LDR R4, [R0, #0x10] \n"
125 " MOV R0, R4 \n"
126 " BL sub_FF1D2EF0 \n"
127 " MOV R2, R4 \n"
128 " MOV R1, #9 \n"
129 " BL sub_FF07AA30 \n"
130 " B loc_FF07CF7C \n"
131 
132 "loc_FF07CE38:\n"
133 " BL sub_FF07D838 \n"
134 
135 "loc_FF07CE3C:\n"
136 " BL sub_FF079F94 \n"
137 " B loc_FF07CF7C \n"
138 
139 "loc_FF07CE44:\n"
140 " LDR R0, [R5, #0x58] \n"
141 " BL sub_FF07E4B8 \n"
142 " B loc_FF07CF7C \n"
143 
144 "loc_FF07CE50:\n"
145 " BL sub_FF07E7B4 \n"
146 " B loc_FF07CF7C \n"
147 
148 "loc_FF07CE58:\n"
149 " BL sub_FF07E818 \n"
150 " B loc_FF07CF7C \n"
151 
152 "loc_FF07CE60:\n"
153 " BL sub_FF07EA14 \n"
154 " B loc_FF07CF7C \n"
155 
156 "loc_FF07CE68:\n"
157 " BL sub_FF07EE64 \n"
158 " B loc_FF07CF7C \n"
159 
160 "loc_FF07CE70:\n"
161 " BL sub_FF07EF14 \n"
162 " B loc_FF07CF7C \n"
163 
164 "loc_FF07CE78:\n"
165 " BL sub_FF07D590 \n"
166 " B loc_FF07CF7C \n"
167 
168 "loc_FF07CE80:\n"
169 " BL sub_FF1D0E34 \n"
170 " B loc_FF07CF7C \n"
171 
172 "loc_FF07CE88:\n"
173 " BL sub_FF1D10A0 \n"
174 " B loc_FF07CF7C \n"
175 
176 "loc_FF07CE90:\n"
177 " BL sub_FF1D115C \n"
178 " B loc_FF07CF7C \n"
179 
180 "loc_FF07CE98:\n"
181 " BL sub_FF1D1244 \n"
182 " B loc_FF07CF7C \n"
183 
184 "loc_FF07CEA0:\n"
185 " BL sub_FF1D1340 \n"
186 " B loc_FF07CF7C \n"
187 
188 "loc_FF07CEA8:\n"
189 " MOV R0, #0 \n"
190 " B loc_FF07CECC \n"
191 
192 "loc_FF07CEB0:\n"
193 " BL sub_FF1D1580 \n"
194 " B loc_FF07CF7C \n"
195 
196 "loc_FF07CEB8:\n"
197 " BL sub_FF1D1614 \n"
198 " B loc_FF07CF7C \n"
199 
200 "loc_FF07CEC0:\n"
201 " BL sub_FF1D16D0 \n"
202 " B loc_FF07CF7C \n"
203 
204 "loc_FF07CEC8:\n"
205 " MOV R0, #1 \n"
206 
207 "loc_FF07CECC:\n"
208 " BL sub_FF1D1410 \n"
209 " B loc_FF07CF7C \n"
210 
211 "loc_FF07CED4:\n"
212 " BL sub_FF07DB10 \n"
213 " B loc_FF07CF7C \n"
214 
215 "loc_FF07CEDC:\n"
216 " BL sub_FF07DBA4 \n"
217 " BL sub_FF1D41FC \n"
218 " B loc_FF07CF7C \n"
219 
220 "loc_FF07CEE8:\n"
221 " BL sub_FF07DFB4 \n"
222 " B loc_FF07CF7C \n"
223 
224 "loc_FF07CEF0:\n"
225 " BL sub_FF07E100 \n"
226 " B loc_FF07CF7C \n"
227 
228 "loc_FF07CEF8:\n"
229 " BL sub_FF1D42C8 \n"
230 " B loc_FF07CF7C \n"
231 
232 "loc_FF07CF00:\n"
233 " BL sub_FF028430 \n"
234 " B loc_FF07CF7C \n"
235 
236 "loc_FF07CF08:\n"
237 " BL sub_FF0818DC \n"
238 " B loc_FF07CF7C \n"
239 
240 "loc_FF07CF10:\n"
241 " BL sub_FF081964 \n"
242 " B loc_FF07CF7C \n"
243 
244 "loc_FF07CF18:\n"
245 " LDR R0, [R0, #0xC] \n"
246 " BL sub_FF1D17F8 \n"
247 " B loc_FF07CF7C \n"
248 
249 "loc_FF07CF24:\n"
250 " BL sub_FF1D1868 \n"
251 " B loc_FF07CF7C \n"
252 
253 "loc_FF07CF2C:\n"
254 " BL sub_FF0819CC \n"
255 " BL sub_FF081984 \n"
256 " B loc_FF07CF7C \n"
257 
258 "loc_FF07CF38:\n"
259 " MOV R0, #1 \n"
260 " BL sub_FF1D3600 \n"
261 " MOV R0, #1 \n"
262 " BL sub_FF1D3734 \n"
263 " LDRH R0, [R5, #0xA0] \n"
264 " CMP R0, #4 \n"
265 " LDRNEH R0, [R5] \n"
266 " SUBNE R1, R0, #0x4200 \n"
267 " SUBNES R1, R1, #0x2B \n"
268 " BNE loc_FF07CF7C \n"
269 " BL sub_FF081964 \n"
270 " BL sub_FF0820E0 \n"
271 " BL sub_FF081DF4 \n"
272 " B loc_FF07CF7C \n"
273 
274 "loc_FF07CF70:\n"
275 " LDR R1, =0x5F2 \n"
276 " LDR R0, =0xFF07C654 /*'SsShootTask.c'*/ \n"
277 " BL _DebugAssert \n"
278 
279 "loc_FF07CF7C:\n"
280 " LDR R0, [SP] \n"
281 " LDR R1, [R0, #4] \n"
282 " LDR R0, [R7] \n"
283 " BL sub_FF0893D8 /*_SetEventFlag*/ \n"
284 " LDR R4, [SP] \n"
285 " LDR R0, [R4, #8] \n"
286 " CMP R0, #0 \n"
287 " LDREQ R1, =0x117 \n"
288 " LDREQ R0, =0xFF07C654 /*'SsShootTask.c'*/ \n"
289 " BLEQ _DebugAssert \n"
290 " STR R6, [R4, #8] \n"
291 " B loc_FF07CCEC \n"
292 );
293 }