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

gehe zum Quellcode dieser Datei

Funktionen

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

Variablen

static long * nrflag = (long*)0xCDA0
 

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 9 der Datei capt_seq.c.

10 {
11  asm volatile (
12  "STMFD SP!, {R4,LR}\n"
13  "MOV R4, R0\n"
14  "SUB SP, SP, #0xC\n"
15  "BL sub_FFB02920\n"
16 // "MOVL R1, 0xFFFFFFFF\n"
17  "MVN R1, #0\n"
18  "BL sub_FFB13090\n" //ClearEventFlag
19  "MOV R0, #0x8A\n"
20  "ADD R1, SP, #4\n"
21  "MOV R2, #4\n"
22  "BL sub_FF81BC98\n"
23  "TST R0, #1\n"
24  "BEQ loc_FFB01EF0\n"
25  "MOV R1, #0x1D0\n"
26  "LDR R0, =0xFFB01D34\n" //aSscaptureseq_c
27  "ADD R1, R1, #2\n"
28  "BL sub_FFB2071C\n" //DebugAssert
29 "loc_FFB01EF0:\n"
30  "LDR R3, =0xBDA80\n"
31  "LDR R2, =0xBDB40\n"
32  "LDR R0, [R3,#0x7C]\n"
33  "LDRSH R1, [R2,#0xE]\n"
34  "BL sub_FFA395F0\n"
35  "MOV R0, R4\n"
36  "BL sub_FFB01CB8\n"
37  "BL wait_until_remote_button_is_released\n"
38  "BL capt_seq_hook_set_nr\n" // +
39  "LDR R3, =0xCDA4\n"
40  "LDR R0, [R3]\n"
41 
42  "B sub_FFB01F14\n" // ---> jump to end of function in ROM
43  );
44 }

Variablen-Dokumentation

long* nrflag = (long*)0xCDA0
static

Definiert in Zeile 5 der Datei capt_seq.c.