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

Funktionen

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

Variablen

static long * nrflag = (long*)0xD1B4
 

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

14  {
15 asm volatile (
16 " STMFD SP!, {R4,LR} \n"
17 " SUB SP, SP, #4 \n"
18 " MOV R4, SP \n"
19 " B loc_FFB2B924 \n"
20 
21 "loc_FFB2B794:\n"
22 " LDR R2, [SP] \n"
23 " LDR R3, [R2] \n"
24 " MOV R0, R2 \n"
25 " CMP R3, #0x17 \n"
26 " LDRLS PC, [PC, R3, LSL#2] \n"
27 " B loc_FFB2B8FC \n"
28 " .long loc_FFB2B80C \n"
29 " .long loc_FFB2B82C \n"
30 " .long loc_FFB2B840 \n"
31 " .long loc_FFB2B854 \n"
32 " .long loc_FFB2B84C \n"
33 " .long loc_FFB2B85C \n"
34 " .long loc_FFB2B864 \n"
35 " .long loc_FFB2B870 \n"
36 " .long loc_FFB2B878 \n"
37 " .long loc_FFB2B884 \n"
38 " .long loc_FFB2B88C \n"
39 " .long loc_FFB2B894 \n"
40 " .long loc_FFB2B89C \n"
41 " .long loc_FFB2B8A4 \n"
42 " .long loc_FFB2B8AC \n"
43 " .long loc_FFB2B8B8 \n"
44 " .long loc_FFB2B8C0 \n"
45 " .long loc_FFB2B8C8 \n"
46 " .long loc_FFB2B8D0 \n"
47 " .long loc_FFB2B8DC \n"
48 " .long loc_FFB2B8E4 \n"
49 " .long loc_FFB2B8EC \n"
50 " .long loc_FFB2B8F4 \n"
51 " .long loc_FFB2B90C \n"
52 
53 "loc_FFB2B80C:\n"
54 " BL sub_FFB2BE40 \n"
55 " BL shooting_expo_param_override\n" // +
56 " BL sub_FFB28CF8 \n"
57 " LDR R3, =0xB6FE0 \n"
58 " MOV R2, #0\n" // added
59 " STR R2, [R3,#0x24]\n" // added, fixes overrides behavior at short shutter press
60 //" LDR R2, [R3, #0x24] \n" // above patch makes these three lines redundant
61 //" CMP R2, #0 \n"
62 //" BEQ loc_FFB2B908 \n"
63 //" BL _sub_FFB2B3BC \n"
64 " B loc_FFB2B908 \n"
65 
66 "loc_FFB2B82C:\n"
67 " BL sub_FFB2B154_my \n" // --> Patched. Old value = 0xFFB2B154.
68 
69 "loc_FFB2B830:\n"
70 " LDR R2, =0xB6FE0 \n"
71 " MOV R3, #0 \n"
72 " STR R3, [R2, #0x24] \n"
73 " B loc_FFB2B908 \n"
74 
75 "loc_FFB2B840:\n"
76 " MOV R0, #1 \n"
77 " BL sub_FFB2C060 \n"
78 " B loc_FFB2B908 \n"
79 
80 "loc_FFB2B84C:\n"
81 " BL sub_FFB2BA10 \n"
82 " B loc_FFB2B830 \n"
83 
84 "loc_FFB2B854:\n"
85 " BL sub_FFB2BDF8 \n"
86 " B loc_FFB2B830 \n"
87 
88 "loc_FFB2B85C:\n"
89 " BL sub_FFB2BE08 \n"
90 " B loc_FFB2B908 \n"
91 
92 "loc_FFB2B864:\n"
93 " BL sub_FFB2BF58 \n"
94 " BL sub_FFB28CF8 \n"
95 " B loc_FFB2B908 \n"
96 
97 "loc_FFB2B870:\n"
98 " BL sub_FFB2B494 \n"
99 " B loc_FFB2B908 \n"
100 
101 "loc_FFB2B878:\n"
102 " BL sub_FFB2BFC8 \n"
103 " BL sub_FFB28CF8 \n"
104 " B loc_FFB2B908 \n"
105 
106 "loc_FFB2B884:\n"
107 " BL sub_FFB2BDF8 \n"
108 " B loc_FFB2B908 \n"
109 
110 "loc_FFB2B88C:\n"
111 " BL sub_FFB2D91C \n"
112 " B loc_FFB2B908 \n"
113 
114 "loc_FFB2B894:\n"
115 " BL sub_FFB2DAF0 \n"
116 " B loc_FFB2B908 \n"
117 
118 "loc_FFB2B89C:\n"
119 " BL sub_FFB2DB84 \n"
120 " B loc_FFB2B908 \n"
121 
122 "loc_FFB2B8A4:\n"
123 " BL sub_FFB2DC80 \n"
124 " B loc_FFB2B908 \n"
125 
126 "loc_FFB2B8AC:\n"
127 " MOV R0, #0 \n"
128 " BL sub_FFB2DEEC \n"
129 " B loc_FFB2B908 \n"
130 
131 "loc_FFB2B8B8:\n"
132 " BL sub_FFB2E090 \n"
133 " B loc_FFB2B908 \n"
134 
135 "loc_FFB2B8C0:\n"
136 " BL sub_FFB2E12C \n"
137 " B loc_FFB2B908 \n"
138 
139 "loc_FFB2B8C8:\n"
140 " BL sub_FFB2E1EC \n"
141 " B loc_FFB2B908 \n"
142 
143 "loc_FFB2B8D0:\n"
144 " BL sub_FFB2C1E0 \n"
145 " BL sub_FFB2AF14 \n"
146 " B loc_FFB2B908 \n"
147 
148 "loc_FFB2B8DC:\n"
149 " BL sub_FFB2DDC0 \n"
150 " B loc_FFB2B908 \n"
151 
152 "loc_FFB2B8E4:\n"
153 " BL sub_FFB2DE1C \n"
154 " B loc_FFB2B908 \n"
155 
156 "loc_FFB2B8EC:\n"
157 " BL sub_FFB2B034 \n"
158 " B loc_FFB2B908 \n"
159 
160 "loc_FFB2B8F4:\n"
161 " BL sub_FFB253DC \n"
162 " B loc_FFB2B908 \n"
163 
164 "loc_FFB2B8FC:\n"
165 " LDR R0, =0xFFB2AC58 /*'SsShootTask.c'*/ \n"
166 " MOV R1, #0x4D0 \n"
167 " BL _DebugAssert \n"
168 
169 "loc_FFB2B908:\n"
170 " LDR R2, [SP] \n"
171 
172 "loc_FFB2B90C:\n"
173 " LDR R3, =0x920D8 \n"
174 " LDR R1, [R2, #4] \n"
175 " LDR R0, [R3] \n"
176 " BL sub_FFB4022C /*_SetEventFlag*/ \n"
177 " LDR R0, [SP] \n"
178 " BL sub_FFB2AD48 \n"
179 
180 "loc_FFB2B924:\n"
181 " LDR R3, =0x920DC \n"
182 " MOV R1, R4 \n"
183 " LDR R0, [R3] \n"
184 " MOV R2, #0 \n"
185 " BL sub_FFB40944 /*_ReceiveMessageQueue*/ \n"
186 " TST R0, #1 \n"
187 " BEQ loc_FFB2B794 \n"
188 " MOV R1, #0x400 \n"
189 " LDR R0, =0xFFB2AC58 /*'SsShootTask.c'*/ \n"
190 " ADD R1, R1, #2 \n"
191 " BL _DebugAssert \n"
192 " BL _ExitTask \n"
193 " ADD SP, SP, #4 \n"
194 " LDMFD SP!, {R4,PC} \n"
195 );
196 }

Variablen-Dokumentation

long* nrflag = (long*)0xD1B4
static

Definiert in Zeile 8 der Datei capt_seq.c.