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

Funktionen

void __attribute__ ((naked, noinline))
 

Variablen

static long * nrflag = (long*)(0x69bc+0x08)
 

Makro-Dokumentation

#define NR_AUTO   (0)

Definiert in Zeile 7 der Datei capt_seq.c.

#define PAUSE_FOR_FILE_COUNTER   150

Definiert in Zeile 8 der Datei capt_seq.c.

Dokumentation der Funktionen

void __attribute__ ( (naked, noinline)  )

Definiert in Zeile 12 der Datei capt_seq.c.

12  {
13  // FF877DAC
14 asm volatile (
15  " STMFD SP!, {R3-R7,LR} \n"
16  " LDR R5, =0x39C84 \n"
17  " LDR R6, =0x2AF0 \n"
18 "loc_FF877DBC:\n"
19  " MOV R2, #0 \n"
20  " LDR R0, [R6, #4] \n"
21  " MOV R1, SP \n"
22  " BL sub_FF8397A4 \n"
23  " TST R0, #1 \n"
24  " BEQ loc_FF877DE8 \n"
25  " LDR R1, =0x476 \n"
26  " LDR R0, =0xFF877950 \n"
27  " BL sub_FF81EC88 \n"
28  " BL sub_FF81EC40 \n"
29  " LDMFD SP!, {R3-R7,PC} \n"
30 "loc_FF877DE8:\n"
31  " LDR R0, [SP] \n"
32  " LDR R1, [R0] \n"
33  " CMP R1, #0x20 \n"
34  " ADDCC PC, PC, R1, LSL #2 \n"
35  " B loc_FF877FEC \n"
36  " B loc_FF877E7C \n"
37  " B loc_FF877E84 \n"
38  " B loc_FF877EB0 \n"
39  " B loc_FF877EC4 \n"
40  " B loc_FF877EBC \n"
41  " B loc_FF877ECC \n"
42  " B loc_FF877ED4 \n"
43  " B loc_FF877EE0 \n"
44  " B loc_FF877EFC \n"
45  " B loc_FF877EC4 \n"
46  " B loc_FF877F04 \n"
47  " B loc_FF877F10 \n"
48  " B loc_FF877F18 \n"
49  " B loc_FF877F20 \n"
50  " B loc_FF877F28 \n"
51  " B loc_FF877F30 \n"
52  " B loc_FF877F38 \n"
53  " B loc_FF877F40 \n"
54  " B loc_FF877F4C \n"
55  " B loc_FF877F54 \n"
56  " B loc_FF877F5C \n"
57  " B loc_FF877F64 \n"
58  " B loc_FF877F6C \n"
59  " B loc_FF877F78 \n"
60  " B loc_FF877F80 \n"
61  " B loc_FF877F88 \n"
62  " B loc_FF877F90 \n"
63  " B loc_FF877F98 \n"
64  " B loc_FF877FA0 \n"
65  " B loc_FF877FA8 \n"
66  " B loc_FF877FB4 \n"
67  " B loc_FF877FF8 \n"
68 "loc_FF877E7C:\n"
69  " BL shooting_expo_iso_override\n" // +
70  " BL sub_FF87856C \n"
71  " BL shooting_expo_param_override\n" // +
72  " B loc_FF877ED8 \n"
73 "loc_FF877E84:\n"
74  " BL wait_until_remote_button_is_released\n" // +++ as in a800
75  " BL capt_seq_hook_set_nr\n" // +++ as in a800
76  " LDR R7, [R0, #0xC] \n"
77  " MOV R0, R7 \n"
78  " BL sub_FF969238 \n"
79  " BL capt_seq_hook_raw_here\n" // as in a800
80  " MOV R4, R0 \n"
81  " MOV R2, R7 \n"
82  " MOV R1, #1 \n"
83  " BL sub_FF87611C \n"
84  " TST R4, #1 \n"
85  " MOVEQ R0, R7 \n"
86  " BLEQ sub_FF968D70 \n"
87  " B loc_FF877FF8 \n"
88 "loc_FF877EB0:\n"
89  " MOV R0, #1 \n"
90  " BL sub_FF878800 \n"
91  " B loc_FF877FF8 \n"
92 "loc_FF877EBC:\n"
93  " BL sub_FF878208 \n"
94  " B loc_FF877FF8 \n"
95 "loc_FF877EC4:\n"
96  " BL sub_FF87854C \n"
97  " B loc_FF877FF8 \n"
98 "loc_FF877ECC:\n"
99  " BL sub_FF878554 \n"
100  " B loc_FF877FF8 \n"
101 "loc_FF877ED4:\n"
102  " BL sub_FF878714 \n"
103 "loc_FF877ED8:\n"
104  " BL sub_FF875BA8 \n"
105  " B loc_FF877FF8 \n"
106 "loc_FF877EE0:\n"
107  " LDR R4, [R0, #0xC] \n"
108  " MOV R0, R4 \n"
109  " BL sub_FF9692E0 \n"
110  " MOV R2, R4 \n"
111  " MOV R1, #9 \n"
112  " BL sub_FF87611C \n"
113  " B loc_FF877FF8 \n"
114 "loc_FF877EFC:\n"
115  " BL sub_FF878778 \n"
116  " B loc_FF877ED8 \n"
117 "loc_FF877F04:\n"
118  " LDR R0, [R5, #0x50] \n"
119  " BL sub_FF878C4C \n"
120  " B loc_FF877FF8 \n"
121 "loc_FF877F10:\n"
122  " BL sub_FF878F98 \n"
123  " B loc_FF877FF8 \n"
124 "loc_FF877F18:\n"
125  " BL sub_FF878FFC \n"
126  " B loc_FF877FF8 \n"
127 "loc_FF877F20:\n"
128  " BL sub_FF968178 \n"
129  " B loc_FF877FF8 \n"
130 "loc_FF877F28:\n"
131  " BL sub_FF968384 \n"
132  " B loc_FF877FF8 \n"
133 "loc_FF877F30:\n"
134  " BL sub_FF968428 \n"
135  " B loc_FF877FF8 \n"
136 "loc_FF877F38:\n"
137  " BL sub_FF9684F8 \n"
138  " B loc_FF877FF8 \n"
139 "loc_FF877F40:\n"
140  " MOV R0, #0 \n"
141  " BL sub_FF968700 \n"
142  " B loc_FF877FF8 \n"
143 "loc_FF877F4C:\n"
144  " BL sub_FF968878 \n"
145  " B loc_FF877FF8 \n"
146 "loc_FF877F54:\n"
147  " BL sub_FF96891C \n"
148  " B loc_FF877FF8 \n"
149 "loc_FF877F5C:\n"
150  " BL sub_FF9689FC \n"
151  " B loc_FF877FF8 \n"
152 "loc_FF877F64:\n"
153  " BL sub_FF878974 \n"
154  " B loc_FF877FF8 \n"
155 "loc_FF877F6C:\n"
156  " BL sub_FF8789A0 \n"
157  " BL sub_FF83780C \n"
158  " B loc_FF877FF8 \n"
159 "loc_FF877F78:\n"
160  " BL sub_FF9685BC \n"
161  " B loc_FF877FF8 \n"
162 "loc_FF877F80:\n"
163  " BL sub_FF9685FC \n"
164  " B loc_FF877FF8 \n"
165 "loc_FF877F88:\n"
166  " BL sub_FF87B25C \n"
167  " B loc_FF877FF8 \n"
168 "loc_FF877F90:\n"
169  " BL sub_FF87B2CC \n"
170  " B loc_FF877FF8 \n"
171 "loc_FF877F98:\n"
172  " BL sub_FF968B34 \n"
173  " B loc_FF877FF8 \n"
174 "loc_FF877FA0:\n"
175  " BL sub_FF968B98 \n"
176  " B loc_FF877FF8 \n"
177 "loc_FF877FA8:\n"
178  " BL sub_FF87B328 \n"
179  " BL sub_FF87B2E8 \n"
180  " B loc_FF877FF8 \n"
181 "loc_FF877FB4:\n"
182  " MOV R0, #1 \n"
183  " BL sub_FF969A54 \n"
184  " MOV R0, #1 \n"
185  " BL sub_FF969B7C \n"
186  " LDRH R0, [R5, #0x90] \n"
187  " CMP R0, #4 \n"
188  " LDRNEH R0, [R5] \n"
189  " SUBNE R1, R0, #0x4200 \n"
190  " SUBNES R1, R1, #0x2A \n"
191  " BNE loc_FF877FF8 \n"
192  " BL sub_FF87B2CC \n"
193  " BL sub_FF87B8CC \n"
194  " BL sub_FF87B74C \n"
195  " B loc_FF877FF8 \n"
196 "loc_FF877FEC:\n"
197  " LDR R1, =0x5D7 \n"
198  " LDR R0, =0xFF877950 \n"
199  " BL sub_FF81EC88 \n"
200 "loc_FF877FF8:\n"
201  " LDR R0, [SP] \n"
202  " LDR R1, [R0, #4] \n"
203  " LDR R0, [R6] \n"
204  " BL sub_FF881D64 \n"
205  " LDR R4, [SP] \n"
206  " LDR R0, [R4, #8] \n"
207  " CMP R0, #0 \n"
208  " LDREQ R0, =0xFF877950 \n"
209  " MOVEQ R1, #0x118 \n"
210  " BLEQ sub_FF81EC88 \n"
211  " MOV R0, #0 \n"
212  " STR R0, [R4, #8] \n"
213  " B loc_FF877DBC \n"
214  );
215 }

Variablen-Dokumentation

long* nrflag = (long*)(0x69bc+0x08)
static

Definiert in Zeile 6 der Datei capt_seq.c.