CHDK_DE Vorschauversion  Trunk Rev. 5833
 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 "../../../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*)(0x8744+0x00)
 

Makro-Dokumentation

#define NR_AUTO   (0)

Definiert in Zeile 7 der Datei capt_seq.c.

#define PAUSE_FOR_FILE_COUNTER   250

Definiert in Zeile 9 der Datei capt_seq.c.

Dokumentation der Funktionen

void __attribute__ ( (naked, noinline)  )

Definiert in Zeile 14 der Datei capt_seq.c.

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

Variablen-Dokumentation

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

Definiert in Zeile 6 der Datei capt_seq.c.