CHDK_DE Vorschauversion  Trunk Rev. 5659
 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))
 

Variablen

static long * nrflag = (long*)0x5A80
 

Dokumentation der Funktionen

void __attribute__ ( (naked, noinline)  )

Definiert in Zeile 10 der Datei capt_seq.c.

10  {
11  asm volatile (
12 
13  "STMFD SP!, {R0-R8,LR}\n"
14  "MOV R4, R0\n"
15  "BL sub_FFD18948 \n"
16  "MOV R1, #0xFFFFFFFF\n"
17  "BL sub_FFC28C18\n"
18  "LDR R5, =0x5A80\n"
19  "LDR R0, [R5,#0xC]\n"
20  "CMP R0, #0\n"
21  "BNE loc_FFD17EA0\n"
22  "MOV R1, #1\n"
23  "MOV R0, #0\n"
24  "BL sub_FFC0F41C \n"
25  "STR R0, [R5,#0xC]\n"
26  "MOV R3, #0\n"
27  "STR R3, [SP]\n"
28  "LDR R3, =0xFFD1788C \n"
29  "LDR R0, =0xFFD180B4\n"
30  "MOV R2, #0x400\n"
31  "MOV R1, #0x17\n"
32  "BL sub_FFC0F3E8 \n"
33 "loc_FFD17EA0:\n"
34  "MOV R2, #4\n"
35  "ADD R1, SP, #8\n"
36  "MOV R0, #0x8A\n"
37  "BL sub_FFC6C614 \n"
38  "TST R0, #1\n"
39  "LDRNE R1, =0x3BA\n"
40  "LDRNE R0, =0xFFD17B10\n"
41  "BLNE sub_FFC0F5E8\n"
42  "LDR R6, =0x34720\n"
43  "LDR R7, =0x3465C\n"
44  "LDR R3, [R6]\n"
45  "LDRSH R2, [R6,#0xC]\n"
46  "LDRSH R1, [R6,#0xE]\n"
47  "LDR R0, [R7,#0x88]\n"
48  "BL sub_FFCE9E0C\n"
49  "BL sub_FFC4660C \n"
50  "LDR R3, =0x5A88\n"
51  "STRH R0, [R4,#0xA4]\n"
52  "SUB R2, R3, #4\n"
53  "STRD R2, [SP]\n"
54  "MOV R1, R0\n"
55  "LDRH R0, [R7,#0x5C]\n"
56  "LDRSH R2, [R6,#0xC]\n"
57  "SUB R3, R3, #8\n"
58  "BL sub_FFD18FAC\n"
59  "BL wait_until_remote_button_is_released\n" // untested!
60  "BL capt_seq_hook_set_nr\n"
61  "B sub_FFD17F04\n" // -> continue in firmware
62  );
63 }

Variablen-Dokumentation

long* nrflag = (long*)0x5A80
static

Definiert in Zeile 5 der Datei capt_seq.c.