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

Variablen-Dokumentation

long* nrflag = (long*)0x5A80
static

Definiert in Zeile 5 der Datei capt_seq.c.