Assembla home | Assembla project page
 

Changeset 775

Show
Ignore:
Timestamp:
06/11/09 06:31:37 (9 months ago)
Author:
reyalp
Message:

A470 multipartion updates from Thorwak in http://chdk.setepontos.com/index.php/topic,3368.msg35079.html#msg35079

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/camera.h

    r771 r775  
    227227        #define CAM_EV_IN_VIDEO             1 
    228228        #define DNG_SUPPORT                 1 
    229         //#define CAM_MULTIPART               1 
     229        #define CAM_MULTIPART               1 
    230230         
    231231    // pattern 
  • trunk/platform/a470/sub/101b/boot.c

    r739 r775  
    13551355                "BL      sub_FFCF8D9C\n" // Add FAT32 autodetect-code after this line\n" 
    13561356 
     1357                "MOV   R1, R4\n"           //  pointer to MBR in R1 
     1358                "BL    mbr_read_dryos\n"   //  total sectors count in R0 before and after call 
     1359 
    13571360                // Start of DataGhost's FAT32 autodetection code 
    13581361                // Policy: If there is a partition which has type W95 FAT32, use the first one of those for image storage 
     
    13911394                "LDRB    R3, [R4,#0x1C7]\n" 
    13921395                "LDRB    R2, [R4,#0x1BE]\n" 
    1393                 "LDRB    LR, [R4,#0x1FF]\n"  // replaced, see below 
     1396                //"LDRB    LR, [R4,#0x1FF]\n"  // replaced, see below 
    13941397                "ORR     R1, R1, R3,LSL#8\n" 
    13951398                "LDRB    R3, [R4,#0x1C6]\n" 
     
    14041407                "LDRB    R12, [R4,#0x1CA]\n" 
    14051408                "ORR     R3, R3, R12\n" 
    1406                 "LDRB    R12, [R4,#0x1FE]\n"  // replaced, see below 
    1407                 //"LDRB    R12, [LR,#0x1FE]\n"            // New! First MBR signature byte (0x55) 
    1408                 //"LDRB    LR, [LR,#0x1FF]\n"             //      Last MBR signature byte (0xAA) 
     1409                //"LDRB    R12, [R4,#0x1FE]\n"  // replaced, see below 
     1410                "LDRB    R12, [LR,#0x1FE]\n"            // New! First MBR signature byte (0x55) 
     1411                "LDRB    LR, [LR,#0x1FF]\n"             //      Last MBR signature byte (0xAA) 
    14091412                "MOV     R4, #0\n" 
    14101413                "BNE     loc_FFC3C230\n" 
  • trunk/platform/a470/sub/101b/stubs_entry_2.S

    r770 r775  
    2121NHSTUB(PutInNdFilter,                                   0xFFE267B0) 
    2222NHSTUB(PutOutNdFilter,                                  0xFFE267E8) 
     23NHSTUB(WriteSDCard,                                     0xFFCF8A00) 
    2324 
    2425//NSTUB(AllocateMemory,                                 0xFFDF1D70) 
  • trunk/platform/a470/sub/102c/boot.c

    r739 r775  
    13681368                "MOV     R0, R8\n" 
    13691369                "BL      sub_FFCF97DC\n"  // Add FAT32 autodetect-code after this line\n" 
     1370 
     1371                "MOV   R1, R4\n"           //  pointer to MBR in R1 
     1372                "BL    mbr_read_dryos\n"   //  total sectors count in R0 before and after call 
    13701373                                 
    13711374                                // Start of DataGhost's FAT32 autodetection code 
  • trunk/platform/a470/sub/102c/stubs_entry_2.S

    r770 r775  
    2121NHSTUB(PutInNdFilter,                                   0xFFE271F0) 
    2222NHSTUB(PutOutNdFilter,                                  0xFFE27228) 
     23NHSTUB(WriteSDCard,                                     0xFFCF9440) 
    2324 
    2425//NSTUB(AllocateMemory,                                 0xFFDF1D70)