CHDK_DE Vorschauversion  Trunk Rev. 5428
 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   3
 

Funktionen

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

Makro-Dokumentation

#define MAX_CHUNKS_FOR_JPEG   3

Definiert in Zeile 9 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

Definiert in Zeile 28 der Datei filewrite.c.

28  { //sub_FFA1E5B0_my
29 asm volatile (
30  " STMFD SP!, {R1-R5,LR} \n"
31  " LDR R4, =0xBF3C \n"
32 "loc_FFA1E5B8:\n"
33  " LDR R0, [R4, #0x10] \n"
34  " MOV R2, #0 \n"
35  " ADD R1, SP, #8 \n"
36  " BL sub_FF827098 \n"
37  " CMP R0, #0 \n"
38  " BNE loc_FFA1E5E8 \n"
39  " LDR R0, [SP, #8] \n"
40  " LDR R1, [R0] \n"
41  " CMP R1, #1 \n"
42  " BNE loc_FFA1E5F0 \n"
43  " LDR R0, [R4, #8] \n"
44  " BL sub_FF827584 \n"
45 "loc_FFA1E5E8:\n"
46  " BL sub_FF81B184 \n"
47  " LDMFD SP!, {R1-R5,PC} \n"
48 "loc_FFA1E5F0:\n"
49  " SUB R1, R1, #2 \n"
50  " CMP R1, #5 \n"
51  " ADDLS PC, PC, R1, LSL #2 \n"
52  " B loc_FFA1E5B8 \n"
53  " B loc_FFA1E618 \n"
54  " B loc_FFA1E67C \n"
55  " B loc_FFA1E684 \n"
56  " B loc_FFA1E684 \n"
57  " B loc_FFA1E684 \n"
58  " B loc_FFA1E68C \n"
59 "loc_FFA1E618:\n"
60  " MOV R0, #0 \n"
61  " STR R0, [SP] \n"
62 "loc_FFA1E620:\n"
63  " LDR R0, [R4, #0x10] \n"
64  " MOV R1, SP \n"
65  " BL sub_FF8272DC \n"
66  " LDR R0, [SP] \n"
67  " CMP R0, #0 \n"
68  " BEQ loc_FFA1E64C \n"
69  " LDR R0, [R4, #0x10] \n"
70  " MOV R2, #0 \n"
71  " ADD R1, SP, #4 \n"
72  " BL sub_FF827098 \n"
73  " B loc_FFA1E620 \n"
74 "loc_FFA1E64C:\n"
75  " LDR R0, [R4] \n"
76  " CMN R0, #1 \n"
77  " BEQ loc_FFA1E670 \n"
78 // " BL sub_FF823AF4 \n" //- Close
79  " BL fwt_close\n" //+
80  " MVN R0, #0 \n"
81  " STR R0, [R4] \n"
82  " LDR R0, =0xB1CF4 \n"
83  " BL sub_FF8555B0 \n"
84  " BL sub_FF853C58 \n"
85 "loc_FFA1E670:\n"
86  " LDR R0, [R4, #0xC] \n"
87  " BL sub_FF827584 \n"
88  " B loc_FFA1E5B8 \n"
89 "loc_FFA1E67C:\n"
90  " BL sub_FFA1E850_my \n" //-> open
91  " B loc_FFA1E5B8 \n"
92 "loc_FFA1E684:\n"
93  " BL sub_FFA1E98C_my \n" //-> write
94  " B loc_FFA1E5B8 \n"
95 "loc_FFA1E68C:\n"
96  " BL sub_FFA1EA88_my \n" //-> close
97  " B loc_FFA1E5B8 \n"
98  ".ltorg\n" //+
99  );
100 }