CHDK_DE Vorschauversion  Trunk Rev. 5279
 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
 
#define CAM_HAS_COMPLETEFILEWRITE_REPLACEMENT   1
 

Funktionen

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

Makro-Dokumentation

#define CAM_HAS_COMPLETEFILEWRITE_REPLACEMENT   1

Definiert in Zeile 26 der Datei filewrite.c.

#define MAX_CHUNKS_FOR_JPEG   3

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 32 der Datei filewrite.c.

32  {
33 asm volatile (
34 " STMFD SP!, {R4,LR} \n"
35 " SUB SP, SP, #4 \n"
36 " MOV R4, SP \n"
37 " B loc_FFAA61F0 \n"
38 
39 "loc_FFAA61B0:\n"
40 " CMP R2, #5 \n"
41 " LDRLS PC, [PC, R2, LSL#2] \n"
42 " B loc_FFAA61F0 \n"
43 " .long loc_FFAA61D4 \n"
44 " .long loc_FFAA61DC \n"
45 " .long loc_FFAA61E4 \n"
46 " .long loc_FFAA61E4 \n"
47 " .long loc_FFAA61E4 \n"
48 " .long loc_FFAA61EC \n"
49 
50 "loc_FFAA61D4:\n"
51 " BL sub_FFAA5DE0 \n"
52 " B loc_FFAA61F0 \n"
53 
54 "loc_FFAA61DC:\n"
55 " BL sub_FFAA5F08_my \n" // --> Patched. Old value = 0xFFAA5F08. Open Stage
56 " B loc_FFAA61F0 \n"
57 
58 "loc_FFAA61E4:\n"
59 " BL sub_FFAA5FE4 \n"
60 " B loc_FFAA61F0 \n"
61 
62 "loc_FFAA61EC:\n"
63 " BL sub_FFAA60DC \n"
64 " BL fwt_after_close\n" //+
65 
66 "loc_FFAA61F0:\n"
67 " LDR R3, =0x74A58 \n"
68 " MOV R1, R4 \n"
69 " LDR R0, [R3] \n"
70 " MOV R2, #0 \n"
71 " BL sub_FFB40944 /*_ReceiveMessageQueue*/ \n"
72 " CMP R0, #0 \n"
73 " BNE loc_FFAA622C \n"
74 " LDR R0, [SP] \n"
75 " LDR R3, [R0] \n"
76 " CMP R3, #1 \n"
77 " SUB R2, R3, #2 \n"
78 " BNE loc_FFAA61B0 \n"
79 " LDR R3, =0x74A50 \n"
80 " LDR R0, [R3] \n"
81 " BL _GiveSemaphore \n"
82 
83 "loc_FFAA622C:\n"
84 " BL _ExitTask \n"
85 " ADD SP, SP, #4 \n"
86 " LDMFD SP!, {R4,PC} \n"
87 );
88 }