source: trunk/loader/a495/entry.S @ 1198

Revision 1198, 377 bytes checked in by msl, 2 years ago (diff)

CHDK support for A495

+ Added support for A495 1.00d, 1.00e & 1.00f http://chdk.setepontos.com/index.php?topic=650.msg68027#msg68027

RevLine 
[1198]1    .section .entry
2
3// ROM:FFFF1070, Turn OFF SD Card power
4// to support autostart
5        LDR     R3, =0xC022007C
6        MOV     R2, #0x44
7        STR     R2, [R3]
8       
9// looks like idle cycle is required for proper shutdown
10        MOV     R3, #0x8000
111:
12        SUB         R3, R3, #1
13        CMP         R3, #0
14        BNE         1b
15
16// ordinary startup...
17        MOV     SP, #0x1900
18        MOV     R11, #0
19        B           my_restart
Note: See TracBrowser for help on using the repository browser.