Changeset 691
- Timestamp:
- 01/24/09 19:10:09 (4 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 23 edited
-
include/camera.h (modified) (3 diffs)
-
platform/generic/wrappers.c (modified) (2 diffs)
-
platform/ixus60_sd600/sub/100a/Makefile (modified) (1 diff)
-
platform/ixus60_sd600/sub/100a/lib.c (modified) (1 diff)
-
platform/ixus60_sd600/sub/100a/movie_rec.c (added)
-
platform/ixus60_sd600/sub/100a/stubs_auto.S (modified) (2 diffs)
-
platform/ixus60_sd600/sub/100a/stubs_min.S (modified) (1 diff)
-
platform/ixus60_sd600/sub/100d/Makefile (modified) (1 diff)
-
platform/ixus60_sd600/sub/100d/lib.c (modified) (1 diff)
-
platform/ixus60_sd600/sub/100d/movie_rec.c (added)
-
platform/ixus60_sd600/sub/100d/stubs_auto.S (modified) (2 diffs)
-
platform/ixus60_sd600/sub/100d/stubs_min.S (modified) (1 diff)
-
platform/s5is/main.c (modified) (1 diff)
-
platform/s5is/sub/101a/Makefile (modified) (1 diff)
-
platform/s5is/sub/101a/boot.c (modified) (2 diffs)
-
platform/s5is/sub/101a/lib.c (modified) (1 diff)
-
platform/s5is/sub/101a/movie_rec.c (added)
-
platform/s5is/sub/101a/stubs_auto.S (modified) (7 diffs)
-
platform/s5is/sub/101a/stubs_min.S (modified) (1 diff)
-
platform/s5is/sub/101b/Makefile (modified) (1 diff)
-
platform/s5is/sub/101b/boot.c (modified) (2 diffs)
-
platform/s5is/sub/101b/movie_rec.c (added)
-
platform/s5is/sub/101b/stubs_auto.S (modified) (7 diffs)
-
platform/sx100is/sub/100b/boot.c (modified) (1 diff)
-
platform/sx100is/sub/100b/stubs_entry_2.S (modified) (1 diff)
-
platform/sx100is/sub/100c/boot.c (modified) (1 diff)
-
platform/sx100is/sub/100c/stubs_entry_2.S (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/camera.h
r685 r691 848 848 #define CAM_DRAW_EXPOSITION 1 849 849 #define CAM_SHOW_OSD_IN_SHOOT_MENU 1 850 #undef CAM_CAN_UNLOCK_OPTICAL_ZOOM_IN_VIDEO851 850 #define CAM_FEATURE_FEATHER 1 852 851 853 852 // #define CAM_CONSOLE_LOG_ENABLED 1 //100a won't compile if this is defined ("undefined reference to `_iosDevFind'") 854 853 #undef CAM_HAS_IS 855 #undef CAM_CHDK_HAS_EXT_VIDEO_MENU856 854 #define DNG_SUPPORT 1 857 855 // pattern … … 1417 1415 #undef CAM_CAN_SD_OVER_NOT_IN_MF 1418 1416 #undef CAM_CAN_UNLOCK_OPTICAL_ZOOM_IN_VIDEO 1419 #undef CAM_CHDK_HAS_EXT_VIDEO_MENU1420 1417 #define CAM_HAS_VIDEO_BUTTON 1 1421 1418 #define DNG_SUPPORT 1 … … 1517 1514 1518 1515 #define DNG_EXT_FROM ".CR2" 1516 #define CAM_MULTIPART 1 1519 1517 1520 1518 -
trunk/platform/generic/wrappers.c
r685 r691 656 656 657 657 #define SECTOR_SIZE 512 658 char *mbr_buf;658 static char *mbr_buf=(void*)0; 659 659 static unsigned long drive_sectors; 660 660 661 661 int mbr_read(char* mbr_sector, unsigned long drive_total_sectors, unsigned long *part_start_sector, unsigned long *part_length){ 662 662 // return value: 1 - success, 0 - fail 663 // called only in VxWorks 663 664 664 665 int offset=0x10; // points to partition #2 … … 691 692 692 693 693 694 695 696 694 int mbr_read_dryos(unsigned long drive_total_sectors, char* mbr_sector ){ 695 // Called only in DRYOS 696 mbr_buf=_AllocateUncacheableMemory(SECTOR_SIZE); 697 _memcpy(mbr_buf,mbr_sector,SECTOR_SIZE); 698 drive_sectors=drive_total_sectors; 699 return drive_total_sectors; 700 } 697 701 698 702 int get_part_count(void){ -
trunk/platform/ixus60_sd600/sub/100a/Makefile
r515 r691 1 1 topdir=../../../../ 2 2 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 5 5 6 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus60_sd600/sub/100a/lib.c
r515 r691 86 86 } 87 87 88 int movie_status = 0;89 90 88 long vid_get_bitmap_buffer_width() { return 360; } 91 89 -
trunk/platform/ixus60_sd600/sub/100a/stubs_auto.S
r515 r691 20 20 STUB(FF81FE80) 21 21 STUB(FF8203FC) 22 STUB(FF820814) 23 STUB(FF820FA8) 24 STUB(FF821190) 22 25 STUB(FF821958) 23 26 STUB(FF824A78) 27 STUB(FF89665C) 28 STUB(FF8967C8) 24 29 STUB(FF89E17C) 25 30 STUB(FF89E63C) 31 STUB(FF954B14) 32 STUB(FF954CC8) 33 STUB(FF95509C) 34 STUB(FF9552AC) 35 STUB(FF955334) 36 STUB(FF955384) 37 STUB(FF9554AC) 38 STUB(FF9554D0) 39 STUB(FF955558) 40 STUB(FF955640) 41 STUB(FF955804) 42 STUB(FF955B60) 43 STUB(FF956770) 44 STUB(FF956CA4) 45 STUB(FF956F80) 26 46 STUB(FF95CE98) 27 47 STUB(FF95D378) … … 58 78 STUB(FF967440) 59 79 STUB(FF967454) 80 STUB(FF969EB0) 81 STUB(FF96E3EC) 60 82 STUB(FF9A0088) 61 83 STUB(FFAF84FC) 84 STUB(FFAFF5B0) 85 STUB(FFAFFC40) 62 86 STUB(FFB05214) 63 87 STUB(FFB05714) -
trunk/platform/ixus60_sd600/sub/100a/stubs_min.S
r635 r691 33 33 //DEF(canon_shoot_menu_active, 0x6CBC) 34 34 35 DEF(movie_status, 0x6EB44) 35 36 36 37 canon_menu_active_prev: -
trunk/platform/ixus60_sd600/sub/100d/Makefile
r515 r691 1 1 topdir=../../../../ 2 2 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 5 5 6 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus60_sd600/sub/100d/lib.c
r515 r691 86 86 } 87 87 88 int movie_status = 0;89 90 88 long vid_get_bitmap_buffer_width() { return 360; } 91 89 -
trunk/platform/ixus60_sd600/sub/100d/stubs_auto.S
r515 r691 20 20 STUB(FF81FE80) 21 21 STUB(FF8203FC) 22 STUB(FF820814) 23 STUB(FF820FA8) 24 STUB(FF821190) 22 25 STUB(FF821958) 23 26 STUB(FF824A78) 27 STUB(FF89665C) 28 STUB(FF8967C8) 24 29 STUB(FF89E17C) 25 30 STUB(FF89E63C) 31 STUB(FF95560C) 32 STUB(FF9557C0) 33 STUB(FF955B94) 34 STUB(FF955DA4) 35 STUB(FF955E2C) 36 STUB(FF955E7C) 37 STUB(FF955FA4) 38 STUB(FF955FC8) 39 STUB(FF956050) 40 STUB(FF956138) 41 STUB(FF9562FC) 42 STUB(FF956658) 43 STUB(FF957268) 44 STUB(FF95779C) 45 STUB(FF957A78) 26 46 STUB(FF95D990) 27 47 STUB(FF95DE70) … … 58 78 STUB(FF967F38) 59 79 STUB(FF967F4C) 80 STUB(FF96A9A8) 81 STUB(FF96EEE4) 60 82 STUB(FF9A0B80) 61 83 STUB(FFAF90DC) 84 STUB(FFB00190) 85 STUB(FFB00820) 62 86 STUB(FFB05DF4) 63 87 STUB(FFB062F4) -
trunk/platform/ixus60_sd600/sub/100d/stubs_min.S
r635 r691 33 33 //DEF(canon_shoot_menu_active, 0x6CBC) 34 34 35 DEF(movie_status, 0x6EBBC) 35 36 36 37 canon_menu_active_prev: -
trunk/platform/s5is/main.c
r515 r691 127 127 } 128 128 129 void change_video_tables(int a, int b){130 // Shuts up the compiler until video overrides are fixed for DryOS131 132 } -
trunk/platform/s5is/sub/101a/Makefile
r515 r691 1 1 topdir=../../../../ 2 2 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 5 5 6 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/s5is/sub/101a/boot.c
r521 r691 17 17 void __attribute__((naked,noinline)) task_blinker(); 18 18 void dump_chdk(); 19 20 void taskCreateHook(int *p) { 21 p-=16; 22 if (p[0]==0xFF862F10) p[0]=(int)movie_record_task; 23 } 19 24 20 25 //////////////////////////////////////////////////////////////////////////////// … … 139 144 140 145 void __attribute__((naked,noinline)) sub_FF8101B8_my() { 146 *(int*)0x1930=(int)taskCreateHook; 141 147 asm volatile ( 142 148 "loc_FF8101B8:\n" -
trunk/platform/s5is/sub/101a/lib.c
r515 r691 65 65 return (char*)0x58304; 66 66 } 67 int movie_status = 0;68 69 70 67 71 68 -
trunk/platform/s5is/sub/101a/stubs_auto.S
r515 r691 53 53 STUB(FF82A370) 54 54 STUB(FF82A5C0) 55 STUB(FF82A6E8) 55 56 STUB(FF82AA98) 56 57 STUB(FF82AC8C) … … 78 79 STUB(FF82E86C) 79 80 STUB(FF82EBCC) 81 STUB(FF8408F4) 80 82 STUB(FF842464) 81 83 STUB(FF8505BC) … … 93 95 STUB(FF861FF0) 94 96 STUB(FF862008) 97 STUB(FF862070) 98 STUB(FF86222C) 99 STUB(FF862560) 100 STUB(FF8626D0) 101 STUB(FF862814) 102 STUB(FF8629CC) 103 STUB(FF862CB8) 104 STUB(FF863168) 105 STUB(FF863278) 106 STUB(FF863354) 95 107 STUB(FF864270) 96 108 STUB(FF864C5C) … … 126 138 STUB(FF8761C8) 127 139 STUB(FF877B44) 140 STUB(FF8781F0) 128 141 STUB(FF878A9C) 129 142 STUB(FF878E50) … … 201 214 STUB(FF8BA544) 202 215 STUB(FF8BA5C4) 216 STUB(FF918428) 217 STUB(FF9184EC) 203 218 STUB(FF91C114) 204 219 STUB(FF9275B4) … … 206 221 STUB(FF933D88) 207 222 STUB(FF9445D4) 223 STUB(FF95BB1C) 224 STUB(FF95DA18) 225 STUB(FF95DD5C) 226 STUB(FF95DFB4) 227 STUB(FF95DFE4) 208 228 STUB(FF95EF2C) 209 229 STUB(FF95F15C) … … 249 269 STUB(FFA40388) 250 270 STUB(FFA92D04) 271 STUB(FFA945B4) -
trunk/platform/s5is/sub/101a/stubs_min.S
r643 r691 26 26 DEF(some_f_for_dng, 0x9B94) 27 27 DEF(second_ext_for_dng, 0x9BB8) 28 DEF(movie_status,0x5868 + 0x38) -
trunk/platform/s5is/sub/101b/Makefile
r515 r691 1 1 topdir=../../../../ 2 2 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 5 5 6 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/s5is/sub/101b/boot.c
r521 r691 17 17 void __attribute__((naked,noinline)) task_blinker(); 18 18 void dump_chdk(); 19 20 void taskCreateHook(int *p) { 21 p-=16; 22 if (p[0]==0xFF862E48) p[0]=(int)movie_record_task; 23 } 19 24 20 25 //////////////////////////////////////////////////////////////////////////////// … … 141 146 142 147 void __attribute__((naked,noinline)) sub_FF8101B8_my() { 148 *(int*)0x1930=(int)taskCreateHook; 143 149 asm volatile ( 144 150 "loc_FF8101B8:\n" -
trunk/platform/s5is/sub/101b/stubs_auto.S
r515 r691 53 53 STUB(FF82A2A8) 54 54 STUB(FF82A4F8) 55 STUB(FF82A620) 55 56 STUB(FF82A9D0) 56 57 STUB(FF82ABC4) … … 78 79 STUB(FF82E7A4) 79 80 STUB(FF82EB04) 81 STUB(FF84082C) 80 82 STUB(FF84239C) 81 83 STUB(FF8504F4) … … 93 95 STUB(FF861F28) 94 96 STUB(FF861F40) 97 STUB(FF861FA8) 98 STUB(FF862164) 99 STUB(FF862498) 100 STUB(FF862608) 101 STUB(FF86274C) 102 STUB(FF862904) 103 STUB(FF862BF0) 104 STUB(FF8630A0) 105 STUB(FF8631B0) 106 STUB(FF86328C) 95 107 STUB(FF8641A8) 96 108 STUB(FF864B94) … … 126 138 STUB(FF876100) 127 139 STUB(FF877A7C) 140 STUB(FF878128) 128 141 STUB(FF8789D4) 129 142 STUB(FF878D88) … … 201 214 STUB(FF8BA47C) 202 215 STUB(FF8BA4FC) 216 STUB(FF918360) 217 STUB(FF918424) 203 218 STUB(FF91C04C) 204 219 STUB(FF9274EC) … … 206 221 STUB(FF933CC0) 207 222 STUB(FF94450C) 223 STUB(FF95BA54) 224 STUB(FF95D950) 225 STUB(FF95DC94) 226 STUB(FF95DEEC) 227 STUB(FF95DF1C) 208 228 STUB(FF95EE64) 209 229 STUB(FF95F094) … … 249 269 STUB(FFA402C0) 250 270 STUB(FFA92C10) 271 STUB(FFA944C0) -
trunk/platform/sx100is/sub/100b/boot.c
r596 r691 1371 1371 "BL sub_FFCFF884\n" // Add FAT32 autodetect-code after this line\n" 1372 1372 1373 // Start of DataGhost's FAT32 autodetection code 1373 "MOV R1, R4\n" // pointer to MBR in R1 1374 "BL mbr_read_dryos\n" // total sectors count in R0 before and after call 1375 1376 // Start of DataGhost's FAT32 autodetection code 1374 1377 // Policy: If there is a partition which has type W95 FAT32, use the first one of those for image storage 1375 1378 // According to the code below, we can use R1, R2, R3 and R12. -
trunk/platform/sx100is/sub/100b/stubs_entry_2.S
r681 r691 182 182 NHSTUB(DoAFLock, 0xffc16f5c) 183 183 NHSTUB(UnlockAF, 0xffc16fc8) 184 NHSTUB(WriteSDCard, 0xFFCFF4E8) -
trunk/platform/sx100is/sub/100c/boot.c
r596 r691 1371 1371 "BL sub_FFCFF8B8\n" // Add FAT32 autodetect-code after this line\n" 1372 1372 1373 "MOV R1, R4\n" // pointer to MBR in R1 1374 "BL mbr_read_dryos\n" // total sectors count in R0 before and after call 1375 1373 1376 // Start of DataGhost's FAT32 autodetection code 1374 1377 // Policy: If there is a partition which has type W95 FAT32, use the first one of those for image storage -
trunk/platform/sx100is/sub/100c/stubs_entry_2.S
r681 r691 183 183 NHSTUB(DoAFLock, 0xffc16f5c) 184 184 NHSTUB(UnlockAF, 0xffc16fc8) 185 NHSTUB(WriteSDCard, 0xFFCFF51C)
Note: See TracChangeset
for help on using the changeset viewer.