CHDK_DE Vorschauversion  Trunk Rev. 5251
 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 R4, =0xC950 \n"
35 
36 "loc_FFACBF8C:\n"
37 " LDR R0, [R4, #0x10] \n"
38 " MOV R2, #0 \n"
39 " ADD R1, SP, #8 \n"
40 " BL sub_FF83A4C8 /*_ReceiveMessageQueue*/ \n"
41 " CMP R0, #0 \n"
42 " LDRNE R1, =0x33F \n"
43 " LDRNE R0, =0xFFACC074 /*'dwFWrite.c'*/ \n"
44 " BLNE _DebugAssert \n"
45 " LDR R0, [SP, #8] \n"
46 " LDR R1, [R0] \n"
47 " CMP R1, #9 \n"
48 " ADDLS PC, PC, R1, LSL#2 \n"
49 " B loc_FFACBF8C \n"
50 " B loc_FFACC054 \n"
51 " B loc_FFACC054 \n"
52 " B loc_FFACC054 \n"
53 " B loc_FFACC054 \n"
54 " B loc_FFACC054 \n"
55 " B loc_FFACC054 \n"
56 " B loc_FFACC054 \n"
57 " B loc_FFACC05C \n"
58 " B loc_FFACBFE8 \n"
59 " B loc_FFACC04C \n"
60 
61 "loc_FFACBFE8:\n"
62 " MOV R0, #0 \n"
63 " STR R0, [SP] \n"
64 
65 "loc_FFACBFF0:\n"
66 " LDR R0, [R4, #0x10] \n"
67 " MOV R1, SP \n"
68 " BL sub_FF83A70C /*_GetNumberOfPostedMessages*/ \n"
69 " LDR R0, [SP] \n"
70 " CMP R0, #0 \n"
71 " BEQ loc_FFACC01C \n"
72 " LDR R0, [R4, #0x10] \n"
73 " MOV R2, #0 \n"
74 " ADD R1, SP, #4 \n"
75 " BL sub_FF83A4C8 /*_ReceiveMessageQueue*/ \n"
76 " B loc_FFACBFF0 \n"
77 
78 "loc_FFACC01C:\n"
79 " LDR R0, [R4, #4] \n"
80 " CMN R0, #1 \n"
81 " BEQ loc_FFACC040 \n"
82 " BL fwt_close \n" // --> Patched. Old value = _Close.
83 " MVN R0, #0 \n"
84 " STR R0, [R4, #4] \n"
85 " LDR R0, =0x110BB0 \n"
86 " BL sub_FF877438 \n"
87 " BL sub_FF875694 \n"
88 
89 "loc_FFACC040:\n"
90 " LDR R0, [R4, #0xC] \n"
91 " BL _GiveSemaphore \n"
92 " B loc_FFACBF8C \n"
93 
94 "loc_FFACC04C:\n"
95 " BL sub_FFACC25C_my \n" // --> Patched. Old value = 0xFFACC25C.
96 " B loc_FFACBF8C \n"
97 
98 "loc_FFACC054:\n"
99 " BL sub_FFACC39C_my \n" // --> Patched. Old value = 0xFFACC39C.
100 " B loc_FFACBF8C \n"
101 
102 "loc_FFACC05C:\n"
103 " BL sub_FFACBE10_my \n" // --> Patched. Old value = 0xFFACBE10.
104 " B loc_FFACBF8C \n"
105 );
106 }