CHDK_DE Vorschauversion  Trunk Rev. 5234
 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, =0xF12C \n"
35 
36 "loc_FF337530:\n"
37 " MOV R2, #0 \n"
38 " LDR R0, [R5, #0x10] \n"
39 " ADD R1, SP, #8 \n"
40 " BL sub_FF02B0F4 /*_ReceiveMessageQueue*/ \n"
41 " CMP R0, #0 \n"
42 " LDRNE R1, =0x33E \n"
43 " LDRNE R0, =0xFF33761C /*'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_FF337530 \n"
50 " B loc_FF337600 \n"
51 " B loc_FF337600 \n"
52 " B loc_FF337600 \n"
53 " B loc_FF337600 \n"
54 " B loc_FF337600 \n"
55 " B loc_FF337600 \n"
56 " B loc_FF337600 \n"
57 " B loc_FF337608 \n"
58 " B loc_FF33758C \n"
59 " B loc_FF3375F8 \n"
60 
61 "loc_FF33758C:\n"
62 " MOV R0, #0 \n"
63 " MOV R4, R5 \n"
64 " STR R0, [SP] \n"
65 
66 "loc_FF337598:\n"
67 " LDR R0, [R4, #0x10] \n"
68 " MOV R1, SP \n"
69 " BL sub_FF02B338 /*_GetNumberOfPostedMessages*/ \n"
70 " LDR R0, [SP] \n"
71 " CMP R0, #0 \n"
72 " BEQ loc_FF3375C4 \n"
73 " LDR R0, [R4, #0x10] \n"
74 " MOV R2, #0 \n"
75 " ADD R1, SP, #4 \n"
76 " BL sub_FF02B0F4 /*_ReceiveMessageQueue*/ \n"
77 " B loc_FF337598 \n"
78 
79 "loc_FF3375C4:\n"
80 " LDR R0, [R4, #4] \n"
81 " CMN R0, #1 \n"
82 " BEQ loc_FF3375EC \n"
83 " BL fwt_close \n" // --> Patched. Old value = _Close.
84 " MVN R0, #0 \n"
85 " STR R0, [R4, #4] \n"
86 " LDR R0, =0x173944 \n"
87 " BL sub_FF06A7D8 \n"
88 " MOV R1, #0 \n"
89 " BL sub_FF068A54 \n"
90 
91 "loc_FF3375EC:\n"
92 " LDR R0, [R4, #0xC] \n"
93 " BL _GiveSemaphore \n"
94 " B loc_FF337530 \n"
95 
96 "loc_FF3375F8:\n"
97 " BL sub_FF33780C_my \n" // --> Patched. Old value = 0xFF33780C.
98 " B loc_FF337530 \n"
99 
100 "loc_FF337600:\n"
101 " BL sub_FF337968_my \n" // --> Patched. Old value = 0xFF337968.
102 " B loc_FF337530 \n"
103 
104 "loc_FF337608:\n"
105 " BL sub_FF3373BC_my \n" // --> Patched. Old value = 0xFF3373BC.
106 " B loc_FF337530 \n"
107 );
108 }