Changeset 488
- Timestamp:
- 08/19/08 07:37:58 (2 years ago)
- Files:
-
- branches/juciphox/Makefile (modified) (3 diffs)
- branches/juciphox/core/gui_fselect.c (modified) (2 diffs)
- branches/juciphox/core/gui_mpopup.c (modified) (2 diffs)
- branches/juciphox/core/gui_mpopup.h (modified) (2 diffs)
- branches/juciphox/core/gui_osd.c (modified) (5 diffs)
- branches/juciphox/doc/version.txt (modified) (1 diff)
- branches/juciphox/loader/sx100is (modified) (1 prop)
- branches/juciphox/loader/sx100is/resetcode (modified) (1 prop)
- branches/juciphox/makefile.inc (modified) (1 diff)
- branches/juciphox/platform/sx100is/sub/100b (copied) (copied from trunk/platform/sx100is/sub/100b) (1 prop)
- branches/juciphox/platform/sx100is/sub/100b/lib.c (modified) (1 diff)
- branches/juciphox/platform/sx100is/sub/100b/stubs_entry_2.S (modified) (1 diff)
- branches/juciphox/platform/sx100is/sub/100c/stubs_entry.S (modified) (1 diff)
- branches/juciphox/platform/sx100is/sub/100c/stubs_entry_2.S (modified) (1 diff)
- branches/juciphox/version.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/juciphox/Makefile
r484 r488 170 170 $(MAKE) -s --no-print-directory PLATFORM=tx1 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsub 171 171 $(MAKE) -s --no-print-directory PLATFORM=tx1 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsub 172 #$(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100b NO_INC_BUILD=1 firzipsub172 $(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100b NO_INC_BUILD=1 firzipsub 173 173 $(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub 174 174 $(MAKE) -s --no-print-directory PLATFORM=ixus750_sd550 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsub … … 228 228 $(MAKE) -s --no-print-directory PLATFORM=tx1 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsubcomplete 229 229 $(MAKE) -s --no-print-directory PLATFORM=tx1 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsubcomplete 230 #$(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100b NO_INC_BUILD=1 firzipsubcomplete230 $(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100b NO_INC_BUILD=1 firzipsubcomplete 231 231 $(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete 232 232 $(MAKE) -s --no-print-directory PLATFORM=ixus750_sd550 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsubcomplete … … 288 288 $(MAKE) -s --no-print-directory PLATFORM=tx1 PLATFORMSUB=100g NO_INC_BUILD=1 clean 289 289 $(MAKE) -s --no-print-directory PLATFORM=tx1 PLATFORMSUB=101b NO_INC_BUILD=1 clean 290 #$(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100b NO_INC_BUILD=1 clean290 $(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100b NO_INC_BUILD=1 clean 291 291 $(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100c NO_INC_BUILD=1 clean 292 292 $(MAKE) -s --no-print-directory PLATFORM=ixus750_sd550 PLATFORMSUB=100f NO_INC_BUILD=1 clean branches/juciphox/core/gui_fselect.c
r479 r488 912 912 process_raw_files(); 913 913 break; 914 case MPOPUP_RAW_DEVELOP: 915 sprintf(buf, "%s/%s", current_dir, selected->name); 916 gui_mbox_init((int)"", LANG_RAW_DEVELOP_MESSAGE, MBOX_BTN_OK|MBOX_TEXT_CENTER, NULL); 917 raw_prepare_develop(buf); 918 break; 914 919 case MPOPUP_SUBTRACT: 915 920 { … … 974 979 (selected->name[3] == 'C'))//If item is a DCIM sub folder 975 980 i |= MPOPUP_PURGE;//Display PURGE RAW function in popup menu 981 if(selected->size == hook_raw_size()) 982 i |= MPOPUP_RAW_DEVELOP; 976 983 gui_mpopup_init(i, fselect_mpopup_cb); 977 984 } branches/juciphox/core/gui_mpopup.c
r479 r488 25 25 { MPOPUP_RAW_ADD, LANG_POPUP_RAW_SUM}, 26 26 { MPOPUP_RAW_AVERAGE, LANG_POPUP_RAW_AVERAGE }, 27 { MPOPUP_RAW_DEVELOP, (int)"Raw Develop" }, 27 28 { MPOPUP_PURGE, LANG_POPUP_PURGE }, 28 29 { MPOPUP_SUBTRACT, LANG_POPUP_SUB_FROM_MARKED }, … … 30 31 31 32 #define ACTIONSNUM (sizeof(actions)/sizeof(actions[0])) 32 #define MAX_ACTIONS 933 #define MAX_ACTIONS 10 33 34 static int mpopup_actions[MAX_ACTIONS], mpopup_actions_num, mpopup_actions_active; 34 35 static coord mpopup_actions_x, mpopup_actions_y; branches/juciphox/core/gui_mpopup.h
r479 r488 3 3 4 4 //------------------------------------------------------------------- 5 #define MPOPUP_MASK 0x0 1FF5 #define MPOPUP_MASK 0x03FF 6 6 #define MPOPUP_CUT 0x0001 7 7 #define MPOPUP_COPY 0x0002 … … 11 11 #define MPOPUP_RAW_ADD 0x0020 12 12 #define MPOPUP_RAW_AVERAGE 0x0040 13 #define MPOPUP_CANCEL 0x0 20013 #define MPOPUP_CANCEL 0x0400 14 14 #define MPOPUP_PURGE 0x0080 15 15 #define MPOPUP_SUBTRACT 0x0100 16 #define MPOPUP_RAW_DEVELOP 0x0200 16 17 17 18 //------------------------------------------------------------------- branches/juciphox/core/gui_osd.c
r486 r488 38 38 {LANG_OSD_LAYOUT_EDITOR_CLOCK, &conf.clock_pos, {5*FONT_WIDTH, FONT_HEIGHT} }, 39 39 {LANG_OSD_LAYOUT_EDITOR_TEMP, &conf.temp_pos, {9*FONT_WIDTH, FONT_HEIGHT} }, 40 {LANG_OSD_LAYOUT_EDITOR_VIDEO, &conf.mode_video_pos, {9*FONT_WIDTH, 2*FONT_HEIGHT} },40 {LANG_OSD_LAYOUT_EDITOR_VIDEO, &conf.mode_video_pos, {9*FONT_WIDTH, 4*FONT_HEIGHT} }, 41 41 {LANG_OSD_LAYOUT_EDITOR_EV, &conf.mode_ev_pos, {12*FONT_WIDTH, FONT_HEIGHT} }, 42 42 {0} … … 45 45 static int curr_item; 46 46 static char osd_buf[64]; 47 static char osd_buf2[64]; 47 static char osd_buf2[10]; 48 static char osd_buf3[10]; 49 static char osd_buf4[10]; 50 48 51 static int step; 49 52 static unsigned char *img_buf, *scr_buf, *cur_buf; … … 737 740 void gui_osd_draw_state() { 738 741 int a, gui_mode=gui_get_mode(), m=(mode_get()&MODE_SHOOTING_MASK); 739 int mode_video = MODE_IS_VIDEO(m);740 742 long t; 741 743 … … 745 747 //draw_string(conf.mode_state_pos.x, conf.mode_state_pos.y+6*FONT_HEIGHT, osd_buf, conf.osd_color); 746 748 //////////////////////////// 747 if (mode_video || movie_status > 1) { 748 // if manual adjust, show the field item to be adjusted 749 // if any value overriden, show the override value 750 if ((conf.video_mode == 0 && conf.fast_movie_quality_control==1) || conf.video_bitrate != VIDEO_DEFAULT_BITRATE) { 751 gui_print_osd_state_string_chr("Bitrate: ",video_bitrate_strings[conf.video_bitrate]); 752 } 753 if ((conf.video_mode == 1 && conf.fast_movie_quality_control==1) || conf.video_quality != VIDEO_DEFAULT_QUALITY) { 754 gui_print_osd_state_string_int("Quality: ",conf.video_quality); 755 } 756 // everything else is for stills 757 if(mode_video) 758 return; 759 } 749 760 750 761 751 if ((((conf.tv_enum_type) || (conf.tv_override_value)) && (conf.tv_override_koef) && !(conf.override_disable==1)) || gui_mode==GUI_MODE_OSD){ … … 967 957 static unsigned int skipcalls = 1; 968 958 unsigned int hour=0, min=0, sec=0; 969 959 int mode_video = MODE_IS_VIDEO(m); 960 961 962 if (mode_video || movie_status > 1) { 963 // if manual adjust, show the field item to be adjusted 964 // if any value overriden, show the override value 965 if ((conf.video_mode == 0 && conf.fast_movie_quality_control==1) || conf.video_bitrate != VIDEO_DEFAULT_BITRATE) { 966 // gui_print_osd_state_string_chr("Bitrate: ",video_bitrate_strings[conf.video_bitrate]); 967 sprintf(osd_buf3, "Bit:%5s",video_bitrate_strings[conf.video_bitrate]); 968 draw_string( conf.mode_video_pos.x, conf.mode_video_pos.y+2*FONT_HEIGHT, osd_buf3, conf.osd_color); 969 } 970 if ((conf.video_mode == 1 && conf.fast_movie_quality_control==1) || conf.video_quality != VIDEO_DEFAULT_QUALITY) { 971 // gui_print_osd_state_string_int("Quality: ",conf.video_quality); 972 sprintf(osd_buf4, "Qual:%2i",conf.video_quality); 973 draw_string( conf.mode_video_pos.x, conf.mode_video_pos.y+3*FONT_HEIGHT, osd_buf4, conf.osd_color); 974 } 975 // everything else is for stills 976 if(mode_video) 977 return; 978 } 979 970 980 if (movie_reset == 1) 971 981 { branches/juciphox/doc/version.txt
r487 r488 6 6 log 7 7 8 0.3.8 / PP 9 10 + added sx100 100b - http://chdk.setepontos.com/index.php/topic,237.msg19899.html#msg19899 11 * changed osd item "remaining video time" - now the quality/bitrate you set via the fast video function is shown directly beneath the remaining time/bitrate 12 * applied reyalps Patch, now you can develop raws directly from within the filebrowser (not only from the RAW menu anymore) 8 13 9 14 487 / 0.3.7 branches/juciphox/loader/sx100is
- Property svn:ignore set to
main.bin
main.dump
main.elf
main.elf.syms
- Property svn:ignore set to
branches/juciphox/loader/sx100is/resetcode
- Property svn:ignore set to
main.elf
main.elf.syms
main.bin
main.dump
- Property svn:ignore set to
branches/juciphox/makefile.inc
r479 r488 12 12 #PLATFORM=sx100is 13 13 #PLATFORMSUB=100c 14 15 #PLATFORM=sx100is 16 #PLATFORMSUB=100b 14 17 15 18 #PLATFORM=ixus50_sd400 branches/juciphox/platform/sx100is/sub/100b
- Property svn:mergeinfo set
branches/juciphox/platform/sx100is/sub/100b/lib.c
r485 r488 92 92 _GiveSemaphore(*(int*)(0x2590+0x10)); 93 93 } 94 void _EnterToCompensationEVF() {} // Dummy function. To be removed after stub is found. See stubs_entry_2.S. 95 void _ExitFromCompensationEVF() {} // Dummy function. To be removed after stub is found. See stubs_entry_2.S. branches/juciphox/platform/sx100is/sub/100b/stubs_entry_2.S
r485 r488 174 174 NSTUB(taskResume, 0xFFC00958) 175 175 NSTUB(taskSuspend, 0xFFC00958) 176 NHSTUB(GetBatteryTemperature, 0xFFC3A31C) 177 NHSTUB(GetCCDTemperature, 0xFFC3A2AC) 178 NHSTUB(GetOpticalTemperature, 0xFFC3A38C) 179 NHSTUB(PT_PlaySound, 0xFFC52FA0) 180 //NHSTUB(EnterToCompensationEVF, 0xFFFFFFFF) // Stub not found. When found, remove dummy function from lib.c. 181 //NHSTUB(ExitFromCompensationEVF, 0xFFFFFFFF) // Stub not found. When found, remove dummy function from lib.c. branches/juciphox/platform/sx100is/sub/100c/stubs_entry.S
r461 r488 103 103 NSTUB(vsprintf, 0xffc0e7b4) 104 104 NSTUB(write, 0xffc0a4a0) 105 NHSTUB(GetBatteryTemperature, 0xFFC3A350) 106 NHSTUB(GetCCDTemperature, 0xFFC3A474) 107 NHSTUB(GetOpticalTemperature, 0xFFDC4FC4) 108 NHSTUB(PT_PlaySound, 0xFFC52FD4) 105 branches/juciphox/platform/sx100is/sub/100c/stubs_entry_2.S
r473 r488 177 177 //NHSTUB(EnterToCompensationEVF, 0xFFFFFFFF) // Stub not found. When found, remove dummy function from lib.c. 178 178 //NHSTUB(ExitFromCompensationEVF, 0xFFFFFFFF) // Stub not found. When found, remove dummy function from lib.c. 179 NHSTUB(GetBatteryTemperature, 0xFFC3A350) 180 NHSTUB(GetCCDTemperature, 0xFFC3A474) 181 NHSTUB(GetOpticalTemperature, 0xFFDC4FC4) 182 NHSTUB(PT_PlaySound, 0xFFC52FD4) branches/juciphox/version.inc
r487 r488 1 BUILD_NUMBER := 0.3. 71 BUILD_NUMBER := 0.3.8