CHDK_DE Vorschauversion  Trunk Rev. 5573
 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_FFB2B8A4 \n"
20 
21 "loc_FFB2B714:\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_FFB2B87C \n"
28 " .long loc_FFB2B78C \n"
29 " .long loc_FFB2B7AC \n"
30 " .long loc_FFB2B7C0 \n"
31 " .long loc_FFB2B7D4 \n"
32 " .long loc_FFB2B7CC \n"
33 " .long loc_FFB2B7DC \n"
34 " .long loc_FFB2B7E4 \n"
35 " .long loc_FFB2B7F0 \n"
36 " .long loc_FFB2B7F8 \n"
37 " .long loc_FFB2B804 \n"
38 " .long loc_FFB2B80C \n"
39 " .long loc_FFB2B814 \n"
40 " .long loc_FFB2B81C \n"
41 " .long loc_FFB2B824 \n"
42 " .long loc_FFB2B82C \n"
43 " .long loc_FFB2B838 \n"
44 " .long loc_FFB2B840 \n"
45 " .long loc_FFB2B848 \n"
46 " .long loc_FFB2B850 \n"
47 " .long loc_FFB2B85C \n"
48 " .long loc_FFB2B864 \n"
49 " .long loc_FFB2B86C \n"
50 " .long loc_FFB2B874 \n"
51 " .long loc_FFB2B88C \n"
52 
53 "loc_FFB2B78C:\n"
54 " BL sub_FFB2BDC0 \n"
55 " BL shooting_expo_param_override\n" // +
56 " BL sub_FFB28C78 \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_FFB2B888 \n"
63 //" BL _sub_FFB2B33C \n"
64 " B loc_FFB2B888 \n"
65 
66 "loc_FFB2B7AC:\n"
67 " BL sub_FFB2B0D4_my \n" // --> Patched. Old value = 0xFFB2B0D4.
68 
69 "loc_FFB2B7B0:\n"
70 " LDR R2, =0xB6FE0 \n"
71 " MOV R3, #0 \n"
72 " STR R3, [R2, #0x24] \n"
73 " B loc_FFB2B888 \n"
74 
75 "loc_FFB2B7C0:\n"
76 " MOV R0, #1 \n"
77 " BL sub_FFB2BFE0 \n"
78 " B loc_FFB2B888 \n"
79 
80 "loc_FFB2B7CC:\n"
81 " BL sub_FFB2B990 \n"
82 " B loc_FFB2B7B0 \n"
83 
84 "loc_FFB2B7D4:\n"
85 " BL sub_FFB2BD78 \n"
86 " B loc_FFB2B7B0 \n"
87 
88 "loc_FFB2B7DC:\n"
89 " BL sub_FFB2BD88 \n"
90 " B loc_FFB2B888 \n"
91 
92 "loc_FFB2B7E4:\n"
93 " BL sub_FFB2BED8 \n"
94 " BL sub_FFB28C78 \n"
95 " B loc_FFB2B888 \n"
96 
97 "loc_FFB2B7F0:\n"
98 " BL sub_FFB2B414 \n"
99 " B loc_FFB2B888 \n"
100 
101 "loc_FFB2B7F8:\n"
102 " BL sub_FFB2BF48 \n"
103 " BL sub_FFB28C78 \n"
104 " B loc_FFB2B888 \n"
105 
106 "loc_FFB2B804:\n"
107 " BL sub_FFB2BD78 \n"
108 " B loc_FFB2B888 \n"
109 
110 "loc_FFB2B80C:\n"
111 " BL sub_FFB2D89C \n"
112 " B loc_FFB2B888 \n"
113 
114 "loc_FFB2B814:\n"
115 " BL sub_FFB2DA70 \n"
116 " B loc_FFB2B888 \n"
117 
118 "loc_FFB2B81C:\n"
119 " BL sub_FFB2DB04 \n"
120 " B loc_FFB2B888 \n"
121 
122 "loc_FFB2B824:\n"
123 " BL sub_FFB2DC00 \n"
124 " B loc_FFB2B888 \n"
125 
126 "loc_FFB2B82C:\n"
127 " MOV R0, #0 \n"
128 " BL sub_FFB2DE6C \n"
129 " B loc_FFB2B888 \n"
130 
131 "loc_FFB2B838:\n"
132 " BL sub_FFB2E010 \n"
133 " B loc_FFB2B888 \n"
134 
135 "loc_FFB2B840:\n"
136 " BL sub_FFB2E0AC \n"
137 " B loc_FFB2B888 \n"
138 
139 "loc_FFB2B848:\n"
140 " BL sub_FFB2E16C \n"
141 " B loc_FFB2B888 \n"
142 
143 "loc_FFB2B850:\n"
144 " BL sub_FFB2C160 \n"
145 " BL sub_FFB2AE94 \n"
146 " B loc_FFB2B888 \n"
147 
148 "loc_FFB2B85C:\n"
149 " BL sub_FFB2DD40 \n"
150 " B loc_FFB2B888 \n"
151 
152 "loc_FFB2B864:\n"
153 " BL sub_FFB2DD9C \n"
154 " B loc_FFB2B888 \n"
155 
156 "loc_FFB2B86C:\n"
157 " BL sub_FFB2AFB4 \n"
158 " B loc_FFB2B888 \n"
159 
160 "loc_FFB2B874:\n"
161 " BL sub_FFB2535C \n"
162 " B loc_FFB2B888 \n"
163 
164 "loc_FFB2B87C:\n"
165 " LDR R0, =0xFFB2ABD8 /*'SsShootTask.c'*/ \n"
166 " MOV R1, #0x4D0 \n"
167 " BL _DebugAssert \n"
168 
169 "loc_FFB2B888:\n"
170 " LDR R2, [SP] \n"
171 
172 "loc_FFB2B88C:\n"
173 " LDR R3, =0x920D8 \n"
174 " LDR R1, [R2, #4] \n"
175 " LDR R0, [R3] \n"
176 " BL sub_FFB401AC /*_SetEventFlag*/ \n"
177 " LDR R0, [SP] \n"
178 " BL sub_FFB2ACC8 \n"
179 
180 "loc_FFB2B8A4:\n"
181 " LDR R3, =0x920DC \n"
182 " MOV R1, R4 \n"
183 " LDR R0, [R3] \n"
184 " MOV R2, #0 \n"
185 " BL sub_FFB408C4 /*_ReceiveMessageQueue*/ \n"
186 " TST R0, #1 \n"
187 " BEQ loc_FFB2B714 \n"
188 " MOV R1, #0x400 \n"
189 " LDR R0, =0xFFB2ABD8 /*'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.