CHDK_DE Vorschauversion  Trunk Rev. 5214
 Alle Datenstrukturen Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Makrodefinitionen
filewrite.c-Dateireferenz
#include "lolevel.h"
#include "platform.h"
#include "../../../generic/filewrite.c"
+ Include-Abhängigkeitsdiagramm für filewrite.c:

gehe zum Quellcode dieser Datei

Datenstrukturen

struct  cam_ptp_data_chunk
 
struct  fwt_data_struct
 

Makrodefinitionen

#define MAX_CHUNKS_FOR_JPEG   7
 

Funktionen

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

Makro-Dokumentation

#define MAX_CHUNKS_FOR_JPEG   7

Definiert in Zeile 12 der Datei filewrite.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

__MovieRecorder_c__100

__MovieRecorder_c__100

ASM1989 -> In sx200:FF857190 //"Mounter.c"

ASM1989 -> In sx200:FF81B284 // DebugAssert

Definiert in Zeile 31 der Datei filewrite.c.

31  {
32 asm volatile (
33 " STMFD SP!, {R1-R5,LR} \n"
34 " LDR R5, =0xD1BC \n"
35 
36 "loc_FF2E50B8:\n"
37 " MOV R2, #0 \n"
38 " LDR R0, [R5, #0x10] \n"
39 " ADD R1, SP, #8 \n"
40 " BL sub_FF02B184 /*_ReceiveMessageQueue*/ \n"
41 " CMP R0, #0 \n"
42 " MOVNE R1, #0x348 \n"
43 " LDRNE R0, =0xFF2E51B0 /*'dwFWrite.c'*/ \n"
44 " BLNE _DebugAssert \n"
45 " LDR R0, [SP, #8] \n"
46 " LDR R1, [R0] \n"
47 " CMP R1, #0xA \n"
48 " ADDCC PC, PC, R1, LSL#2 \n"
49 " B loc_FF2E50B8 \n"
50 " B loc_FF2E5184 \n"
51 " B loc_FF2E5184 \n"
52 " B loc_FF2E5184 \n"
53 " B loc_FF2E5184 \n"
54 " B loc_FF2E5184 \n"
55 " B loc_FF2E5184 \n"
56 " B loc_FF2E5184 \n"
57 " B loc_FF2E518C \n"
58 " B loc_FF2E5114 \n"
59 " B loc_FF2E517C \n"
60 
61 "loc_FF2E5114:\n"
62 " MOV R0, #0 \n"
63 " MOV R4, R5 \n"
64 " STR R0, [SP] \n"
65 
66 "loc_FF2E5120:\n"
67 " LDR R0, [R4, #0x10] \n"
68 " MOV R1, SP \n"
69 " BL sub_FF02B3C8 /*_GetNumberOfPostedMessages*/ \n"
70 " LDR R0, [SP] \n"
71 " CMP R0, #0 \n"
72 " BEQ loc_FF2E514C \n"
73 " LDR R0, [R4, #0x10] \n"
74 " MOV R2, #0 \n"
75 " ADD R1, SP, #4 \n"
76 " BL sub_FF02B184 /*_ReceiveMessageQueue*/ \n"
77 " B loc_FF2E5120 \n"
78 
79 "loc_FF2E514C:\n"
80 " LDR R0, [R4, #4] \n"
81 " CMN R0, #1 \n"
82 " BEQ loc_FF2E5170 \n"
83 " BL fwt_close \n" // --> Patched. Old value = _Close.
84 " MVN R0, #0 \n"
85 " STR R0, [R4, #4] \n"
86 " LDR R0, =0x118B70 \n"
87 " BL sub_FF06C558 \n"
88 " BL sub_FF06A6E8 \n"
89 
90 "loc_FF2E5170:\n"
91 " LDR R0, [R4, #0xC] \n"
92 " BL _GiveSemaphore \n"
93 " B loc_FF2E50B8 \n"
94 
95 "loc_FF2E517C:\n"
96 " BL sub_FF2E4DFC_my \n" // --> Patched. Old value = 0xFF2E4DFC.
97 " B loc_FF2E50B8 \n"
98 
99 "loc_FF2E5184:\n"
100 " BL sub_FF2E538C_my \n" // --> Patched. Old value = 0xFF2E538C.
101 " B loc_FF2E50B8 \n"
102 
103 "loc_FF2E518C:\n"
104 " BL sub_FF2E4F3C_my \n" // --> Patched. Old value = 0xFF2E4F3C.
105 " B loc_FF2E50B8 \n"
106 );
107 }