CHDK_DE Vorschauversion  Trunk Rev. 5272
 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 PAUSE_FOR_FILE_COUNTER   200
 

Funktionen

void __attribute__ ((naked, noinline))
 

Variablen

static long * nrflag = (long*)(0xBFD4+0x4)
 

Makro-Dokumentation

#define PAUSE_FOR_FILE_COUNTER   200

Definiert in Zeile 10 der Datei capt_seq.c.

Dokumentation der Funktionen

void __attribute__ ( (naked, noinline)  )

Definiert in Zeile 16 der Datei capt_seq.c.

16  {
17 asm volatile (
18 " STMFD SP!, {R3-R7,LR} \n"
19 " LDR R5, =0x38A8C \n"
20 " LDR R7, =0x30AC \n"
21 " MOV R6, #0 \n"
22 
23 "loc_FF87D2B4:\n"
24 " LDR R0, [R7, #4] \n"
25 " MOV R2, #0 \n"
26 " MOV R1, SP \n"
27 " BL sub_003F7418 /*_ReceiveMessageQueue*/ \n"
28 " TST R0, #1 \n"
29 " BEQ loc_FF87D2E0 \n"
30 " LDR R1, =0x475 \n"
31 " LDR R0, =0xFF87CD7C /*'SsShootTask.c'*/ \n"
32 " BL _DebugAssert \n"
33 " BL _ExitTask \n"
34 " LDMFD SP!, {R3-R7,PC} \n"
35 
36 "loc_FF87D2E0:\n"
37 " LDR R0, [SP] \n"
38 " LDR R1, [R0] \n"
39 " CMP R1, #0x22 \n"
40 " ADDCC PC, PC, R1, LSL#2 \n"
41 " B loc_FF87D4FC \n"
42 " B loc_FF87D37C \n"
43 " B loc_FF87D394 \n"
44 " B loc_FF87D3A0 \n"
45 " B loc_FF87D3B4 \n"
46 " B loc_FF87D3AC \n"
47 " B loc_FF87D3C0 \n"
48 " B loc_FF87D3C8 \n"
49 " B loc_FF87D3D0 \n"
50 " B loc_FF87D3DC \n"
51 " B loc_FF87D408 \n"
52 " B loc_FF87D3E8 \n"
53 " B loc_FF87D3F4 \n"
54 " B loc_FF87D3FC \n"
55 " B loc_FF87D410 \n"
56 " B loc_FF87D418 \n"
57 " B loc_FF87D420 \n"
58 " B loc_FF87D428 \n"
59 " B loc_FF87D430 \n"
60 " B loc_FF87D43C \n"
61 " B loc_FF87D444 \n"
62 " B loc_FF87D44C \n"
63 " B loc_FF87D454 \n"
64 " B loc_FF87D45C \n"
65 " B loc_FF87D464 \n"
66 " B loc_FF87D46C \n"
67 " B loc_FF87D474 \n"
68 " B loc_FF87D47C \n"
69 " B loc_FF87D484 \n"
70 " B loc_FF87D490 \n"
71 " B loc_FF87D498 \n"
72 " B loc_FF87D4A4 \n"
73 " B loc_FF87D4DC \n"
74 " B loc_FF87D4E8 \n"
75 " B loc_FF87D508 \n"
76 
77 "loc_FF87D37C:\n"
78 // " BL shooting_expo_iso_override\n" // To do: Check if this is needed.
79 " BL sub_FF87DAD8 \n"
80 " BL shooting_expo_param_override\n" // added
81 " BL sub_FF87AF98 \n"
82 //To do: Check if this is needed.
83 //" MOV R0, #0\n" // added
84 //" STR R0, [R5,#0x28]\n" // added, fixes overrides behavior at short shutter press (from S95)
85 " LDR R0, [R5, #0x28] \n"
86 " CMP R0, #0 \n"
87 " BLNE sub_FF975D00_my \n" // --> Patched. Old value = 0xFF975D00.
88 " B loc_FF87D508 \n"
89 
90 "loc_FF87D394:\n"
91 " LDR R0, [R0, #0x10] \n"
92 " BL sub_FF975B7C_my \n" // --> Patched. Old value = 0xFF975B7C.
93 " B loc_FF87D508 \n"
94 
95 "loc_FF87D3A0:\n"
96 " MOV R0, #1 \n"
97 " BL sub_FF87DE00 \n"
98 " B loc_FF87D508 \n"
99 
100 "loc_FF87D3AC:\n"
101 " BL sub_FF87D730 \n"
102 " B loc_FF87D3B8 \n"
103 
104 "loc_FF87D3B4:\n"
105 " BL sub_FF87DAB4 \n"
106 
107 "loc_FF87D3B8:\n"
108 " STR R6, [R5, #0x28] \n"
109 " B loc_FF87D508 \n"
110 
111 "loc_FF87D3C0:\n"
112 " BL sub_FF87DABC \n"
113 " B loc_FF87D508 \n"
114 
115 "loc_FF87D3C8:\n"
116 " BL sub_FF87DCD8 \n"
117 " B loc_FF87D3E0 \n"
118 
119 "loc_FF87D3D0:\n"
120 " LDR R0, [R0, #0x10] \n"
121 " BL sub_FF975D90 \n"
122 " B loc_FF87D508 \n"
123 
124 "loc_FF87D3DC:\n"
125 " BL sub_FF87DD6C \n"
126 
127 "loc_FF87D3E0:\n"
128 " BL sub_FF87AF98 \n"
129 " B loc_FF87D508 \n"
130 
131 "loc_FF87D3E8:\n"
132 " LDR R0, [R5, #0x58] \n"
133 " BL sub_FF87E310 \n"
134 " B loc_FF87D508 \n"
135 
136 "loc_FF87D3F4:\n"
137 " BL sub_FF87E71C \n"
138 " B loc_FF87D508 \n"
139 
140 "loc_FF87D3FC:\n"
141 " MOV R0, #0 \n"
142 " BL sub_FF87E780 \n"
143 " B loc_FF87D508 \n"
144 
145 "loc_FF87D408:\n"
146 " BL sub_FF87DAB4 \n"
147 " B loc_FF87D508 \n"
148 
149 "loc_FF87D410:\n"
150 " BL sub_FF975094 \n"
151 " B loc_FF87D508 \n"
152 
153 "loc_FF87D418:\n"
154 " BL sub_FF9752CC \n"
155 " B loc_FF87D508 \n"
156 
157 "loc_FF87D420:\n"
158 " BL sub_FF975388 \n"
159 " B loc_FF87D508 \n"
160 
161 "loc_FF87D428:\n"
162 " BL sub_FF97545C \n"
163 " B loc_FF87D508 \n"
164 
165 "loc_FF87D430:\n"
166 " MOV R0, #0 \n"
167 " BL sub_FF9756BC \n"
168 " B loc_FF87D508 \n"
169 
170 "loc_FF87D43C:\n"
171 " BL sub_FF975820 \n"
172 " B loc_FF87D508 \n"
173 
174 "loc_FF87D444:\n"
175 " BL sub_FF9758B4 \n"
176 " B loc_FF87D508 \n"
177 
178 "loc_FF87D44C:\n"
179 " BL sub_FF97595C \n"
180 " B loc_FF87D508 \n"
181 
182 "loc_FF87D454:\n"
183 " BL sub_FF87DF68 \n"
184 " B loc_FF87D508 \n"
185 
186 "loc_FF87D45C:\n"
187 " BL sub_FF87DF94 \n"
188 " B loc_FF87D508 \n"
189 
190 "loc_FF87D464:\n"
191 " BL sub_FF97552C \n"
192 " B loc_FF87D508 \n"
193 
194 "loc_FF87D46C:\n"
195 " BL sub_FF97556C \n"
196 " B loc_FF87D508 \n"
197 
198 "loc_FF87D474:\n"
199 " BL sub_FF880B88 \n"
200 " B loc_FF87D508 \n"
201 
202 "loc_FF87D47C:\n"
203 " BL sub_FF880C74 \n"
204 " B loc_FF87D508 \n"
205 
206 "loc_FF87D484:\n"
207 " LDR R0, [R0, #0xC] \n"
208 " BL sub_FF975A6C \n"
209 " B loc_FF87D508 \n"
210 
211 "loc_FF87D490:\n"
212 " BL sub_FF975ADC \n"
213 " B loc_FF87D508 \n"
214 
215 "loc_FF87D498:\n"
216 " BL sub_FF880E00 \n"
217 " BL sub_FF880CCC \n"
218 " B loc_FF87D508 \n"
219 
220 "loc_FF87D4A4:\n"
221 " MOV R0, #1 \n"
222 " BL sub_FF976504 \n"
223 " MOV R0, #1 \n"
224 " BL sub_FF97662C \n"
225 " LDR R0, =0x38B8C \n"
226 " LDRH R0, [R0, #0x8C] \n"
227 " CMP R0, #4 \n"
228 " LDRNEH R0, [R5] \n"
229 " SUBNE R1, R0, #0x8000 \n"
230 " SUBNES R1, R1, #0x230 \n"
231 " BNE loc_FF87D508 \n"
232 " BL sub_FF880C74 \n"
233 " BL sub_FF88114C \n"
234 " B loc_FF87D508 \n"
235 
236 "loc_FF87D4DC:\n"
237 " MOV R2, #0 \n"
238 " MOV R1, #0xD \n"
239 " B loc_FF87D4F0 \n"
240 
241 "loc_FF87D4E8:\n"
242 " MOV R2, #0 \n"
243 " MOV R1, #0xC \n"
244 
245 "loc_FF87D4F0:\n"
246 " MOV R0, #0 \n"
247 " BL sub_FF87B80C \n"
248 " B loc_FF87D508 \n"
249 
250 "loc_FF87D4FC:\n"
251 " LDR R1, =0x5DA \n"
252 " LDR R0, =0xFF87CD7C /*'SsShootTask.c'*/ \n"
253 " BL _DebugAssert \n"
254 
255 "loc_FF87D508:\n"
256 " LDR R0, [SP] \n"
257 " LDR R1, [R0, #4] \n"
258 " LDR R0, [R7] \n"
259 " BL sub_003FAD9C /*_SetEventFlag*/ \n"
260 " LDR R4, [SP] \n"
261 " LDR R0, [R4, #8] \n"
262 " CMP R0, #0 \n"
263 " LDREQ R1, =0x116 \n"
264 " LDREQ R0, =0xFF87CD7C /*'SsShootTask.c'*/ \n"
265 " BLEQ _DebugAssert \n"
266 " STR R6, [R4, #8] \n"
267 " B loc_FF87D2B4 \n"
268 );
269 }

Variablen-Dokumentation

long* nrflag = (long*)(0xBFD4+0x4)
static

Definiert in Zeile 9 der Datei capt_seq.c.