CHDK_DE Vorschauversion  Trunk Rev. 5455
 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 NR_ON   (1)
 
#define NR_OFF   (0)
 
#define USE_STUBS_NRFLAG   1
 

Funktionen

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

Makro-Dokumentation

#define NR_OFF   (0)

Definiert in Zeile 9 der Datei capt_seq.c.

#define NR_ON   (1)

Definiert in Zeile 8 der Datei capt_seq.c.

#define USE_STUBS_NRFLAG   1

Definiert in Zeile 11 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 17 der Datei capt_seq.c.

17  {
18 asm volatile (
19 " STMFD SP!, {R4,LR} \n"
20 " SUB SP, SP, #4 \n"
21 " MOV R4, SP \n"
22 " B loc_FF952DC0 \n"
23 
24 "loc_FF952C3C:\n"
25 " LDR R0, [SP] \n"
26 " LDR R3, [R0] \n"
27 " CMP R3, #0xF \n"
28 " LDRLS PC, [PC, R3, LSL#2] \n"
29 " B loc_FF952DA8 \n"
30 " .long loc_FF952C90 \n"
31 " .long loc_FF952CA0 \n"
32 " .long loc_FF952CB4 \n"
33 " .long loc_FF952CC4 \n"
34 " .long loc_FF952CD4 \n"
35 " .long loc_FF952CE4 \n"
36 " .long loc_FF952CF8 \n"
37 " .long loc_FF952D08 \n"
38 " .long loc_FF952D1C \n"
39 " .long loc_FF952D2C \n"
40 " .long loc_FF952D3C \n"
41 " .long loc_FF952D4C \n"
42 " .long loc_FF952D5C \n"
43 " .long loc_FF952D70 \n"
44 " .long loc_FF952D80 \n"
45 " .long loc_FF952D90 \n"
46 
47 "loc_FF952C90:\n"
48 " BL sub_FF95341C \n"
49 " LDR R3, =0x6FC94 \n"
50 " MOV R1, #8 \n"
51 " B loc_FF952D9C \n"
52 
53 "loc_FF952CA0:\n"
54 " BL sub_FF953BAC \n"
55 " BL shooting_expo_param_override\n" // +
56 " BL sub_FF9511A4 \n"
57 " LDR R3, =0x6FC94 \n"
58 " MOV R1, #0x10 \n"
59 " B loc_FF952D9C \n"
60 
61 "loc_FF952CB4:\n"
62 " BL sub_FF952384_my \n" // --> Patched. Old value = 0xFF952384.
63 " LDR R3, =0x6FC94 \n"
64 " MOV R1, #2 \n"
65 " B loc_FF952D9C \n"
66 
67 "loc_FF952CC4:\n"
68 " BL sub_FF9541A4 \n"
69 " LDR R3, =0x6FC94 \n"
70 " MOV R1, #1 \n"
71 " B loc_FF952D9C \n"
72 
73 "loc_FF952CD4:\n"
74 " BL sub_FF953C4C \n"
75 " LDR R3, =0x6FC94 \n"
76 " MOV R1, #0x20 \n"
77 " B loc_FF952D9C \n"
78 
79 "loc_FF952CE4:\n"
80 " BL sub_FF953D3C \n"
81 " BL sub_FF9511A4 \n"
82 " LDR R3, =0x6FC94 \n"
83 " MOV R1, #0x40 \n"
84 " B loc_FF952D9C \n"
85 
86 "loc_FF952CF8:\n"
87 " BL sub_FF952538 \n"
88 " LDR R3, =0x6FC94 \n"
89 " MOV R1, #0x80 \n"
90 " B loc_FF952D9C \n"
91 
92 "loc_FF952D08:\n"
93 " BL sub_FF953EB8 \n"
94 " BL sub_FF9511A4 \n"
95 " LDR R3, =0x6FC94 \n"
96 " MOV R1, #0x400 \n"
97 " B loc_FF952D9C \n"
98 
99 "loc_FF952D1C:\n"
100 " BL sub_FF953C4C \n"
101 " LDR R3, =0x6FC94 \n"
102 " MOV R1, #0x800 \n"
103 " B loc_FF952D9C \n"
104 
105 "loc_FF952D2C:\n"
106 " BL sub_FF95496C \n"
107 " LDR R3, =0x6FC94 \n"
108 " MOV R1, #0x8000 \n"
109 " B loc_FF952D9C \n"
110 
111 "loc_FF952D3C:\n"
112 " BL sub_FF954D20 \n"
113 " LDR R3, =0x6FC94 \n"
114 " MOV R1, #0x10000 \n"
115 " B loc_FF952D9C \n"
116 
117 "loc_FF952D4C:\n"
118 " BL sub_FF954C3C \n"
119 " LDR R3, =0x6FC94 \n"
120 " MOV R1, #0x20000 \n"
121 " B loc_FF952D9C \n"
122 
123 "loc_FF952D5C:\n"
124 " MOV R0, #0 \n"
125 " BL sub_FF954DD4 \n"
126 " LDR R3, =0x6FC94 \n"
127 " MOV R1, #0x40000 \n"
128 " B loc_FF952D9C \n"
129 
130 "loc_FF952D70:\n"
131 " BL sub_FF955038 \n"
132 " LDR R3, =0x6FC94 \n"
133 " MOV R1, #0x80000 \n"
134 " B loc_FF952D9C \n"
135 
136 "loc_FF952D80:\n"
137 " BL sub_FF9550B0 \n"
138 " LDR R3, =0x6FC94 \n"
139 " MOV R1, #0x100000 \n"
140 " B loc_FF952D9C \n"
141 
142 "loc_FF952D90:\n"
143 " BL sub_FF9550FC \n"
144 " LDR R3, =0x6FC94 \n"
145 " MOV R1, #0x200000 \n"
146 
147 "loc_FF952D9C:\n"
148 " LDR R0, [R3] \n"
149 " BL sub_FF81FDA0 /*_SetEventFlag*/ \n"
150 " B loc_FF952DB8 \n"
151 
152 "loc_FF952DA8:\n"
153 " MOV R1, #0x370 \n"
154 " LDR R0, =0xFF952034 /*'CaptSeq.c'*/ \n"
155 " ADD R1, R1, #1 \n"
156 " BL _DebugAssert \n"
157 
158 "loc_FF952DB8:\n"
159 " LDR R0, [SP] \n"
160 " BL sub_FF9520B4 \n"
161 
162 "loc_FF952DC0:\n"
163 " LDR R3, =0x6FC98 \n"
164 " MOV R1, R4 \n"
165 " LDR R0, [R3] \n"
166 " MOV R2, #0 \n"
167 " BL sub_FF8205A8 /*_ReceiveMessageQueue*/ \n"
168 " TST R0, #1 \n"
169 " BEQ loc_FF952C3C \n"
170 " MOV R1, #0x2E4 \n"
171 " LDR R0, =0xFF952034 /*'CaptSeq.c'*/ \n"
172 " ADD R1, R1, #3 \n"
173 " BL _DebugAssert \n"
174 " BL _ExitTask \n"
175 " ADD SP, SP, #4 \n"
176 " LDMFD SP!, {R4,PC} \n"
177 );
178 }