CHDK_DE Vorschauversion  Trunk Rev. 5274
 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_FFC4E2E8:\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_FFC4E314 \n"
26 " LDR R1, =0x43F \n"
27 " LDR R0, =0xFFC4DDC8 /*'SsShootTask.c'*/ \n"
28 " BL _DebugAssert \n"
29 " BL _ExitTask \n"
30 " LDMFD SP!, {R3-R7,PC} \n"
31 
32 "loc_FFC4E314:\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_FFC4E4BC \n"
38 " B loc_FFC4E394 \n"
39 " B loc_FFC4E39C \n"
40 " B loc_FFC4E3A4 \n"
41 " B loc_FFC4E3B8 \n"
42 " B loc_FFC4E3B0 \n"
43 " B loc_FFC4E3C0 \n"
44 " B loc_FFC4E3C8 \n"
45 " B loc_FFC4E3D4 \n"
46 " B loc_FFC4E42C \n"
47 " B loc_FFC4E3B8 \n"
48 " B loc_FFC4E434 \n"
49 " B loc_FFC4E43C \n"
50 " B loc_FFC4E444 \n"
51 " B loc_FFC4E44C \n"
52 " B loc_FFC4E454 \n"
53 " B loc_FFC4E45C \n"
54 " B loc_FFC4E464 \n"
55 " B loc_FFC4E46C \n"
56 " B loc_FFC4E474 \n"
57 " B loc_FFC4E47C \n"
58 " B loc_FFC4E484 \n"
59 " B loc_FFC4E490 \n"
60 " B loc_FFC4E49C \n"
61 " B loc_FFC4E4A4 \n"
62 " B loc_FFC4E4AC \n"
63 " B loc_FFC4E4B4 \n"
64 " B loc_FFC4E4C8 \n"
65 
66 "loc_FFC4E394:\n"
67 " BL sub_FFD141D0 \n"
68 " BL shooting_expo_param_override\n" // added
69 " B loc_FFC4E3CC \n"
70 
71 "loc_FFC4E39C:\n"
72 " BL sub_FFC4DE48_my \n" // --> Patched. Old value = 0xFFC4DE48.
73 " B loc_FFC4E4C8 \n"
74 
75 "loc_FFC4E3A4:\n"
76 " MOV R0, #1 \n"
77 " BL sub_FFD14360 \n"
78 " B loc_FFC4E4C8 \n"
79 
80 "loc_FFC4E3B0:\n"
81 " BL sub_FFD13E64 \n"
82 " B loc_FFC4E4C8 \n"
83 
84 "loc_FFC4E3B8:\n"
85 " BL sub_FFD14178 \n"
86 " B loc_FFC4E4C8 \n"
87 
88 "loc_FFC4E3C0:\n"
89 " BL sub_FFD14180 \n"
90 " B loc_FFC4E4C8 \n"
91 
92 "loc_FFC4E3C8:\n"
93 " BL sub_FFD14280 \n"
94 
95 "loc_FFC4E3CC:\n"
96 " BL sub_FFC4C3DC \n"
97 " B loc_FFC4E4C8 \n"
98 
99 "loc_FFC4E3D4:\n"
100 " LDR R4, [R0, #0xC] \n"
101 " BL sub_FFD14188 \n"
102 " MOV R0, R4 \n"
103 " BL sub_FFD14BE0 \n"
104 " TST R0, #1 \n"
105 " MOV R5, R0 \n"
106 " BNE loc_FFC4E414 \n"
107 " BL sub_FFC5BE50 \n"
108 " STR R0, [R4, #0x14] \n"
109 " MOV R0, R4 \n"
110 " BL sub_FFD15A70 \n"
111 " MOV R0, R4 \n"
112 " BL sub_FFD15FF4 \n"
113 " MOV R5, R0 \n"
114 " LDR R0, [R4, #0x14] \n"
115 " BL sub_FFC5C064 \n"
116 
117 "loc_FFC4E414:\n"
118 " BL sub_FFD14178 \n"
119 " MOV R2, R4 \n"
120 " MOV R1, #8 \n"
121 " MOV R0, R5 \n"
122 " BL sub_FFC4C774 \n"
123 " B loc_FFC4E4C8 \n"
124 
125 "loc_FFC4E42C:\n"
126 " BL sub_FFD142DC \n"
127 " B loc_FFC4E3CC \n"
128 
129 "loc_FFC4E434:\n"
130 " BL sub_FFD14E4C \n"
131 " B loc_FFC4E4C8 \n"
132 
133 "loc_FFC4E43C:\n"
134 " BL sub_FFD15004 \n"
135 " B loc_FFC4E4C8 \n"
136 
137 "loc_FFC4E444:\n"
138 " BL sub_FFD15094 \n"
139 " B loc_FFC4E4C8 \n"
140 
141 "loc_FFC4E44C:\n"
142 " BL sub_FFD15148 \n"
143 " B loc_FFC4E4C8 \n"
144 
145 "loc_FFC4E454:\n"
146 " BL sub_FFD153D4 \n"
147 " B loc_FFC4E4C8 \n"
148 
149 "loc_FFC4E45C:\n"
150 " BL sub_FFD15424 \n"
151 " B loc_FFC4E4C8 \n"
152 
153 "loc_FFC4E464:\n"
154 " MOV R0, #0 \n"
155 " B loc_FFC4E488 \n"
156 
157 "loc_FFC4E46C:\n"
158 " BL sub_FFD155E8 \n"
159 " B loc_FFC4E4C8 \n"
160 
161 "loc_FFC4E474:\n"
162 " BL sub_FFD1567C \n"
163 " B loc_FFC4E4C8 \n"
164 
165 "loc_FFC4E47C:\n"
166 " BL sub_FFD1573C \n"
167 " B loc_FFC4E4C8 \n"
168 
169 "loc_FFC4E484:\n"
170 " MOV R0, #1 \n"
171 
172 "loc_FFC4E488:\n"
173 " BL sub_FFD154A8 \n"
174 " B loc_FFC4E4C8 \n"
175 
176 "loc_FFC4E490:\n"
177 " BL sub_FFD144AC \n"
178 " BL sub_FFC4E5E4 \n"
179 " B loc_FFC4E4C8 \n"
180 
181 "loc_FFC4E49C:\n"
182 " BL sub_FFD15264 \n"
183 " B loc_FFC4E4C8 \n"
184 
185 "loc_FFC4E4A4:\n"
186 " BL sub_FFD1533C \n"
187 " B loc_FFC4E4C8 \n"
188 
189 "loc_FFC4E4AC:\n"
190 " BL sub_FFC4DD2C \n"
191 " B loc_FFC4E4C8 \n"
192 
193 "loc_FFC4E4B4:\n"
194 " BL sub_FFC15C28 \n"
195 " B loc_FFC4E4C8 \n"
196 
197 "loc_FFC4E4BC:\n"
198 " LDR R1, =0x523 \n"
199 " LDR R0, =0xFFC4DDC8 /*'SsShootTask.c'*/ \n"
200 " BL _DebugAssert \n"
201 
202 "loc_FFC4E4C8:\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, =0xFFC4DDC8 /*'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_FFC4E2E8 \n"
216 );
217 }