CHDK_DE Vorschauversion  Trunk Rev. 5229
 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 "conf.h"
#include "stdlib.h"
#include "../../../generic/capt_seq.c"
+ Include-Abhängigkeitsdiagramm für capt_seq.c:

gehe zum Quellcode dieser Datei

Makrodefinitionen

#define NR_AUTO   (0)
 
#define PAUSE_FOR_FILE_COUNTER   250
 

Funktionen

void __attribute__ ((naked, noinline))
 

Variablen

static long * nrflag = (long*)(0x873c+0x00)
 

Makro-Dokumentation

#define NR_AUTO   (0)

Definiert in Zeile 8 der Datei capt_seq.c.

#define PAUSE_FOR_FILE_COUNTER   250

Definiert in Zeile 10 der Datei capt_seq.c.

Dokumentation der Funktionen

void __attribute__ ( (naked, noinline)  )

Definiert in Zeile 15 der Datei capt_seq.c.

15  {
16 asm volatile (
17  "STMFD SP!, {R3-R7,LR} \n"
18  "LDR R5, =0x36C14 \n"
19  "LDR R6, =0x2ACC \n"
20 "loc_FF86ECB4:\n"
21  "MOV R2, #0 \n"
22  "LDR R0, [R6, #4] \n"
23  "MOV R1, SP \n"
24  "BL sub_003F7218 \n" // RAM
25  "TST R0, #1 \n"
26  "BEQ loc_FF86ECE0 \n"
27  "LDR R1, =0x493 \n"
28  "LDR R0, =0xFF86E814 \n" // **"SsShootTask.c"
29  "BL _DebugAssert \n"
30  "BL _ExitTask \n"
31  "LDMFD SP!, {R3-R7,PC} \n"
32 "loc_FF86ECE0:\n"
33  "LDR R0, [SP] \n"
34  "LDR R1, [R0] \n"
35  "CMP R1, #0x20 \n"
36  "ADDCC PC, PC, R1, LSL #2 \n"
37  "B loc_FF86EF20 \n"
38  "B loc_FF86ED74 \n"
39  "B loc_FF86ED7C \n"
40  "B loc_FF86EDE0 \n"
41  "B loc_FF86EDF4 \n"
42  "B loc_FF86EDEC \n"
43  "B loc_FF86EDFC \n"
44  "B loc_FF86EE04 \n"
45  "B loc_FF86EE10 \n"
46  "B loc_FF86EE2C \n"
47  "B loc_FF86EDF4 \n"
48  "B loc_FF86EE34 \n"
49  "B loc_FF86EE40 \n"
50  "B loc_FF86EE48 \n"
51  "B loc_FF86EE54 \n"
52  "B loc_FF86EE5C \n"
53  "B loc_FF86EE64 \n"
54  "B loc_FF86EE6C \n"
55  "B loc_FF86EE74 \n"
56  "B loc_FF86EE80 \n"
57  "B loc_FF86EE88 \n"
58  "B loc_FF86EE90 \n"
59  "B loc_FF86EE98 \n"
60  "B loc_FF86EEA0 \n"
61  "B loc_FF86EEAC \n"
62  "B loc_FF86EEB4 \n"
63  "B loc_FF86EEBC \n"
64  "B loc_FF86EEC4 \n"
65  "B loc_FF86EECC \n"
66  "B loc_FF86EED8 \n"
67  "B loc_FF86EEE0 \n"
68  "B loc_FF86EEEC \n"
69  "B loc_FF86EF2C \n"
70 "loc_FF86ED74:\n" // jump table entry 0
71  "BL shooting_expo_iso_override\n" // added - as ixus220 - but not defined for a810??
72  "BL sub_FF86F50C \n"
73  "BL shooting_expo_param_override\n" // added
74  "B loc_FF86EE08 \n"
75 "loc_FF86ED7C:\n" // jump table entry 1
76  "LDR R4, [R0, #0x10] \n"
77  "LDR R0, [R5, #0x84] \n"
78  "TST R0, #0x30 \n"
79  "BLNE sub_FF87066C \n"
80  "BL sub_FF87034C \n"
81  "MOV R1, R4 \n"
82  "BL sub_FF8703A4 \n"
83  "LDR R0, =0x10F \n"
84  "MOV R2, #4 \n"
85  "ADD R1, R4, #0x24 \n"
86  "BL sub_FF87E744 \n"
87  "MOV R2, #4 \n"
88  "ADD R1, R4, #0x28 \n"
89  "MOV R0, #0x2C \n"
90  "BL sub_FF87E744 \n"
91  "MOV R0, R4 \n"
92 // "BL sub_FF960B9C \n" //original
93  "BL sub_FF960B9C_my \n" //patched
94  "BL capt_seq_hook_raw_here \n" // patch
95  "MOV R7, R0 \n"
96  "MOV R2, R4 \n"
97  "MOV R1, #1 \n"
98  "BL sub_FF86D0F8 \n"
99  "TST R7, #1 \n"
100  "MOVEQ R0, R4 \n"
101  "BLEQ sub_FF9605A4 \n"
102  "B loc_FF86EF2C \n"
103 "loc_FF86EDE0:\n" // jump table entry 2
104  "MOV R0, #1 \n"
105  "BL sub_FF86F7D0 \n"
106  "B loc_FF86EF2C \n"
107 "loc_FF86EDEC:\n"
108  "BL sub_FF86F154 \n"
109  "B loc_FF86EF2C \n"
110 "loc_FF86EDF4:\n"
111  "BL sub_FF86F4EC \n"
112  "B loc_FF86EF2C \n"
113 "loc_FF86EDFC:\n"
114  "BL sub_FF86F4F4 \n"
115  "B loc_FF86EF2C \n"
116 "loc_FF86EE04:\n"
117  "BL sub_FF86F6B8 \n"
118 "loc_FF86EE08:\n"
119  "BL sub_FF86CC78 \n"
120  "B loc_FF86EF2C \n"
121 "loc_FF86EE10:\n"
122  "LDR R4, [R0, #0x10] \n"
123  "MOV R0, R4 \n"
124  "BL sub_FF960CA0 \n"
125  "MOV R2, R4 \n"
126  "MOV R1, #9 \n"
127  "BL sub_FF86D0F8 \n"
128  "B loc_FF86EF2C \n"
129 "loc_FF86EE2C:\n"
130  "BL sub_FF86F738 \n"
131  "B loc_FF86EE08 \n"
132 "loc_FF86EE34:\n"
133  "LDR R0, [R5, #0x50] \n"
134  "BL sub_FF86FB70 \n"
135  "B loc_FF86EF2C \n"
136 "loc_FF86EE40:\n"
137  "BL sub_FF86FF08 \n"
138  "B loc_FF86EF2C \n"
139 "loc_FF86EE48:\n"
140  "MOV R0, #0 \n"
141  "BL sub_FF86FF6C \n"
142  "B loc_FF86EF2C \n"
143 "loc_FF86EE54:\n"
144  "BL sub_FF95F974 \n"
145  "B loc_FF86EF2C \n"
146 "loc_FF86EE5C:\n"
147  "BL sub_FF95FBD4 \n"
148  "B loc_FF86EF2C \n"
149 "loc_FF86EE64:\n"
150  "BL sub_FF95FC8C \n"
151  "B loc_FF86EF2C \n"
152 "loc_FF86EE6C:\n"
153  "BL sub_FF95FD60 \n"
154  "B loc_FF86EF2C \n"
155 "loc_FF86EE74:\n"
156  "MOV R0, #0 \n"
157  "BL sub_FF95FFC0 \n"
158  "B loc_FF86EF2C \n"
159 "loc_FF86EE80:\n"
160  "BL sub_FF960130 \n"
161  "B loc_FF86EF2C \n"
162 "loc_FF86EE88:\n"
163  "BL sub_FF9601C4 \n"
164  "B loc_FF86EF2C \n"
165 "loc_FF86EE90:\n"
166  "BL sub_FF96027C \n"
167  "B loc_FF86EF2C \n"
168 "loc_FF86EE98:\n"
169  "BL sub_FF86F94C \n"
170  "B loc_FF86EF2C \n"
171 "loc_FF86EEA0:\n"
172  "BL sub_FF86F978 \n"
173  "BL sub_FF830FB0 \n"
174  "B loc_FF86EF2C \n"
175 "loc_FF86EEAC:\n"
176  "BL sub_FF95FE30 \n"
177  "B loc_FF86EF2C \n"
178 "loc_FF86EEB4:\n"
179  "BL sub_FF95FE70 \n"
180  "B loc_FF86EF2C \n"
181 "loc_FF86EEBC:\n"
182  "BL sub_FF871844 \n"
183  "B loc_FF86EF2C \n"
184 "loc_FF86EEC4:\n"
185  "BL sub_FF8718B8 \n"
186  "B loc_FF86EF2C \n"
187 "loc_FF86EECC:\n"
188  "LDR R0, [R0, #0xC] \n"
189  "BL sub_FF960394 \n"
190  "B loc_FF86EF2C \n"
191 "loc_FF86EED8:\n"
192  "BL sub_FF960404 \n"
193  "B loc_FF86EF2C \n"
194 "loc_FF86EEE0:\n"
195  "BL sub_FF871920 \n"
196  "BL sub_FF8718D8 \n"
197  "B loc_FF86EF2C \n"
198 "loc_FF86EEEC:\n"
199  "MOV R0, #1 \n"
200  "BL sub_FF9613B8 \n"
201  "MOV R0, #1 \n"
202  "BL sub_FF9614E0 \n"
203  "LDRH R0, [R5, #0x94] \n"
204  "CMP R0, #4 \n"
205  "LDRNEH R0, [R5] \n"
206  "SUBNE R1, R0, #0x8200 \n"
207  "SUBNES R1, R1, #0x2E \n"
208  "BNE loc_FF86EF2C \n"
209  "BL sub_FF8718B8 \n"
210  "BL sub_FF871D7C \n"
211  "B loc_FF86EF2C \n"
212 "loc_FF86EF20:\n"
213  "LDR R1, =0x5F4 \n"
214  "LDR R0, =0xFF86E814 \n" // *"SsShootTask.c"
215  "BL _DebugAssert \n"
216 "loc_FF86EF2C:\n"
217  "LDR R0, [SP] \n"
218  "LDR R1, [R0, #4] \n"
219  "LDR R0, [R6] \n"
220  "BL sub_003FAC6C \n" // RAM
221  "LDR R4, [SP] \n"
222  "LDR R0, [R4, #8] \n"
223  "CMP R0, #0 \n"
224  "LDREQ R1, =0x117 \n"
225  "LDREQ R0, =0xFF86E814 \n" // *"SsShootTask.c"
226  "BLEQ _DebugAssert \n"
227  "MOV R0, #0 \n"
228  "STR R0, [R4, #8] \n"
229  "B loc_FF86ECB4 \n"
230  );
231 }

Variablen-Dokumentation

long* nrflag = (long*)(0x873c+0x00)
static

Definiert in Zeile 7 der Datei capt_seq.c.