CHDK_DE Vorschauversion  Trunk Rev. 5707
 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_FF94DC04 \n"
20 
21 "loc_FF94DABC:\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_FF94DBD8 \n"
28 " .long loc_FF94DB28 \n"
29 " .long loc_FF94DB34 \n"
30 " .long loc_FF94DB3C \n"
31 " .long loc_FF94DB4C \n"
32 " .long loc_FF94DB44 \n"
33 " .long loc_FF94DB54 \n"
34 " .long loc_FF94DB5C \n"
35 " .long loc_FF94DB68 \n"
36 " .long loc_FF94DB70 \n"
37 " .long loc_FF94DB7C \n"
38 " .long loc_FF94DB84 \n"
39 " .long loc_FF94DB8C \n"
40 " .long loc_FF94DB94 \n"
41 " .long loc_FF94DB9C \n"
42 " .long loc_FF94DBA4 \n"
43 " .long loc_FF94DBB0 \n"
44 " .long loc_FF94DBB8 \n"
45 " .long loc_FF94DBC0 \n"
46 " .long loc_FF94DBC8 \n"
47 " .long loc_FF94DBD0 \n"
48 " .long loc_FF94DBEC \n"
49 
50 "loc_FF94DB28:\n"
51 " BL sub_FF94F284 \n"
52 " BL shooting_expo_param_override\n" // +
53 " BL sub_FF94B9D4 \n"
54 " B loc_FF94DBE8 \n"
55 
56 "loc_FF94DB34:\n"
57 " BL sub_FF94D878_my \n" // --> Patched. Old value = 0xFF94D878.
58 " B loc_FF94DBE8 \n"
59 
60 "loc_FF94DB3C:\n"
61 " BL sub_FF94F618 \n"
62 " B loc_FF94DBE8 \n"
63 
64 "loc_FF94DB44:\n"
65 " BL sub_FF94E540 \n"
66 " B loc_FF94DBE8 \n"
67 
68 "loc_FF94DB4C:\n"
69 " BL sub_FF94E59C \n"
70 " B loc_FF94DBE8 \n"
71 
72 "loc_FF94DB54:\n"
73 " BL sub_FF94E78C \n"
74 " B loc_FF94DBE8 \n"
75 
76 "loc_FF94DB5C:\n"
77 " BL sub_FF94F378 \n"
78 " BL sub_FF94B9D4 \n"
79 " B loc_FF94DBE8 \n"
80 
81 "loc_FF94DB68:\n"
82 " BL sub_FF94D92C \n"
83 " B loc_FF94DBE8 \n"
84 
85 "loc_FF94DB70:\n"
86 " BL sub_FF94F3E0 \n"
87 " BL sub_FF94B9D4 \n"
88 " B loc_FF94DBE8 \n"
89 
90 "loc_FF94DB7C:\n"
91 " BL sub_FF94E59C \n"
92 " B loc_FF94DBE8 \n"
93 
94 "loc_FF94DB84:\n"
95 " BL sub_FF94FCA4 \n"
96 " B loc_FF94DBE8 \n"
97 
98 "loc_FF94DB8C:\n"
99 " BL sub_FF94FF2C \n"
100 " B loc_FF94DBE8 \n"
101 
102 "loc_FF94DB94:\n"
103 " BL sub_FF94FFB8 \n"
104 " B loc_FF94DBE8 \n"
105 
106 "loc_FF94DB9C:\n"
107 " BL sub_FF950070 \n"
108 " B loc_FF94DBE8 \n"
109 
110 "loc_FF94DBA4:\n"
111 " MOV R0, #0 \n"
112 " BL sub_FF950120 \n"
113 " B loc_FF94DBE8 \n"
114 
115 "loc_FF94DBB0:\n"
116 " BL sub_FF950270 \n"
117 " B loc_FF94DBE8 \n"
118 
119 "loc_FF94DBB8:\n"
120 " BL sub_FF9502E4 \n"
121 " B loc_FF94DBE8 \n"
122 
123 "loc_FF94DBC0:\n"
124 " BL sub_FF95039C \n"
125 " B loc_FF94DBE8 \n"
126 
127 "loc_FF94DBC8:\n"
128 " BL sub_FF95046C \n"
129 " B loc_FF94DBE8 \n"
130 
131 "loc_FF94DBD0:\n"
132 " BL sub_FF950498 \n"
133 " B loc_FF94DBE8 \n"
134 
135 "loc_FF94DBD8:\n"
136 " MOV R1, #0x2DC \n"
137 " LDR R0, =0xFF94D624 /*'ShootTask.c'*/ \n"
138 " ADD R1, R1, #2 \n"
139 " BL _DebugAssert \n"
140 
141 "loc_FF94DBE8:\n"
142 " LDR R2, [SP] \n"
143 
144 "loc_FF94DBEC:\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_FF94D6A0 \n"
151 
152 "loc_FF94DC04:\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_FF94DABC \n"
160 " MOV R1, #0x24C \n"
161 " LDR R0, =0xFF94D624 /*'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 }