Changeset 1340
- Timestamp:
- 09/15/11 11:20:57 (21 months ago)
- Location:
- branches/philmoz
- Files:
-
- 74 edited
-
. (modified) (1 prop)
-
Makefile (modified) (3 diffs)
-
core/gui.c (modified) (1 diff)
-
core/gui_4wins.c (modified) (1 diff)
-
core/gui_fselect.c (modified) (6 diffs)
-
include/lolevel.h (modified) (1 diff)
-
loader/ixus310_elph500hs (modified) (1 prop)
-
loader/ixus310_elph500hs/Makefile (modified) (1 prop)
-
loader/ixus310_elph500hs/blobs.S (modified) (1 prop)
-
loader/ixus310_elph500hs/entry.S (modified) (1 prop)
-
loader/ixus310_elph500hs/main.c (modified) (1 prop)
-
loader/ixus310_elph500hs/resetcode (modified) (1 prop)
-
loader/ixus310_elph500hs/resetcode/Makefile (modified) (1 prop)
-
loader/ixus310_elph500hs/resetcode/entry.S (modified) (1 prop)
-
loader/ixus310_elph500hs/resetcode/main.c (modified) (1 prop)
-
makefile.cam (modified) (1 diff)
-
makefile.fw (modified) (1 diff)
-
platform/a410/sub/100f/stubs_entry_2.S (modified) (1 diff)
-
platform/generic/wrappers.c (modified) (1 diff)
-
platform/ixus100_sd780/sub/100b/makefile.inc (modified) (1 diff)
-
platform/ixus100_sd780/sub/100c/makefile.inc (modified) (1 diff)
-
platform/ixus120_sd940/kbd.c (modified) (8 diffs)
-
platform/ixus120_sd940/platform_camera.h (modified) (1 diff)
-
platform/ixus120_sd940/sub/100e/capt_seq.c (modified) (4 diffs)
-
platform/ixus120_sd940/sub/100e/makefile.inc (modified) (1 diff)
-
platform/ixus120_sd940/sub/100e/stubs_auto.S (modified) (2 diffs)
-
platform/ixus120_sd940/sub/101a/capt_seq.c (modified) (2 diffs)
-
platform/ixus120_sd940/sub/101a/makefile.inc (modified) (1 diff)
-
platform/ixus120_sd940/sub/101a/stubs_auto.S (modified) (2 diffs)
-
platform/ixus120_sd940/sub/102c/capt_seq.c (modified) (2 diffs)
-
platform/ixus120_sd940/sub/102c/stubs_auto.S (modified) (2 diffs)
-
platform/ixus120_sd940/sub/103b/capt_seq.c (modified) (2 diffs)
-
platform/ixus120_sd940/sub/103b/makefile.inc (modified) (1 diff)
-
platform/ixus120_sd940/sub/103b/stubs_auto.S (modified) (2 diffs)
-
platform/ixus120_sd940/sub/103c/capt_seq.c (modified) (2 diffs)
-
platform/ixus120_sd940/sub/103c/makefile.inc (modified) (1 diff)
-
platform/ixus120_sd940/sub/103c/stubs_auto.S (modified) (2 diffs)
-
platform/ixus200_sd980/sub/101c/makefile.inc (modified) (1 diff)
-
platform/ixus200_sd980/sub/101d/makefile.inc (modified) (1 diff)
-
platform/ixus310_elph500hs (modified) (1 prop)
-
platform/ixus310_elph500hs/Makefile (modified) (1 prop)
-
platform/ixus310_elph500hs/kbd.c (modified) (1 prop)
-
platform/ixus310_elph500hs/lib.c (modified) (1 prop)
-
platform/ixus310_elph500hs/main.c (modified) (1 prop)
-
platform/ixus310_elph500hs/platform_camera.h (modified) (1 prop)
-
platform/ixus310_elph500hs/shooting.c (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/100a (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/100a/Makefile (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/100a/boot.c (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/100a/capt_seq.c (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/100a/lib.c (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/100a/makefile.inc (modified) (1 diff, 1 prop)
-
platform/ixus310_elph500hs/sub/100a/movie_rec.c (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/100a/stubs_asm.h (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/100a/stubs_auto.S (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/100a/stubs_entry.S (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/100a/stubs_entry_2.S (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/100a/stubs_min.S (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/101a (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/101a/Makefile (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/101a/boot.c (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/101a/capt_seq.c (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/101a/lib.c (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/101a/makefile.inc (modified) (1 diff, 1 prop)
-
platform/ixus310_elph500hs/sub/101a/movie_rec.c (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/101a/stubs_asm.h (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/101a/stubs_auto.S (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/101a/stubs_entry.S (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/101a/stubs_entry_2.S (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/101a/stubs_min.S (modified) (1 prop)
-
platform/ixus310_elph500hs/sub/Makefile (modified) (1 prop)
-
platform/ixus310_elph500hs/wrappers.c (modified) (1 prop)
-
platform/ixus90_sd790/sub/100c/makefile.inc (modified) (1 diff)
-
platform/ixus90_sd790/sub/100d/makefile.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/philmoz
- Property svn:mergeinfo changed
/trunk merged: 1334-1335,1337-1339
- Property svn:mergeinfo changed
-
branches/philmoz/Makefile
r1336 r1340 1 1 topdir=./ 2 2 srcdir=./ 3 4 include makefile.inc5 3 6 4 #ifndef NO_INC_BUILD 7 5 #BUILD_NUMBER := $(shell expr $(BUILD_NUMBER) + 1) 8 6 #endif 9 10 SUBDIRS=tools lib platform core loader CHDK11 12 # Define empty recipes for all the included makefiles (including this one)13 # This stops gmake from attempting to see if the makefiles need to be rebuilt14 Makefile: ;15 makefile.inc: ;16 version.inc: ;17 buildconf.inc: ;18 localbuildconf.inc: ;19 $(topdir)/platform/fi2.inc: ;20 $(topdir)/platform/$(PLATFORM)/sub/$(PLATFORMSUB)/makefile.inc: ;21 22 all: all-recursive23 24 clean: clean-recursive25 26 distclean: distclean-recursive27 7 28 8 # Define the lists of cameras / firmware versions with a BETA status … … 41 21 STATE=_BETA 42 22 endif 23 24 # If processing 'camindex' target for CHDK-Shell then only need to load the 25 # camera/firmware makefile.inc file, not the whole CHDK makefile hierarchy 26 # this speeds up generation of the camindex.csv file 27 ifdef FASTLOAD 28 29 include $(topdir)/platform/$(PLATFORM)/sub/$(PLATFORMSUB)/makefile.inc 30 31 else 32 33 include makefile.inc 34 35 SUBDIRS=tools lib platform core loader CHDK 36 37 all: all-recursive 38 39 clean: clean-recursive 40 41 distclean: distclean-recursive 43 42 44 43 .PHONY: fir … … 200 199 $(MAKE) -f makefile.cam VER=$(VER) ACTION=clean batch 201 200 202 201 endif 202 203 204 # Special targets for CHDK-Shell. These generate the camindex.csv file 205 # used by CHDK-Shell to work out what cameras / firmware versions to include. 203 206 .PHONY: camindex 204 207 camindex: 205 208 @echo "$(PLATFORM),$(PLATFORMSUB),$(STATE),$(COPY_TO)" 206 209 207 210 camindex.csv: Makefile makefile.cam makefile.fw 208 $(MAKE) -f makefile.cam VER=$(VER) ACTION=camindex batch > camindex.csv 211 $(MAKE) -f makefile.cam VER=$(VER) FASTLOAD=1 ACTION=camindex batch > camindex.csv 212 213 214 # Define empty recipes for all the included makefiles (including this one) 215 # This stops gmake from attempting to see if the makefiles need to be rebuilt 216 Makefile: ; 217 makefile.inc: ; 218 makefile.cam: ; 219 makefile.fw: ; 220 version.inc: ; 221 buildconf.inc: ; 222 localbuildconf.inc: ; 223 $(topdir)/platform/fi2.inc: ; 224 $(topdir)/platform/$(PLATFORM)/sub/$(PLATFORMSUB)/makefile.inc: ; -
branches/philmoz/core/gui.c
r1333 r1340 3011 3011 } 3012 3012 gui_fselect_init(LANG_STR_SELECT_TEXT_FILE, path, gui_draw_read_selected); 3013 void gui_fselect_set_key_redraw(int n); 3014 gui_fselect_set_key_redraw(1); 3013 3015 } 3014 3016 -
branches/philmoz/core/gui_4wins.c
r1333 r1340 355 355 static char str[16]; 356 356 sprintf(str, "%3d%%", get_batt_perc()); 357 draw_txt_string( screen_width/FONT_WIDTH-2-13, screen_height/FONT_HEIGHT-2, str, INFO_TEXT_COLOR);358 gui_osd_draw_clock( 300,208,INFO_TEXT_COLOR);359 } 357 draw_txt_string((screen_width-CAM_TS_BUTTON_BORDER)/FONT_WIDTH-2-13, screen_height/FONT_HEIGHT-2, str, INFO_TEXT_COLOR); 358 gui_osd_draw_clock(CAM_TS_BUTTON_BORDER+290,208,INFO_TEXT_COLOR); 359 } -
branches/philmoz/core/gui_fselect.c
r1320 r1340 69 69 static void (*fselect_on_select)(const char *fn); 70 70 static char raw_operation; 71 static int set_key_redraw_mode; 71 72 72 73 //------------------------------------------------------------------- … … 200 201 201 202 //------------------------------------------------------------------- 203 // Set flag to control how the erase/redraw happens when the set key 204 // is pressed. 205 // 0 - screen erase & mode restore done after call to fselect_on_select 206 // 1 - screen erase & mode restore done before call to fselect_on_select 207 // Needed for text reader to work correctly and to stop intermittent 208 // crashes when selecting fonts (hack - whole gui/kbd system needs an overhaul). 209 void gui_fselect_set_key_redraw(int n) 210 { 211 set_key_redraw_mode = n; 212 } 213 202 214 void gui_fselect_init(int title, const char* dir, void (*on_select)(const char *fn)) { 203 215 int i; … … 229 241 gui_fselect_redraw = 2; 230 242 gui_set_mode(GUI_MODE_FSELECT); 243 gui_fselect_set_key_redraw(0); 231 244 } 232 245 … … 973 986 974 987 //------------------------------------------------------------------- 988 static void exit_fselect() 989 { 990 gui_fselect_free_data(); 991 gui_fselect_marked_free_data(); 992 if (set_key_redraw_mode) 993 { 994 gui_set_mode(gui_fselect_mode_old); 995 draw_restore(); 996 } 997 if (fselect_on_select) 998 { 999 fselect_on_select(selected_file); 1000 } 1001 if (!set_key_redraw_mode) 1002 { 1003 gui_set_mode(gui_fselect_mode_old); 1004 draw_restore(); 1005 } 1006 } 1007 975 1008 void gui_fselect_kbd_process() { 976 1009 int i; … … 1050 1083 } else { 1051 1084 sprintf(selected_file, "%s/%s", current_dir, selected->name); 1052 gui_fselect_free_data(); 1053 gui_fselect_marked_free_data(); 1054 if (fselect_on_select) 1055 fselect_on_select(selected_file); 1056 gui_set_mode(gui_fselect_mode_old); 1057 draw_restore(); 1085 exit_fselect(); 1058 1086 } 1059 1087 } … … 1076 1104 break; 1077 1105 case KEY_MENU: 1078 gui_fselect_free_data(); 1079 gui_fselect_marked_free_data(); 1080 if (fselect_on_select) 1081 fselect_on_select(NULL); 1082 gui_set_mode(gui_fselect_mode_old); 1083 draw_restore(); 1084 break; 1085 } 1086 } 1087 1088 //------------------------------------------------------------------- 1106 exit_fselect(); 1107 break; 1108 } 1109 } 1110 1111 //------------------------------------------------------------------- -
branches/philmoz/include/lolevel.h
r1321 r1340 21 21 extern long _GetFocusLensSubjectDistanceFromLens(); 22 22 extern void _MoveFocusLensToDistance(short *dist); 23 #if defined(CAMERA_a410)24 extern void MoveFocusLensToDistanceA410(short *dist);25 #endif26 23 extern void _PutInNdFilter(); 27 24 extern void _PutOutNdFilter(); -
branches/philmoz/loader/ixus310_elph500hs
-
Property
svn:ignore
set to
.dep
*.a
*.o
main.bin
*.elf
*.elf.syms
*.dump
-
Property
svn:ignore
set to
-
branches/philmoz/loader/ixus310_elph500hs/Makefile
- Property svn:eol-style set to LF
-
branches/philmoz/loader/ixus310_elph500hs/blobs.S
- Property svn:eol-style set to native
-
branches/philmoz/loader/ixus310_elph500hs/entry.S
- Property svn:eol-style set to native
-
branches/philmoz/loader/ixus310_elph500hs/main.c
- Property svn:eol-style set to native
-
branches/philmoz/loader/ixus310_elph500hs/resetcode
-
Property
svn:ignore
set to
.dep
*.a
*.o
main.bin
*.elf
*.elf.syms
*.dump
-
Property
svn:ignore
set to
-
branches/philmoz/loader/ixus310_elph500hs/resetcode/Makefile
- Property svn:eol-style set to LF
-
branches/philmoz/loader/ixus310_elph500hs/resetcode/entry.S
- Property svn:eol-style set to native
-
branches/philmoz/loader/ixus310_elph500hs/resetcode/main.c
- Property svn:eol-style set to native
-
branches/philmoz/makefile.cam
r1336 r1340 24 24 $(CAMS): 25 25 if [ -d platform/$@ ] && [ $@ != "generic" ] && [ $@ != "$(findstring $@,$(SKIP_AUTOBUILD))" ]; then \ 26 $(MAKE) -f makefile.fw VER=$(VER) CAM=$@ ACTION=$(ACTION) all; \26 $(MAKE) -f makefile.fw VER=$(VER) FASTLOAD=$(FASTLOAD) CAM=$@ ACTION=$(ACTION) all; \ 27 27 fi -
branches/philmoz/makefile.fw
r1336 r1340 22 22 $(FW): 23 23 if [ -d platform/$(CAM)/sub/$@ ] && [ $(CAM)-$@ != "$(findstring $(CAM)-$@,$(SKIP_AUTOBUILD))" ]; then \ 24 $(MAKE) -s --no-print-directory PLATFORM=$(CAM) PLATFORMSUB=$@ NO_INC_BUILD=1 $(ACTION); \24 $(MAKE) -s --no-print-directory FASTLOAD=$(FASTLOAD) PLATFORM=$(CAM) PLATFORMSUB=$@ NO_INC_BUILD=1 $(ACTION); \ 25 25 fi -
branches/philmoz/platform/a410/sub/100f/stubs_entry_2.S
r1320 r1340 42 42 NHSTUB(MFOn,0xffd24c18) 43 43 NHSTUB(MFOff,0xffd24c48) 44 45 NHSTUB(MoveFocusLensToDistance, MoveFocusLensToDistanceA410) //hack to make this work -
branches/philmoz/platform/generic/wrappers.c
r1320 r1340 262 262 #endif 263 263 { 264 #if defined(CAMERA_a410) // need to disable a (false) assert here to make this function work265 MoveFocusLensToDistanceA410((short*)&newpos);266 #else267 264 _MoveFocusLensToDistance((short*)&newpos); 268 #endif269 265 //while (focus_busy); 270 266 while ((shooting_is_flash_ready()!=1) || (focus_busy)); -
branches/philmoz/platform/ixus100_sd780/sub/100b/makefile.inc
r1333 r1340 16 16 17 17 KEYSYS=d4 18 ifdef OPT_FI219 include $(topdir)/platform/fi2.inc20 endif21 22 -
branches/philmoz/platform/ixus100_sd780/sub/100c/makefile.inc
r1173 r1340 16 16 17 17 KEYSYS=d4 18 ifdef OPT_FI219 include $(topdir)/platform/fi2.inc20 endif21 22 -
branches/philmoz/platform/ixus120_sd940/kbd.c
r1056 r1340 73 73 void wait_until_remote_button_is_released(void) 74 74 { 75 76 long x[3];77 75 int count1; 78 76 int count2; … … 208 206 void __attribute__((naked,noinline)) mykbd_task() 209 207 { 210 #if 0211 /* WARNING212 * Stack pointer manipulation performed here!213 * This means (but not limited to):214 * function arguments destroyed;215 * function CAN NOT return properly;216 * MUST NOT call or use stack variables before stack217 * is setup properly;218 *219 */220 221 register int i;222 register long *newstack;223 224 #ifndef MALLOCD_STACK225 newstack = (void*)kbd_stack;226 #else227 newstack = malloc(NEW_SS);228 #endif229 230 for (i=0;i<NEW_SS/4;i++)231 newstack[i]=0xdededede;232 233 asm volatile (234 "MOV SP, %0"235 :: "r"(((char*)newstack)+NEW_SS)236 : "memory"237 );238 #endif239 240 208 mykbd_task_proceed(); 241 242 /* function can be modified to restore SP here...243 */244 209 245 210 _ExitTask(); … … 261 226 262 227 volatile int jogdial_stopped=0; 263 void disable_SD_writeprotect()264 {265 physw_status[SD_READONLY_REG] = physw_status[SD_READONLY_REG] & ~SD_READONLY_FLAG;266 }267 228 268 229 void my_kbd_read_keys() … … 277 238 _platformsub_kbd_fetch_data(kbd_new_state); 278 239 240 /* Get the rest of the buttons */ 241 242 _kbd_read_keys_r2(kbd_new_state); 243 279 244 kbd_new_state[2] |=0x00008000; /// disable the battery door switch 280 245 … … 295 260 physw_status[0] |= alt_mode_key_mask; /// disable the ALT mode button 296 261 297 physw_status[SD_READONLY_REG] = physw_status[SD_READONLY_REG] & ~SD_READONLY_FLAG;298 262 } 299 263 else { … … 308 272 } 309 273 } 310 311 _kbd_read_keys_r2(physw_status); 312 313 physw_status[2] = physw_status[SD_READONLY_REG] & ~SD_READONLY_FLAG; 314 274 275 315 276 remote_key = (physw_status[2] & USB_MASK)==USB_MASK; 316 277 if (remote_key) { … … 321 282 remote_count = 0; 322 283 } 284 323 285 324 286 if (conf.remote_enable) { … … 329 291 } 330 292 331 #ifdef original_way_to_handle_display_key 332 333 void my_kbd_read_keys() 334 { 335 static int altDownTimer=0; 336 const int DISP_DOWN_TIME = 20; 337 338 static int isAlt=0, isDisplay=0; 339 static int altDownTimer=0; 340 341 kbd_prev_state[0] = kbd_new_state[0]; 342 kbd_prev_state[1] = kbd_new_state[1]; 343 kbd_prev_state[2] = kbd_new_state[2]; 344 345 _platformsub_kbd_fetch_data(kbd_new_state); 346 347 kbd_new_state[2] |=0x00008000; /// disable the battery door switch 348 349 // support for short/long press of Display 350 if (kbd_is_key_pressed(KEY_DISPLAY)) { // Display held down 351 altDownTimer++; 352 } 353 if (altDownTimer > 50) { // TODO - determine best threshold 354 isDisplay = 1; // held down long enough for Display 355 } 356 else if (!kbd_is_key_pressed(KEY_DISPLAY)) { 357 if (altDownTimer > 0) 358 isAlt = 1; 359 altDownTimer = 0; 360 } 361 362 if (kbd_process() == 0) { 363 // leave it alone... 364 physw_status[0] = kbd_new_state[0]; 365 physw_status[1] = kbd_new_state[1]; 366 physw_status[2] = kbd_new_state[2]; 367 368 physw_status[0] |= alt_mode_key_mask; /// disable the ALT mode button 369 370 physw_status[SD_READONLY_REG] = physw_status[SD_READONLY_REG] & ~SD_READONLY_FLAG; 371 } 372 else { 373 // override keys 374 375 physw_status[0] = (kbd_new_state[0] & (~KEYS_MASK0)) |(kbd_mod_state[0] & KEYS_MASK0); 376 physw_status[1] = (kbd_new_state[1] & (~KEYS_MASK1)) | (kbd_mod_state[1] & KEYS_MASK1); 377 physw_status[2] = (kbd_new_state[2] & (~KEYS_MASK2)) |(kbd_mod_state[2] & KEYS_MASK2); 378 379 if (isDisplay) 380 physw_status[0] &= ~alt_mode_key_mask; /// press the Display button 381 } 382 383 _kbd_read_keys_r2(physw_status); 384 385 physw_status[2] = physw_status[SD_READONLY_REG] & ~SD_READONLY_FLAG; 386 387 remote_key = (physw_status[2] & USB_MASK)==USB_MASK; 388 if (remote_key) { 389 remote_count += 1; 390 } 391 else if (remote_count) { 392 usb_power = remote_count; 393 remote_count = 0; 394 } 395 396 if (conf.remote_enable) { 397 physw_status[2] = physw_status[SD_READONLY_REG] & ~(SD_READONLY_FLAG | USB_MASK); 398 } else { 399 physw_status[2] = physw_status[SD_READONLY_REG] & ~SD_READONLY_FLAG; 400 } 401 } 402 #endif 293 403 294 404 295 -
branches/philmoz/platform/ixus120_sd940/platform_camera.h
r1320 r1340 22 22 23 23 #define CAM_DRYOS_2_3_R39 1 //stat is different, as well as some other functions 24 #define SYNCHABLE_REMOTE_NOT_ENABLED 1 24 25 // #define SYNCHABLE_REMOTE_NOT_ENABLED 1 26 25 27 #define CAM_PROPSET 3 26 28 #define CAM_DRYOS 1 -
branches/philmoz/platform/ixus120_sd940/sub/100e/capt_seq.c
r1189 r1340 101 101 " MOV R0, R5 \n" 102 102 103 //" BL sub_FF942 5F4\n"104 " BL sub_FF942 5F4_my \n" // patched103 //" BL sub_FF942410 \n" 104 " BL sub_FF942410_my \n" // patched 105 105 106 106 " TST R0, #1 \n" … … 280 280 281 281 /*---------------------------------------------------------------------- 282 sub_FF942 5F4_my() - capt_seq_task()282 sub_FF942410_my() - capt_seq_task() 283 283 -----------------------------------------------------------------------*/ 284 void __attribute__((naked,noinline)) sub_FF942 5F4_my() {284 void __attribute__((naked,noinline)) sub_FF942410_my() { 285 285 asm volatile ( 286 286 " STMFD SP!, {R0-R8,LR} \n" … … 333 333 " BL capt_seq_hook_set_nr\n" 334 334 335 " LDR R0, [R4, #0x1C] \n" 336 " CMP R0, #0 \n" 337 " MOVNE R0, #1 \n" 338 " STRNE R0, [R5] \n" 339 " LDR R0, [R5, #4] \n" 340 " BL sub_FF90B7F8 \n" 341 " LDR R0, [R5, #8] \n" 342 " BL sub_FF8B9E48 \n" 343 " MOV R0, #1 \n" 344 " BL sub_FF8B9E54 \n" 345 " LDR R0, =0xFF941E0C \n" 346 " MOV R1, R4 \n" 347 " BL sub_FF8B9E24 \n" 348 " LDR R0, [R5] \n" 349 " CMP R0, #5 \n" 350 " ADDLS PC, PC, R0, LSL #2 \n" 351 352 " B sub_FF9425CC \n" // go to the ROM 335 " B sub_FF9424C0 \n" // go back to the ROM 353 336 ); 354 337 } … … 409 392 " BL sub_FF942328 \n" 410 393 " BL sub_FF942DA0 \n" 411 " MOV R0, R4 \n" 412 413 // this patch causes a crash when shooting 414 // it is unknown what the effect is of not calling this (called elsewhere) 415 " BL sub_FF9425F4 \n" 416 //" BL sub_FF9425F4_my \n" 394 " MOV R0, R4 \n" 395 396 //" BL sub_FF942410 \n" 397 " BL sub_FF942410_my \n" // patched 398 417 399 " MOV R5, R0 \n" 418 400 " BL capt_seq_hook_raw_here\n" //----------->> -
branches/philmoz/platform/ixus120_sd940/sub/100e/makefile.inc
r1189 r1340 15 15 16 16 KEYSYS=d4 17 ifdef OPT_FI218 include $(topdir)platform/fi2.inc19 endif20 21 -
branches/philmoz/platform/ixus120_sd940/sub/100e/stubs_auto.S
r1189 r1340 159 159 STUB(FF8B44EC) 160 160 STUB(FF8B4588) 161 STUB(FF8B9E24)162 STUB(FF8B9E48)163 STUB(FF8B9E54)164 161 STUB(FF8D7AE8) 165 162 STUB(FF8D9F0C) 166 163 STUB(FF8DB75C) 167 164 STUB(FF90B548) 168 STUB(FF90B7F8)169 165 STUB(FF9181E0) 170 166 STUB(FF9182A8) … … 194 190 STUB(FF941CAC) 195 191 STUB(FF942328) 196 STUB(FF942 5CC)197 STUB(FF942 5F4)192 STUB(FF942410) 193 STUB(FF9424C0) 198 194 STUB(FF9426C8) 199 195 STUB(FF942724) -
branches/philmoz/platform/ixus120_sd940/sub/101a/capt_seq.c
r1149 r1340 333 333 " BL capt_seq_hook_set_nr\n" 334 334 335 336 " LDR R0, [R4, #0x1C] \n" 337 " CMP R0, #0 \n" 338 " MOVNE R0, #1 \n" 339 " STRNE R0, [R5] \n" 340 " LDR R0, [R5, #4] \n" 341 " BL sub_FF90B814 \n" 342 " LDR R0, [R5, #8] \n" 343 " BL sub_FF8B9E64 \n" 344 " MOV R0, #1 \n" 345 " BL sub_FF8B9E70 \n" 346 " LDR R0, =0xFF941E28 \n" 347 " MOV R1, R4 \n" 348 " BL sub_FF8B9E40 \n" 349 " LDR R0, [R5] \n" 350 " CMP R0, #5 \n" 351 " ADDLS PC, PC, R0, LSL #2 \n" 352 353 " B sub_FF9425E8 \n" // go to the ROM 335 " B sub_FF9424DC \n" 354 336 ); 355 337 } … … 410 392 " BL sub_FF942344 \n" 411 393 " BL sub_FF942DBC \n" 412 " MOV R0, R4 \n" 413 414 // this patch causes a crash when shooting 415 // it is unknown what the effect is of not calling this (called elsewhere) 416 " BL sub_FF94242C \n" 417 //" BL sub_FF94242C_my \n" 394 " MOV R0, R4 \n" 395 396 //" BL sub_FF94242C \n" 397 " BL sub_FF94242C_my \n" 398 418 399 " MOV R5, R0 \n" 419 400 " BL capt_seq_hook_raw_here\n" //----------->> -
branches/philmoz/platform/ixus120_sd940/sub/101a/makefile.inc
r1149 r1340 15 15 16 16 KEYSYS=d4 17 ifdef OPT_FI218 include $(topdir)platform/fi2.inc19 endif20 21 -
branches/philmoz/platform/ixus120_sd940/sub/101a/stubs_auto.S
r1149 r1340 159 159 STUB(FF8B4508) 160 160 STUB(FF8B45A4) 161 STUB(FF8B9E40)162 STUB(FF8B9E64)163 STUB(FF8B9E70)164 161 STUB(FF8D7B04) 165 162 STUB(FF8D9F28) 166 163 STUB(FF8DB778) 167 164 STUB(FF90B564) 168 STUB(FF90B814)169 165 STUB(FF9181FC) 170 166 STUB(FF9182C4) … … 195 191 STUB(FF942344) 196 192 STUB(FF94242C) 197 STUB(FF942 5E8)193 STUB(FF9424DC) 198 194 STUB(FF9426E4) 199 195 STUB(FF942740) -
branches/philmoz/platform/ixus120_sd940/sub/102c/capt_seq.c
r1056 r1340 330 330 " BL capt_seq_hook_set_nr \n" // added 331 331 332 " LDR R0, [R4,#0x1C] \n" 333 " CMP R0, #0 \n" 334 " MOVNE R0, #1 \n" 335 " STRNE R0, [R5] \n" 336 " LDR R0, [R5,#4] \n" 337 " BL sub_FF90B814 \n" 338 " LDR R0, [R5,#8] \n" 339 " BL sub_FF8B9E64 \n" 340 " MOV R0, #1 \n" 341 " BL sub_FF8B9E70 \n" // nullsub_13 342 " LDR R0, =0xFF941E28 \n" 343 " MOV R1, R4 \n" 344 " BL sub_FF8B9E40 \n" 345 " LDR R0, [R5] \n" 346 " CMP R0, #5 \n" 347 " ADDLS PC, PC, R0,LSL#2 \n" 348 //" B loc_FF9425E8 \n" 349 " B sub_FF9425E8 \n" 350 332 " B sub_FF9424DC \n" 351 333 ); 352 334 } … … 408 390 " MOV R0, R4 \n" 409 391 410 // this patch causes a crash when shooting 411 // it is unknown what the effect is of not calling this 412 " BL sub_FF94242C \n" 413 //" BL sub_FF94242C_my \n" // patched 392 //" BL sub_FF94242C \n" 393 " BL sub_FF94242C_my \n" // patched 394 414 395 " MOV R5, R0 \n" 415 396 " BL capt_seq_hook_raw_here \n" // added -
branches/philmoz/platform/ixus120_sd940/sub/102c/stubs_auto.S
r1056 r1340 159 159 STUB(FF8B4508) 160 160 STUB(FF8B45A4) 161 STUB(FF8B9E40)162 STUB(FF8B9E64)163 STUB(FF8B9E70)164 161 STUB(FF8D7B04) 165 162 STUB(FF8D9F28) 166 163 STUB(FF8DB778) 167 164 STUB(FF90B564) 168 STUB(FF90B814)169 165 STUB(FF9181FC) 170 166 STUB(FF9182C4) … … 195 191 STUB(FF942344) 196 192 STUB(FF94242C) 197 STUB(FF942 5E8)193 STUB(FF9424DC) 198 194 STUB(FF9426E4) 199 195 STUB(FF942740) -
branches/philmoz/platform/ixus120_sd940/sub/103b/capt_seq.c
r1134 r1340 330 330 "BL wait_until_remote_button_is_released\n" 331 331 "BL capt_seq_hook_set_nr\n" 332 333 334 " LDR R0, [R4,#0x1C]\n" 335 " CMP R0, #0\n" 336 " MOVNE R0, #1\n" 337 " STRNE R0, [R5]\n" 338 " LDR R0, [R5,#4]\n" 339 " BL sub_FF90B820\n" 340 " LDR R0, [R5,#8]\n" 341 " BL sub_FF8B9E70\n" 342 " MOV R0, #1\n" 343 " BL sub_FF8B9E7C\n" 344 " LDR R0, =0xFF941E34\n" 345 " MOV R1, R4\n" 346 " BL sub_FF8B9E4C\n" 347 " LDR R0, [R5]\n" 348 " CMP R0, #5\n" 349 " ADDLS PC, PC, R0,LSL#2\n" 350 351 " B sub_FF9425F4\n" // go to the ROM 332 333 " B sub_FF9424E8\n" // go back to the ROM 352 334 ); 353 335 } … … 410 392 " MOV R0, R4\n" 411 393 412 // this patch causes a crash when shooting 413 // it is unknown what the effect is of not calling this (called elsewhere) 414 " BL sub_FF942438\n" 415 //" BL sub_FF942438_my\n" 394 //" BL sub_FF942438\n" 395 " BL sub_FF942438_my\n" 396 416 397 " MOV R5, R0\n" 417 398 " BL capt_seq_hook_raw_here\n" //----------->> -
branches/philmoz/platform/ixus120_sd940/sub/103b/makefile.inc
r1134 r1340 15 15 16 16 KEYSYS=d4 17 ifdef OPT_FI218 include $(topdir)platform/fi2.inc19 endif20 21 -
branches/philmoz/platform/ixus120_sd940/sub/103b/stubs_auto.S
r1134 r1340 159 159 STUB(FF8B4514) 160 160 STUB(FF8B45B0) 161 STUB(FF8B9E4C)162 STUB(FF8B9E70)163 STUB(FF8B9E7C)164 161 STUB(FF8D9F34) 165 162 STUB(FF8DB784) 166 163 STUB(FF90B570) 167 STUB(FF90B820)168 164 STUB(FF918208) 169 165 STUB(FF9182D0) … … 194 190 STUB(FF942350) 195 191 STUB(FF942438) 196 STUB(FF942 5F4)192 STUB(FF9424E8) 197 193 STUB(FF9426F0) 198 194 STUB(FF94274C) -
branches/philmoz/platform/ixus120_sd940/sub/103c/capt_seq.c
r1071 r1340 330 330 "BL capt_seq_hook_set_nr\n" 331 331 332 "LDR R0, [R4,#0x1C]\n" 333 "CMP R0, #0\n" 334 "MOVNE R0, #1\n" 335 "STRNE R0, [R5]\n" 336 "LDR R0, [R5,#4]\n" 337 "BL sub_FF90B870\n" 338 "LDR R0, [R5,#8]\n" 339 "BL sub_FF8B9EC0\n" 340 "MOV R0, #1\n" 341 "BL sub_FF8B9ECC\n" //nullsub_50 342 "LDR R0, =0xFF941FF0\n" 343 "MOV R1, R4\n" 344 "BL sub_FF8B9E9C\n" 345 "LDR R0, [R5]\n" 346 "CMP R0, #5\n" 347 "ADDLS PC, PC, R0,LSL#2\n" 348 349 "B sub_FF9427B0\n" //go to the ROM 332 "B sub_FF9426A4\n" //go back to the ROM 350 333 ); 351 334 } … … 408 391 "MOV R0, R4\n" 409 392 410 // this patch causes a crash when shooting 411 // it is unknown what the effect is of not calling this (called elsewhere) 412 "BL sub_FF9425F4 \n" 413 // "BL sub_FF9425F4_my \n" 393 // "BL sub_FF9425F4 \n" 394 "BL sub_FF9425F4_my \n" 395 414 396 "MOV R5, R0\n" 415 397 "BL capt_seq_hook_raw_here\n" //----------->> -
branches/philmoz/platform/ixus120_sd940/sub/103c/makefile.inc
r1056 r1340 15 15 16 16 KEYSYS=d4 17 ifdef OPT_FI218 include $(topdir)platform/fi2.inc19 endif20 21 -
branches/philmoz/platform/ixus120_sd940/sub/103c/stubs_auto.S
r1056 r1340 159 159 STUB(FF8B4564) 160 160 STUB(FF8B4600) 161 STUB(FF8B9E9C)162 STUB(FF8B9EC0)163 STUB(FF8B9ECC)164 161 STUB(FF8D9F84) 165 162 STUB(FF8DB7D4) 166 163 STUB(FF90B5C0) 167 STUB(FF90B870)168 164 STUB(FF918258) 169 165 STUB(FF918320) … … 194 190 STUB(FF94250C) 195 191 STUB(FF9425F4) 196 STUB(FF942 7B0)192 STUB(FF9426A4) 197 193 STUB(FF9428AC) 198 194 STUB(FF942908) -
branches/philmoz/platform/ixus200_sd980/sub/101c/makefile.inc
r1212 r1340 14 14 NEED_ENCODED_DISKBOOT=3 15 15 KEYSYS=d4 16 ifdef OPT_FI217 include $(topdir)platform/fi2.inc18 endif19 20 -
branches/philmoz/platform/ixus200_sd980/sub/101d/makefile.inc
r1320 r1340 14 14 NEED_ENCODED_DISKBOOT=3 15 15 KEYSYS=d4 16 ifdef OPT_FI217 include $(topdir)platform/fi2.inc18 endif19 20 -
branches/philmoz/platform/ixus310_elph500hs
-
Property
svn:ignore
set to
.dep
*.a
*.o
-
Property
svn:ignore
set to
-
branches/philmoz/platform/ixus310_elph500hs/Makefile
- Property svn:eol-style set to LF
-
branches/philmoz/platform/ixus310_elph500hs/kbd.c
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/lib.c
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/main.c
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/platform_camera.h
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/shooting.c
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/100a
-
Property
svn:ignore
set to
.dep
*.o
*.a
PRIMARY.BIN
-
Property
svn:ignore
set to
-
branches/philmoz/platform/ixus310_elph500hs/sub/100a/Makefile
- Property svn:eol-style set to LF
-
branches/philmoz/platform/ixus310_elph500hs/sub/100a/boot.c
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/100a/capt_seq.c
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/100a/lib.c
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/100a/makefile.inc
- Property svn:eol-style set to LF
r1321 r1340 3 3 4 4 PLATFORMOS=dryos 5 6 # Force EXMEM on for ixus310_elph500hs - not enough heap to work in low memory 7 override OPT_EXMEM_MALLOC=1 8 override OPT_CHDK_IN_EXMEM=1 5 9 6 10 ROMBASEADDR=0xFF000000 -
branches/philmoz/platform/ixus310_elph500hs/sub/100a/movie_rec.c
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/100a/stubs_asm.h
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/100a/stubs_auto.S
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/100a/stubs_entry.S
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/100a/stubs_entry_2.S
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/100a/stubs_min.S
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/101a
-
Property
svn:ignore
set to
.dep
*.o
*.a
PRIMARY.BIN
-
Property
svn:ignore
set to
-
branches/philmoz/platform/ixus310_elph500hs/sub/101a/Makefile
- Property svn:eol-style set to LF
-
branches/philmoz/platform/ixus310_elph500hs/sub/101a/boot.c
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/101a/capt_seq.c
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/101a/lib.c
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/101a/makefile.inc
- Property svn:eol-style set to LF
r1321 r1340 3 3 4 4 PLATFORMOS=dryos 5 6 # Force EXMEM on for ixus310_elph500hs - not enough heap to work in low memory 7 override OPT_EXMEM_MALLOC=1 8 override OPT_CHDK_IN_EXMEM=1 5 9 6 10 ROMBASEADDR=0xFF000000 -
branches/philmoz/platform/ixus310_elph500hs/sub/101a/movie_rec.c
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/101a/stubs_asm.h
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/101a/stubs_auto.S
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/101a/stubs_entry.S
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/101a/stubs_entry_2.S
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/101a/stubs_min.S
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus310_elph500hs/sub/Makefile
- Property svn:eol-style set to LF
-
branches/philmoz/platform/ixus310_elph500hs/wrappers.c
- Property svn:eol-style set to native
-
branches/philmoz/platform/ixus90_sd790/sub/100c/makefile.inc
r870 r1340 16 16 17 17 KEYSYS=d3enc 18 ifdef OPT_FI219 include $(topdir)platform/fi2.inc20 endif -
branches/philmoz/platform/ixus90_sd790/sub/100d/makefile.inc
r1321 r1340 16 16 17 17 KEYSYS=d3enc 18 ifdef OPT_FI219 include $(topdir)platform/fi2.inc20 endif21 18 22 19 #Possible firmware versions that are created from this one as copies
Note: See TracChangeset
for help on using the changeset viewer.