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

Makrodefinitionen

#define USE_STUBS_NRFLAG   1
 

Funktionen

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

Makro-Dokumentation

#define USE_STUBS_NRFLAG   1

Definiert in Zeile 8 der Datei capt_seq.c.

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

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_FF94D87C \n"
20 
21 "loc_FF94D734:\n"
22 " LDR R2, [SP] \n"
23 " LDR R3, [R2] \n"
24 " MOV R0, R2 \n"
25 " CMP R3, #0x14 \n"
26 " LDRLS PC, [PC, R3, LSL#2] \n"
27 " B loc_FF94D850 \n"
28 " .long loc_FF94D7A0 \n"
29 " .long loc_FF94D7AC \n"
30 " .long loc_FF94D7B4 \n"
31 " .long loc_FF94D7C4 \n"
32 " .long loc_FF94D7BC \n"
33 " .long loc_FF94D7CC \n"
34 " .long loc_FF94D7D4 \n"
35 " .long loc_FF94D7E0 \n"
36 " .long loc_FF94D7E8 \n"
37 " .long loc_FF94D7F4 \n"
38 " .long loc_FF94D7FC \n"
39 " .long loc_FF94D804 \n"
40 " .long loc_FF94D80C \n"
41 " .long loc_FF94D814 \n"
42 " .long loc_FF94D81C \n"
43 " .long loc_FF94D828 \n"
44 " .long loc_FF94D830 \n"
45 " .long loc_FF94D838 \n"
46 " .long loc_FF94D840 \n"
47 " .long loc_FF94D848 \n"
48 " .long loc_FF94D864 \n"
49 
50 "loc_FF94D7A0:\n"
51 " BL sub_FF94EEFC \n"
52 " BL shooting_expo_param_override\n" // +
53 " BL sub_FF94B64C \n"
54 " B loc_FF94D860 \n"
55 
56 "loc_FF94D7AC:\n"
57 " BL sub_FF94D4F0_my \n" // --> Patched. Old value = 0xFF94D4F0.
58 " B loc_FF94D860 \n"
59 
60 "loc_FF94D7B4:\n"
61 " BL sub_FF94F290 \n"
62 " B loc_FF94D860 \n"
63 
64 "loc_FF94D7BC:\n"
65 " BL sub_FF94E1B8 \n"
66 " B loc_FF94D860 \n"
67 
68 "loc_FF94D7C4:\n"
69 " BL sub_FF94E214 \n"
70 " B loc_FF94D860 \n"
71 
72 "loc_FF94D7CC:\n"
73 " BL sub_FF94E404 \n"
74 " B loc_FF94D860 \n"
75 
76 "loc_FF94D7D4:\n"
77 " BL sub_FF94EFF0 \n"
78 " BL sub_FF94B64C \n"
79 " B loc_FF94D860 \n"
80 
81 "loc_FF94D7E0:\n"
82 " BL sub_FF94D5A4 \n"
83 " B loc_FF94D860 \n"
84 
85 "loc_FF94D7E8:\n"
86 " BL sub_FF94F058 \n"
87 " BL sub_FF94B64C \n"
88 " B loc_FF94D860 \n"
89 
90 "loc_FF94D7F4:\n"
91 " BL sub_FF94E214 \n"
92 " B loc_FF94D860 \n"
93 
94 "loc_FF94D7FC:\n"
95 " BL sub_FF94F91C \n"
96 " B loc_FF94D860 \n"
97 
98 "loc_FF94D804:\n"
99 " BL sub_FF94FBA4 \n"
100 " B loc_FF94D860 \n"
101 
102 "loc_FF94D80C:\n"
103 " BL sub_FF94FC30 \n"
104 " B loc_FF94D860 \n"
105 
106 "loc_FF94D814:\n"
107 " BL sub_FF94FCE8 \n"
108 " B loc_FF94D860 \n"
109 
110 "loc_FF94D81C:\n"
111 " MOV R0, #0 \n"
112 " BL sub_FF94FD98 \n"
113 " B loc_FF94D860 \n"
114 
115 "loc_FF94D828:\n"
116 " BL sub_FF94FEE8 \n"
117 " B loc_FF94D860 \n"
118 
119 "loc_FF94D830:\n"
120 " BL sub_FF94FF5C \n"
121 " B loc_FF94D860 \n"
122 
123 "loc_FF94D838:\n"
124 " BL sub_FF950014 \n"
125 " B loc_FF94D860 \n"
126 
127 "loc_FF94D840:\n"
128 " BL sub_FF9500E4 \n"
129 " B loc_FF94D860 \n"
130 
131 "loc_FF94D848:\n"
132 " BL sub_FF950110 \n"
133 " B loc_FF94D860 \n"
134 
135 "loc_FF94D850:\n"
136 " MOV R1, #0x2DC \n"
137 " LDR R0, =0xFF94D29C /*'ShootTask.c'*/ \n"
138 " ADD R1, R1, #2 \n"
139 " BL _DebugAssert \n"
140 
141 "loc_FF94D860:\n"
142 " LDR R2, [SP] \n"
143 
144 "loc_FF94D864:\n"
145 " LDR R3, =0x7D444 \n"
146 " LDR R1, [R2, #4] \n"
147 " LDR R0, [R3] \n"
148 " BL sub_FF81FB7C /*_SetEventFlag*/ \n"
149 " LDR R0, [SP] \n"
150 " BL sub_FF94D318 \n"
151 
152 "loc_FF94D87C:\n"
153 " LDR R3, =0x7D448 \n"
154 " MOV R1, R4 \n"
155 " LDR R0, [R3] \n"
156 " MOV R2, #0 \n"
157 " BL sub_FF82032C /*_ReceiveMessageQueue*/ \n"
158 " TST R0, #1 \n"
159 " BEQ loc_FF94D734 \n"
160 " MOV R1, #0x24C \n"
161 " LDR R0, =0xFF94D29C /*'ShootTask.c'*/ \n"
162 " ADD R1, R1, #3 \n"
163 " BL _DebugAssert \n"
164 " BL _ExitTask \n"
165 " ADD SP, SP, #4 \n"
166 " LDMFD SP!, {R4,PC} \n"
167 );
168 }