CHDK_DE Vorschauversion  Trunk Rev. 5514
 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_FF94E180 \n"
20 
21 "loc_FF94E038:\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_FF94E154 \n"
28 " .long loc_FF94E0A4 \n"
29 " .long loc_FF94E0B0 \n"
30 " .long loc_FF94E0B8 \n"
31 " .long loc_FF94E0C8 \n"
32 " .long loc_FF94E0C0 \n"
33 " .long loc_FF94E0D0 \n"
34 " .long loc_FF94E0D8 \n"
35 " .long loc_FF94E0E4 \n"
36 " .long loc_FF94E0EC \n"
37 " .long loc_FF94E0F8 \n"
38 " .long loc_FF94E100 \n"
39 " .long loc_FF94E108 \n"
40 " .long loc_FF94E110 \n"
41 " .long loc_FF94E118 \n"
42 " .long loc_FF94E120 \n"
43 " .long loc_FF94E12C \n"
44 " .long loc_FF94E134 \n"
45 " .long loc_FF94E13C \n"
46 " .long loc_FF94E144 \n"
47 " .long loc_FF94E14C \n"
48 " .long loc_FF94E168 \n"
49 
50 "loc_FF94E0A4:\n"
51 " BL sub_FF94F808 \n"
52 " BL shooting_expo_param_override\n" // +
53 " BL sub_FF94BF50 \n"
54 " B loc_FF94E164 \n"
55 
56 "loc_FF94E0B0:\n"
57 " BL sub_FF94DDF4_my \n" // --> Patched. Old value = 0xFF94DDF4.
58 " B loc_FF94E164 \n"
59 
60 "loc_FF94E0B8:\n"
61 " BL sub_FF94FB9C \n"
62 " B loc_FF94E164 \n"
63 
64 "loc_FF94E0C0:\n"
65 " BL sub_FF94EABC \n"
66 " B loc_FF94E164 \n"
67 
68 "loc_FF94E0C8:\n"
69 " BL sub_FF94EB18 \n"
70 " B loc_FF94E164 \n"
71 
72 "loc_FF94E0D0:\n"
73 " BL sub_FF94ED0C \n"
74 " B loc_FF94E164 \n"
75 
76 "loc_FF94E0D8:\n"
77 " BL sub_FF94F8FC \n"
78 " BL sub_FF94BF50 \n"
79 " B loc_FF94E164 \n"
80 
81 "loc_FF94E0E4:\n"
82 " BL sub_FF94DEA8 \n"
83 " B loc_FF94E164 \n"
84 
85 "loc_FF94E0EC:\n"
86 " BL sub_FF94F964 \n"
87 " BL sub_FF94BF50 \n"
88 " B loc_FF94E164 \n"
89 
90 "loc_FF94E0F8:\n"
91 " BL sub_FF94EB18 \n"
92 " B loc_FF94E164 \n"
93 
94 "loc_FF94E100:\n"
95 " BL sub_FF95022C \n"
96 " B loc_FF94E164 \n"
97 
98 "loc_FF94E108:\n"
99 " BL sub_FF9504B4 \n"
100 " B loc_FF94E164 \n"
101 
102 "loc_FF94E110:\n"
103 " BL sub_FF950528 \n"
104 " B loc_FF94E164 \n"
105 
106 "loc_FF94E118:\n"
107 " BL sub_FF9505E0 \n"
108 " B loc_FF94E164 \n"
109 
110 "loc_FF94E120:\n"
111 " MOV R0, #0 \n"
112 " BL sub_FF950678 \n"
113 " B loc_FF94E164 \n"
114 
115 "loc_FF94E12C:\n"
116 " BL sub_FF9507C8 \n"
117 " B loc_FF94E164 \n"
118 
119 "loc_FF94E134:\n"
120 " BL sub_FF95083C \n"
121 " B loc_FF94E164 \n"
122 
123 "loc_FF94E13C:\n"
124 " BL sub_FF9508F4 \n"
125 " B loc_FF94E164 \n"
126 
127 "loc_FF94E144:\n"
128 " BL sub_FF9509C4 \n"
129 " B loc_FF94E164 \n"
130 
131 "loc_FF94E14C:\n"
132 " BL sub_FF9509F0 \n"
133 " B loc_FF94E164 \n"
134 
135 "loc_FF94E154:\n"
136 " MOV R1, #0x2DC \n"
137 " LDR R0, =0xFF94DBA0 /*'ShootTask.c'*/ \n"
138 " ADD R1, R1, #2 \n"
139 " BL _DebugAssert \n"
140 
141 "loc_FF94E164:\n"
142 " LDR R2, [SP] \n"
143 
144 "loc_FF94E168:\n"
145 " LDR R3, =0x73EF4 \n"
146 " LDR R1, [R2, #4] \n"
147 " LDR R0, [R3] \n"
148 " BL sub_FF8206E8 /*_SetEventFlag*/ \n"
149 " LDR R0, [SP] \n"
150 " BL sub_FF94DC1C \n"
151 
152 "loc_FF94E180:\n"
153 " LDR R3, =0x73EF8 \n"
154 " MOV R1, R4 \n"
155 " LDR R0, [R3] \n"
156 " MOV R2, #0 \n"
157 " BL sub_FF820EA4 /*_ReceiveMessageQueue*/ \n"
158 " TST R0, #1 \n"
159 " BEQ loc_FF94E038 \n"
160 " MOV R1, #0x24C \n"
161 " LDR R0, =0xFF94DBA0 /*'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 }