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

Funktionen

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

Makro-Dokumentation

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

14  {
15 asm volatile (
16 " STMFD SP!, {R3-R7,LR} \n"
17 " LDR R6, =0x5698 \n"
18 
19 "loc_FFC4E2B4:\n"
20 " LDR R0, [R6, #0x10] \n"
21 " MOV R2, #0 \n"
22 " MOV R1, SP \n"
23 " BL sub_FFC19658 /*_ReceiveMessageQueue*/ \n"
24 " TST R0, #1 \n"
25 " BEQ loc_FFC4E2E0 \n"
26 " LDR R1, =0x43F \n"
27 " LDR R0, =0xFFC4DD94 /*'SsShootTask.c'*/ \n"
28 " BL _DebugAssert \n"
29 " BL _ExitTask \n"
30 " LDMFD SP!, {R3-R7,PC} \n"
31 
32 "loc_FFC4E2E0:\n"
33 " LDR R0, [SP] \n"
34 " LDR R1, [R0] \n"
35 " CMP R1, #0x1A \n"
36 " ADDLS PC, PC, R1, LSL#2 \n"
37 " B loc_FFC4E488 \n"
38 " B loc_FFC4E360 \n"
39 " B loc_FFC4E368 \n"
40 " B loc_FFC4E370 \n"
41 " B loc_FFC4E384 \n"
42 " B loc_FFC4E37C \n"
43 " B loc_FFC4E38C \n"
44 " B loc_FFC4E394 \n"
45 " B loc_FFC4E3A0 \n"
46 " B loc_FFC4E3F8 \n"
47 " B loc_FFC4E384 \n"
48 " B loc_FFC4E400 \n"
49 " B loc_FFC4E408 \n"
50 " B loc_FFC4E410 \n"
51 " B loc_FFC4E418 \n"
52 " B loc_FFC4E420 \n"
53 " B loc_FFC4E428 \n"
54 " B loc_FFC4E430 \n"
55 " B loc_FFC4E438 \n"
56 " B loc_FFC4E440 \n"
57 " B loc_FFC4E448 \n"
58 " B loc_FFC4E450 \n"
59 " B loc_FFC4E45C \n"
60 " B loc_FFC4E468 \n"
61 " B loc_FFC4E470 \n"
62 " B loc_FFC4E478 \n"
63 " B loc_FFC4E480 \n"
64 " B loc_FFC4E494 \n"
65 
66 "loc_FFC4E360:\n"
67 " BL sub_FFD1419C \n"
68 " BL shooting_expo_param_override\n" // added
69 " B loc_FFC4E398 \n"
70 
71 "loc_FFC4E368:\n"
72 " BL sub_FFC4DE14_my \n" // --> Patched. Old value = 0xFFC4DE14.
73 " B loc_FFC4E494 \n"
74 
75 "loc_FFC4E370:\n"
76 " MOV R0, #1 \n"
77 " BL sub_FFD1432C \n"
78 " B loc_FFC4E494 \n"
79 
80 "loc_FFC4E37C:\n"
81 " BL sub_FFD13E30 \n"
82 " B loc_FFC4E494 \n"
83 
84 "loc_FFC4E384:\n"
85 " BL sub_FFD14144 \n"
86 " B loc_FFC4E494 \n"
87 
88 "loc_FFC4E38C:\n"
89 " BL sub_FFD1414C \n"
90 " B loc_FFC4E494 \n"
91 
92 "loc_FFC4E394:\n"
93 " BL sub_FFD1424C \n"
94 
95 "loc_FFC4E398:\n"
96 " BL sub_FFC4C3A8 \n"
97 " B loc_FFC4E494 \n"
98 
99 "loc_FFC4E3A0:\n"
100 " LDR R4, [R0, #0xC] \n"
101 " BL sub_FFD14154 \n"
102 " MOV R0, R4 \n"
103 " BL sub_FFD14BAC \n"
104 " TST R0, #1 \n"
105 " MOV R5, R0 \n"
106 " BNE loc_FFC4E3E0 \n"
107 " BL sub_FFC5BE1C \n"
108 " STR R0, [R4, #0x14] \n"
109 " MOV R0, R4 \n"
110 " BL sub_FFD15A3C \n"
111 " MOV R0, R4 \n"
112 " BL sub_FFD15FC0 \n"
113 " MOV R5, R0 \n"
114 " LDR R0, [R4, #0x14] \n"
115 " BL sub_FFC5C030 \n"
116 
117 "loc_FFC4E3E0:\n"
118 " BL sub_FFD14144 \n"
119 " MOV R2, R4 \n"
120 " MOV R1, #8 \n"
121 " MOV R0, R5 \n"
122 " BL sub_FFC4C740 \n"
123 " B loc_FFC4E494 \n"
124 
125 "loc_FFC4E3F8:\n"
126 " BL sub_FFD142A8 \n"
127 " B loc_FFC4E398 \n"
128 
129 "loc_FFC4E400:\n"
130 " BL sub_FFD14E18 \n"
131 " B loc_FFC4E494 \n"
132 
133 "loc_FFC4E408:\n"
134 " BL sub_FFD14FD0 \n"
135 " B loc_FFC4E494 \n"
136 
137 "loc_FFC4E410:\n"
138 " BL sub_FFD15060 \n"
139 " B loc_FFC4E494 \n"
140 
141 "loc_FFC4E418:\n"
142 " BL sub_FFD15114 \n"
143 " B loc_FFC4E494 \n"
144 
145 "loc_FFC4E420:\n"
146 " BL sub_FFD153A0 \n"
147 " B loc_FFC4E494 \n"
148 
149 "loc_FFC4E428:\n"
150 " BL sub_FFD153F0 \n"
151 " B loc_FFC4E494 \n"
152 
153 "loc_FFC4E430:\n"
154 " MOV R0, #0 \n"
155 " B loc_FFC4E454 \n"
156 
157 "loc_FFC4E438:\n"
158 " BL sub_FFD155B4 \n"
159 " B loc_FFC4E494 \n"
160 
161 "loc_FFC4E440:\n"
162 " BL sub_FFD15648 \n"
163 " B loc_FFC4E494 \n"
164 
165 "loc_FFC4E448:\n"
166 " BL sub_FFD15708 \n"
167 " B loc_FFC4E494 \n"
168 
169 "loc_FFC4E450:\n"
170 " MOV R0, #1 \n"
171 
172 "loc_FFC4E454:\n"
173 " BL sub_FFD15474 \n"
174 " B loc_FFC4E494 \n"
175 
176 "loc_FFC4E45C:\n"
177 " BL sub_FFD14478 \n"
178 " BL sub_FFC4E5B0 \n"
179 " B loc_FFC4E494 \n"
180 
181 "loc_FFC4E468:\n"
182 " BL sub_FFD15230 \n"
183 " B loc_FFC4E494 \n"
184 
185 "loc_FFC4E470:\n"
186 " BL sub_FFD15308 \n"
187 " B loc_FFC4E494 \n"
188 
189 "loc_FFC4E478:\n"
190 " BL sub_FFC4DCF8 \n"
191 " B loc_FFC4E494 \n"
192 
193 "loc_FFC4E480:\n"
194 " BL sub_FFC15C28 \n"
195 " B loc_FFC4E494 \n"
196 
197 "loc_FFC4E488:\n"
198 " LDR R1, =0x523 \n"
199 " LDR R0, =0xFFC4DD94 /*'SsShootTask.c'*/ \n"
200 " BL _DebugAssert \n"
201 
202 "loc_FFC4E494:\n"
203 " LDR R0, [SP] \n"
204 " LDR R1, [R0, #4] \n"
205 " LDR R0, [R6, #0xC] \n"
206 " BL sub_FFC193D4 /*_SetEventFlag*/ \n"
207 " LDR R4, [SP] \n"
208 " LDR R0, [R4, #8] \n"
209 " CMP R0, #0 \n"
210 " LDREQ R0, =0xFFC4DD94 /*'SsShootTask.c'*/ \n"
211 " MOVEQ R1, #0xFC \n"
212 " BLEQ _DebugAssert \n"
213 " MOV R0, #0 \n"
214 " STR R0, [R4, #8] \n"
215 " B loc_FFC4E2B4 \n"
216 );
217 }