Changeset 1343 for branches/philmoz
- Timestamp:
- 09/25/11 02:22:38 (20 months ago)
- Location:
- branches/philmoz
- Files:
-
- 120 edited
-
. (modified) (1 prop)
-
Makefile (modified) (2 diffs)
-
core/gui_batt.c (modified) (2 diffs)
-
core/gui_draw.h (modified) (3 diffs)
-
core/gui_space.c (modified) (2 diffs)
-
core/main.c (modified) (1 diff)
-
include/camera.h (modified) (1 diff)
-
include/platform.h (modified) (1 diff)
-
makefile.fw (modified) (1 diff)
-
platform/a1100/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/a2000/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/a470/sub/100e/stubs_entry_2.S (modified) (1 diff)
-
platform/a470/sub/101b/stubs_entry_2.S (modified) (1 diff)
-
platform/a470/sub/102c/stubs_entry_2.S (modified) (1 diff)
-
platform/a480/sub/100b/stubs_entry_2.S (modified) (1 diff)
-
platform/a490/sub/100f/stubs_entry_2.S (modified) (1 diff)
-
platform/a495/sub/100d/stubs_entry_2.S (modified) (1 diff)
-
platform/a495/sub/100e/stubs_entry_2.S (modified) (1 diff)
-
platform/a495/sub/100f/stubs_entry_2.S (modified) (1 diff)
-
platform/a580/sub/101b/stubs_entry_2.S (modified) (1 diff)
-
platform/a590/sub/100e/stubs_entry_2.S (modified) (1 diff)
-
platform/a590/sub/101b/stubs_entry_2.S (modified) (1 diff)
-
platform/a650/sub/100d/stubs_entry_2.S (modified) (1 diff)
-
platform/a720/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/d10/sub/100a/stubs_entry_2.S (modified) (1 diff)
-
platform/g10/sub/102a/stubs_entry_2.S (modified) (1 diff)
-
platform/g10/sub/103b/stubs_entry_2.S (modified) (1 diff)
-
platform/g10/sub/104a/stubs_entry_2.S (modified) (1 diff)
-
platform/g11/sub/100f/stubs_entry_2.S (modified) (1 diff)
-
platform/g11/sub/100j/stubs_entry_2.S (modified) (1 diff)
-
platform/g11/sub/100l/stubs_entry_2.S (modified) (1 diff)
-
platform/g12/lib.c (modified) (1 diff)
-
platform/g12/platform_camera.h (modified) (2 diffs)
-
platform/g12/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/g12/sub/100c/stubs_min.S (modified) (1 diff)
-
platform/g12/sub/100e/stubs_entry_2.S (modified) (1 diff)
-
platform/g12/sub/100e/stubs_min.S (modified) (1 diff)
-
platform/g12/sub/100f/stubs_entry_2.S (modified) (1 diff)
-
platform/g12/sub/100f/stubs_min.S (modified) (1 diff)
-
platform/g12/sub/100g/stubs_entry_2.S (modified) (1 diff)
-
platform/g12/sub/100g/stubs_min.S (modified) (1 diff)
-
platform/g9/sub/100d/stubs_entry_2.S (modified) (1 diff)
-
platform/g9/sub/100g/stubs_entry_2.S (modified) (1 diff)
-
platform/g9/sub/100i/stubs_entry_2.S (modified) (1 diff)
-
platform/generic/wrappers.c (modified) (4 diffs)
-
platform/ixus100_sd780/sub/100b/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus100_sd780/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus120_sd940/sub/100e/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus120_sd940/sub/101a/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus120_sd940/sub/102c/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus120_sd940/sub/103b/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus120_sd940/sub/103c/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus200_sd980/sub/101c/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus200_sd980/sub/101d/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus300_sd4000/sub/100d/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus310_elph500hs/kbd.c (modified) (2 diffs)
-
platform/ixus310_elph500hs/lib.c (modified) (1 diff)
-
platform/ixus310_elph500hs/platform_camera.h (modified) (1 diff)
-
platform/ixus310_elph500hs/sub/100a/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus310_elph500hs/sub/100a/stubs_min.S (modified) (1 diff)
-
platform/ixus310_elph500hs/sub/101a/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus80_sd1100/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus80_sd1100/sub/101a/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus85_sd770/sub/100a/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus860_sd870/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus870_sd880/sub/100e/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus870_sd880/sub/101a/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus870_sd880/sub/102b/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus90_sd790/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus90_sd790/sub/100d/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus95_sd1200/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus960_sd950/sub/100d/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus970_sd890/sub/100b/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus970_sd890/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus970_sd890/sub/100f/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus980_sd990/sub/100e/stubs_entry_2.S (modified) (1 diff)
-
platform/ixus980_sd990/sub/101b/stubs_entry_2.S (modified) (1 diff)
-
platform/s5is/sub/101a/stubs_entry_2.S (modified) (2 diffs)
-
platform/s5is/sub/101b/stubs_entry_2.S (modified) (2 diffs)
-
platform/s90/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/s90/sub/101a/stubs_entry_2.S (modified) (1 diff)
-
platform/s90/sub/101c/stubs_entry_2.S (modified) (1 diff)
-
platform/s95/sub/100e/stubs_entry_2.S (modified) (1 diff)
-
platform/s95/sub/100h/stubs_entry_2.S (modified) (1 diff)
-
platform/s95/sub/100i/stubs_entry_2.S (modified) (2 diffs)
-
platform/s95/sub/100k/stubs_entry_2.S (modified) (1 diff)
-
platform/sx1/sub/200h/stubs_entry_2.S (modified) (1 diff)
-
platform/sx1/sub/201a/stubs_entry_2.S (modified) (1 diff)
-
platform/sx10/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/sx10/sub/101a/stubs_entry_2.S (modified) (1 diff)
-
platform/sx10/sub/101b/stubs_entry_2.S (modified) (1 diff)
-
platform/sx10/sub/102b/stubs_entry_2.S (modified) (1 diff)
-
platform/sx10/sub/103a/stubs_entry_2.S (modified) (1 diff)
-
platform/sx100is/sub/100b/stubs_entry_2.S (modified) (1 diff)
-
platform/sx100is/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/sx110is/sub/100b/stubs_entry_2.S (modified) (1 diff)
-
platform/sx130is/sub/101c/stubs_entry_2.S (modified) (1 diff)
-
platform/sx130is/sub/101d/stubs_entry_2.S (modified) (1 diff)
-
platform/sx130is/sub/101f/stubs_entry_2.S (modified) (1 diff)
-
platform/sx20/sub/102b/stubs_entry_2.S (modified) (1 diff)
-
platform/sx20/sub/102d/stubs_entry_2.S (modified) (1 diff)
-
platform/sx200is/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/sx220hs/sub/100a/stubs_entry_2.S (modified) (1 diff)
-
platform/sx220hs/sub/101a/stubs_entry_2.S (modified) (1 diff)
-
platform/sx220hs/sub/101b/stubs_entry_2.S (modified) (1 diff)
-
platform/sx230hs/sub/100c/stubs_entry_2.S (modified) (1 diff)
-
platform/sx230hs/sub/101a/stubs_entry_2.S (modified) (1 diff)
-
platform/sx230hs/sub/101b/stubs_entry_2.S (modified) (1 diff)
-
platform/sx30/lib.c (modified) (1 diff)
-
platform/sx30/platform_camera.h (modified) (2 diffs)
-
platform/sx30/sub/100e/stubs_entry_2.S (modified) (1 diff)
-
platform/sx30/sub/100e/stubs_min.S (modified) (1 diff)
-
platform/sx30/sub/100h/stubs_entry_2.S (modified) (1 diff)
-
platform/sx30/sub/100h/stubs_min.S (modified) (1 diff)
-
platform/sx30/sub/100l/stubs_entry_2.S (modified) (1 diff)
-
platform/sx30/sub/100l/stubs_min.S (modified) (1 diff)
-
platform/sx30/sub/100n/stubs_entry_2.S (modified) (1 diff)
-
platform/sx30/sub/100n/stubs_min.S (modified) (1 diff)
-
platform/sx30/sub/100p/stubs_entry_2.S (modified) (1 diff)
-
platform/sx30/sub/100p/stubs_min.S (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/philmoz
-
branches/philmoz/Makefile
r1340 r1343 1 1 topdir=./ 2 2 srcdir=./ 3 4 #ifndef NO_INC_BUILD5 #BUILD_NUMBER := $(shell expr $(BUILD_NUMBER) + 1)6 #endif7 3 8 4 # Define the lists of cameras / firmware versions with a BETA status … … 90 86 version: FORCE 91 87 echo "**** Build: $(BUILD_NUMBER)" 92 # echo "BUILD_NUMBER := $(BUILD_NUMBER)" > version.inc93 88 94 89 FORCE: -
branches/philmoz/core/gui_batt.c
r1234 r1343 45 45 46 46 int perc = get_batt_perc(); 47 48 #ifdef CAM_USE_COLORED_ICONS 49 50 // set bar color depending percent 51 color cl1 = (perc>50) ? COLOR_GREEN_DK :(perc<=20) ? COLOR_RED_DK : COLOR_YELLOW_DK; 52 color cl2 = (perc>50) ? COLOR_GREEN :(perc<=20) ? COLOR_RED : COLOR_YELLOW; 53 color cl3 = (perc>50) ? COLOR_GREEN_LT :(perc<=20) ? COLOR_RED_LT : COLOR_YELLOW_LT; 54 55 // icon 56 draw_vline(xx, yy+5, 2, COLOR_GREY_MED); 57 draw_filled_rect(xx+1, yy+4, xx+2, yy+8, MAKE_COLOR(COLOR_YELLOW_DK, COLOR_YELLOW_DK)); 58 draw_rect(xx+3, yy, xx+31, yy+12, MAKE_COLOR(COLOR_GREY_MED, COLOR_GREY_MED)); 59 draw_hline(xx+4, yy+1, 26, COLOR_GREY_LT); 60 draw_hline(xx+4, yy+11, 26, COLOR_GREY_MED); 61 // fill icon 62 draw_rect(xx+4, yy+2, xx+30, yy+10, MAKE_COLOR(cl1, cl1)); 63 draw_filled_rect(xx+5, yy+6, xx+28-(25*perc/100), yy+9, MAKE_COLOR(COLOR_GREY_MED, COLOR_GREY_MED)); 64 draw_filled_rect(xx+5, yy+3, xx+28-(25*perc/100), yy+5, MAKE_COLOR(COLOR_GREY_LT, COLOR_GREY_LT)); 65 draw_filled_rect(xx+29-(25*perc/100), yy+6, xx+29, yy+9, MAKE_COLOR(cl2, cl2)); 66 draw_filled_rect(xx+29-(25*perc/100), yy+3, xx+29, yy+5, MAKE_COLOR(cl3, cl3)); 67 #else 47 68 color cl = (perc<=10)?conf.osd_color_warn:(conf.batt_icon_color&0xFF); 48 69 49 70 // battery icon 50 draw_rect(xx+3-1, yy+1, xx+3+25+1, yy+1+10, cl);51 draw_rect(xx+3-3, yy+1+2, xx+3-2, yy+1+8, cl);71 draw_rect(xx+3-1, yy+1, xx+3+25+1, yy+1+10, cl); 72 draw_rect(xx+3-3, yy+1+2, xx+3-2, yy+1+8, cl); 52 73 draw_vline(xx+3-4, yy+1+2-1, 8, COLOR_BLACK); // l 53 74 draw_hline(xx+3-2, yy+1-1, 29, COLOR_BLACK); // t … … 61 82 draw_filled_rect(xx+3, yy+1+1, x-1, yy+1+9, MAKE_COLOR(COLOR_TRANSPARENT, COLOR_BLACK)); 62 83 draw_filled_rect(x, yy+1+1, xx+3+25, yy+1+9, MAKE_COLOR(cl, cl)); 84 #endif 63 85 } 64 86 -
branches/philmoz/core/gui_draw.h
r1333 r1343 200 200 #define COLOR_HISTO_RG_PLAY COLOR_YELLOW 201 201 202 #elif CAM_BITMAP_PALETTE==7 // sx 30, g12202 #elif CAM_BITMAP_PALETTE==7 // sx130is, s95 203 203 #define COLOR_TRANSPARENT 0x00 204 204 #define COLOR_WHITE 0x01 … … 233 233 #define SCREEN_COLOR 0x1D 234 234 235 #elif CAM_BITMAP_PALETTE==8 // s95235 #elif CAM_BITMAP_PALETTE==8 // a490, a495 236 236 #define COLOR_TRANSPARENT 0x00 237 237 #define COLOR_WHITE 0x01 … … 366 366 #define COLOR_HISTO_RG_PLAY COLOR_YELLOW 367 367 368 #elif CAM_BITMAP_PALETTE==12 //(IXUS 310) 369 #define COLOR_TRANSPARENT 0x00 370 #define COLOR_WHITE 0x01 371 #define COLOR_RED 0x1e 368 #elif CAM_BITMAP_PALETTE==12 // IXUS 310, SX30, G12 369 // Default Canon colors 370 #define COLOR_TRANSPARENT 0x00 371 #define COLOR_WHITE 0x01 372 #define COLOR_BLACK 0xFF 372 373 #define COLOR_GREY 0x1a 373 #define COLOR_GREEN 0x17 374 #define COLOR_BLUE_LT 0x10 375 #define COLOR_BLUE 0x14 376 #define COLOR_YELLOW 0x74 377 #define COLOR_BLACK 0xFF 378 #define COLOR_BG 0x1b 379 #define COLOR_FG COLOR_WHITE 380 #define COLOR_SELECTED_BG 0x0e 374 #define COLOR_GREY_MED 0x16 375 #define COLOR_GREY_LT 0x0E 376 #undef SCREEN_COLOR 377 #define SCREEN_COLOR 0x1D 378 379 // CHDK colors loaded into these locations in the camera palette by load_chdk_palette() 380 #define COLOR_RED (CHDK_COLOR_BASE+0) 381 #define COLOR_RED_DK (CHDK_COLOR_BASE+1) 382 #define COLOR_RED_LT (CHDK_COLOR_BASE+2) 383 #define COLOR_GREEN (CHDK_COLOR_BASE+3) 384 #define COLOR_GREEN_DK (CHDK_COLOR_BASE+4) 385 #define COLOR_GREEN_LT (CHDK_COLOR_BASE+5) 386 #define COLOR_BLUE (CHDK_COLOR_BASE+6) 387 #define COLOR_BLUE_DK (CHDK_COLOR_BASE+7) 388 #define COLOR_BLUE_LT (CHDK_COLOR_BASE+8) 389 #define COLOR_MAGENTA (CHDK_COLOR_BASE+9) 390 #define COLOR_YELLOW (CHDK_COLOR_BASE+10) 391 #define COLOR_YELLOW_DK (CHDK_COLOR_BASE+11) 392 #define COLOR_YELLOW_LT (CHDK_COLOR_BASE+12) 393 394 #define COLOR_CYAN COLOR_BLUE_LT 395 #define COLOR_BG COLOR_GREY 396 #define COLOR_FG COLOR_WHITE 397 #define COLOR_SELECTED_BG COLOR_GREY_LT 381 398 #define COLOR_SELECTED_FG COLOR_BLACK 382 399 #define COLOR_ALT_BG COLOR_BG 383 #define COLOR_SPLASH_RED COLOR_RED 384 #define COLOR_SPLASH_ PINK 0x1e // Orange385 #define COLOR_SPLASH_ GREY 0x16386 #define COLOR_ HISTO_R 0x7a387 #define COLOR_HISTO_R_PLAY 0x8f 388 #define COLOR_HISTO_ B 0x7b389 #define COLOR_HISTO_ B_PLAY 0x90390 #define COLOR_HISTO_ G 0x7d391 #define COLOR_HISTO_ G_PLAY 0x91392 #define COLOR_HISTO_ BG COLOR_BLUE_LT393 #define COLOR_HISTO_ RG COLOR_YELLOW394 #define COLOR_HISTO_ RB COLOR_RED395 #define COLOR_HISTO_ RB_PLAY COLOR_HISTO_RB396 #define COLOR_HISTO_ BG_PLAY COLOR_BLUE_LT397 #define COLOR_HISTO_RG_PLAY 0x85398 # undef SCREEN_COLOR399 #define SCREEN_COLOR 0x1D400 401 #define COLOR_SPLASH_RED COLOR_RED_DK 402 #define COLOR_SPLASH_PINK COLOR_RED_LT 403 #define COLOR_SPLASH_GREY COLOR_GREY_MED 404 405 #define COLOR_HISTO_R COLOR_RED 406 #define COLOR_HISTO_R_PLAY COLOR_RED 407 #define COLOR_HISTO_B COLOR_BLUE 408 #define COLOR_HISTO_B_PLAY COLOR_BLUE 409 #define COLOR_HISTO_G COLOR_GREEN 410 #define COLOR_HISTO_G_PLAY COLOR_GREEN 411 #define COLOR_HISTO_BG COLOR_CYAN 412 #define COLOR_HISTO_BG_PLAY COLOR_CYAN 413 #define COLOR_HISTO_RG COLOR_YELLOW 414 #define COLOR_HISTO_RG_PLAY COLOR_YELLOW 415 #define COLOR_HISTO_RB COLOR_MAGENTA 416 #define COLOR_HISTO_RB_PLAY COLOR_MAGENTA 400 417 401 418 #else -
branches/philmoz/core/gui_space.c
r1320 r1343 99 99 space_color(); 100 100 101 #ifdef CAM_USE_COLORED_ICONS 102 color cl1 = COLOR_GREEN; 103 color cl2 = COLOR_GREEN_DK; 104 if (((conf.space_warn_type == 0) && (perc <= conf.space_perc_warn)) || 105 ((conf.space_warn_type == 1) && (GetFreeCardSpaceKb() <= conf.space_mb_warn*1024))) 106 { 107 cl1 = COLOR_RED; 108 cl2 = COLOR_RED_DK; 109 } 110 111 //icon 112 draw_hline(xx, yy, 30, COLOR_GREY_LT); 113 draw_vline(xx, yy, 12, COLOR_GREY_LT); 114 draw_vline(xx+31, yy, 18, COLOR_GREY); 115 draw_line(xx+1, yy+13, xx+5, yy+17, COLOR_GREY); 116 draw_hline(xx+6, yy+18, 24, COLOR_GREY); 117 118 draw_filled_rect(xx+1, yy+1, xx+30, yy+13, MAKE_COLOR(COLOR_GREY_MED, COLOR_GREY_MED)); 119 draw_filled_rect(xx+5, yy+14, xx+30, yy+17, MAKE_COLOR(COLOR_GREY_MED, COLOR_GREY_MED)); 120 draw_filled_rect(xx+3, yy+14, xx+6, yy+15, MAKE_COLOR(COLOR_GREY_MED, COLOR_GREY_MED)); 121 122 draw_filled_rect(xx+2, yy+2, xx+6, yy+4, MAKE_COLOR(COLOR_YELLOW_DK, COLOR_YELLOW_DK)); 123 draw_filled_rect(xx+2, yy+6, xx+6, yy+7, MAKE_COLOR(COLOR_YELLOW_DK, COLOR_YELLOW_DK)); 124 draw_filled_rect(xx+2, yy+9, xx+6, yy+10, MAKE_COLOR(COLOR_YELLOW_DK, COLOR_YELLOW_DK)); 125 draw_filled_rect(xx+2, yy+12, xx+6, yy+13, MAKE_COLOR(COLOR_YELLOW_DK, COLOR_YELLOW_DK)); 126 draw_filled_rect(xx+5, yy+15, xx+9, yy+16, MAKE_COLOR(COLOR_YELLOW_DK, COLOR_YELLOW_DK)); 127 128 draw_hline(xx+8, yy, 2, COLOR_TRANSPARENT); 129 draw_hline(xx+11, yy, 3, COLOR_GREY); 130 draw_hline(xx+11, yy+18, 2, COLOR_TRANSPARENT); 131 132 //fill icon 133 draw_rect(xx+9, yy+4, xx+28, yy+13, MAKE_COLOR(cl1, cl1)); 134 draw_filled_rect(xx+27-(17*perc/100), yy+5, xx+27, yy+12, MAKE_COLOR(cl2, cl2)); 135 #else 101 136 #define LE 23 102 137 #define WI 15 … … 131 166 if (x>1) draw_hline(xx+2, yy+WI-2, x-2, COLOR_BLACK); 132 167 draw_hline(xx+x+1, yy+WI-2, LE-x-3, MAKE_COLOR(cl, cl)); 168 #endif 133 169 } 134 170 -
branches/philmoz/core/main.c
r1175 r1343 168 168 169 169 while (1) { 170 171 #ifdef CAM_LOAD_CUSTOM_COLORS 172 load_chdk_palette(); 173 #endif 174 170 175 if (raw_data_available) { 171 176 raw_need_postprocess = raw_savefile(); -
branches/philmoz/include/camera.h
r1321 r1343 182 182 #undef CAM_DISABLE_RAW_IN_LOW_LIGHT_MODE // For cameras with 'low light' mode that does now work with raw define this 183 183 184 #undef CAM_LOAD_CUSTOM_COLORS // Define to enable loading CHDK custom colors into the camera color palette 185 // requires load_chdk_palette() and vid_get_bitmap_active_palette() to be defined 186 // correctly for the camera along with 187 #undef CAM_USE_COLORED_ICONS // If the color palette contains enough shades of red, green, yellow and grey 188 // defined then enable this use the better icons (from CHDK-DE). See gui_batt.c 189 // and gui_space.c. 190 184 191 //---------------------------------------------------------- 185 192 // Override Default values for Camera if necessary -
branches/philmoz/include/platform.h
r1321 r1343 246 246 extern void *vid_get_bitmap_active_palette(); // Return current palette memory address 247 247 248 #ifdef CAM_LOAD_CUSTOM_COLORS 249 // Color palette function 250 extern void load_chdk_palette(); 251 #endif 248 252 /******************************************************************/ 249 253 -
branches/philmoz/makefile.fw
r1340 r1343 22 22 $(FW): 23 23 if [ -d platform/$(CAM)/sub/$@ ] && [ $(CAM)-$@ != "$(findstring $(CAM)-$@,$(SKIP_AUTOBUILD))" ]; then \ 24 $(MAKE) -s --no-print-directory FASTLOAD=$(FASTLOAD) PLATFORM=$(CAM) PLATFORMSUB=$@ NO_INC_BUILD=1$(ACTION); \24 $(MAKE) -s --no-print-directory FASTLOAD=$(FASTLOAD) PLATFORM=$(CAM) PLATFORMSUB=$@ $(ACTION); \ 25 25 fi -
branches/philmoz/platform/a1100/sub/100c/stubs_entry_2.S
r1233 r1343 24 24 NHSTUB(platformsub_kbd_fetch_data,0xFFC30B28) 25 25 NHSTUB(LEDDrive,0xffc30088) 26 NHSTUB(Unmount_FileSystem,0xFFC00950)//null27 NHSTUB(Mount_FileSystem,0xFFC00950)//null28 26 NHSTUB(DoAFLock,0xFFC14F40) 29 27 NHSTUB(SetZoomActuatorSpeedPercent,0xFFC00950)//null 30 NHSTUB(rewinddir,0xFFC00950)//null31 28 NHSTUB(UnlockAF,0xFFC14F78) 32 29 NHSTUB(SetScriptMode,0xFFC5CAB4) -
branches/philmoz/platform/a2000/sub/100c/stubs_entry_2.S
r1018 r1343 168 168 NHSTUB(SetZoomActuatorSpeedPercent, 0xFFC00940) // nullsub 169 169 170 // Those aren't used or don't exist in DryOS171 NHSTUB(Unmount_FileSystem, 0xFFC00940)172 NHSTUB(Mount_FileSystem, 0xFFC00940)173 NHSTUB(rewinddir, 0xFFC00940)174 175 170 NHSTUB(SetScriptMode, 0xFFC5C77C) // string 176 171 NHSTUB(Restart, 0xFFC189EC) -
branches/philmoz/platform/a470/sub/100e/stubs_entry_2.S
r1320 r1343 37 37 NHSTUB(kbd_pwr_on, 0xffc00948) 38 38 NHSTUB(kbd_pwr_off, 0xffc00948) 39 NSTUB(Unmount_FileSystem, 0xffc00948)40 NSTUB(Mount_FileSystem, 0xffc00948)41 NSTUB(rewinddir, 0xffc00948)42 39 NSTUB(SetZoomActuatorSpeedPercent, 0xffc00948) 43 40 //NSTUB(taskcreate_AudioTsk, 0xFFC3591C) -
branches/philmoz/platform/a470/sub/101b/stubs_entry_2.S
r1320 r1343 37 37 NHSTUB(kbd_pwr_on, 0xffc00948) 38 38 NHSTUB(kbd_pwr_off, 0xffc00948) 39 NSTUB(Unmount_FileSystem, 0xffc00948)40 NSTUB(Mount_FileSystem, 0xffc00948)41 NSTUB(rewinddir, 0xffc00948)42 39 NSTUB(SetZoomActuatorSpeedPercent, 0xffc00948) 43 40 //NSTUB(taskcreate_AudioTsk, 0xFFC3591C) -
branches/philmoz/platform/a470/sub/102c/stubs_entry_2.S
r1320 r1343 37 37 NHSTUB(kbd_pwr_on, 0xffc00948) 38 38 NHSTUB(kbd_pwr_off, 0xffc00948) 39 NSTUB(Unmount_FileSystem, 0xffc00948)40 NSTUB(Mount_FileSystem, 0xffc00948)41 NSTUB(rewinddir, 0xffc00948)42 39 NSTUB(SetZoomActuatorSpeedPercent, 0xffc00948) 43 40 //NSTUB(taskcreate_AudioTsk, 0xFFC3591C) -
branches/philmoz/platform/a480/sub/100b/stubs_entry_2.S
r1320 r1343 43 43 44 44 NHSTUB(kbd_pwr_on, 0xFFC00954) 45 NHSTUB(rewinddir, 0xFFC00954)46 45 NHSTUB(SetZoomActuatorSpeedPercent, 0xFFC00954) 47 NHSTUB(Mount_FileSystem, 0xFFC00954)48 NHSTUB(Unmount_FileSystem, 0xFFC00954)49 46 50 47 -
branches/philmoz/platform/a490/sub/100f/stubs_entry_2.S
r1320 r1343 63 63 64 64 // --- Those aren't used or don't exist in DryOS (like A720 and other) 65 NHSTUB(Mount_FileSystem, 0xFFC00B20) // nullsub_166 NHSTUB(Unmount_FileSystem, 0xFFC00B20) // nullsub_167 NHSTUB(rewinddir, 0xFFC00B20) // nullsub_168 65 NHSTUB(kbd_pwr_on, 0xFFC00B20) 69 66 NHSTUB(kbd_pwr_off, 0xFFC00B20) -
branches/philmoz/platform/a495/sub/100d/stubs_entry_2.S
r1218 r1343 54 54 NHSTUB(WriteSDCard, 0xffcfcb1c ) // 0xffcfc938 55 55 NHSTUB(GetImageFolder, 0xffcf1428) 56 NHSTUB(Mount_FileSystem, 0xffc00b20)57 NHSTUB(Unmount_FileSystem, 0xffc00b20)58 NHSTUB(rewinddir, 0xffc00b20)59 56 NHSTUB(kbd_pwr_on, 0xffc00b20) 60 57 NHSTUB(kbd_pwr_off, 0xffc435e4) // 2011JUN26 was 0xffc00b20) -
branches/philmoz/platform/a495/sub/100e/stubs_entry_2.S
r1218 r1343 55 55 NHSTUB(WriteSDCard, 0xffcfcbcc) // 0xffcfc9e8) 56 56 NHSTUB(GetImageFolder, 0xffcf1478) 57 NHSTUB(Mount_FileSystem, 0xffc00b20)58 NHSTUB(Unmount_FileSystem, 0xffc00b20)59 NHSTUB(rewinddir, 0xffc00b20)60 57 NHSTUB(kbd_pwr_on, 0xffc00b20) 61 58 NHSTUB(kbd_pwr_off, 0xffc435e4) -
branches/philmoz/platform/a495/sub/100f/stubs_entry_2.S
r1218 r1343 65 65 66 66 // --- Those aren't used or don't exist in DryOS (like A720 and other) 67 NHSTUB(Mount_FileSystem, 0xFFC00B20) // nullsub_168 NHSTUB(Unmount_FileSystem, 0xFFC00B20) // nullsub_169 NHSTUB(rewinddir, 0xFFC00B20) // nullsub_170 67 NHSTUB(kbd_pwr_on, 0xFFC00B20) 71 68 NHSTUB(kbd_pwr_off, 0xffc435e4) // 0xFFC00B20) -
branches/philmoz/platform/a580/sub/101b/stubs_entry_2.S
r1320 r1343 6 6 7 7 // These don't exist/aren't found in dryos 8 NHSTUB(Mount_FileSystem, NULL_SUB)9 8 NHSTUB(SetZoomActuatorSpeedPercent, NULL_SUB) 10 NHSTUB(Unmount_FileSystem, NULL_SUB)11 NHSTUB(rewinddir, NULL_SUB)12 9 13 10 // Additional -
branches/philmoz/platform/a590/sub/100e/stubs_entry_2.S
r1320 r1343 56 56 //NSTUB(taskUnlock, 0xFFC00948) 57 57 58 // NULLSUBS59 NHSTUB(Mount_FileSystem, 0xFFC00948)60 NHSTUB(Unmount_FileSystem, 0xFFC00948)61 NHSTUB(rewinddir, 0xFFC00948)62 63 58 //NSTUB(CreatePhysicalVram, 0xFFC00948) 64 59 //NSTUB(CreateTaskStrict, 0xFFC00948) -
branches/philmoz/platform/a590/sub/101b/stubs_entry_2.S
r1320 r1343 30 30 31 31 // NULLSUBS 32 NHSTUB(Unmount_FileSystem, 0xffc00948)33 NHSTUB(Mount_FileSystem, 0xffc00948)34 NHSTUB(rewinddir, 0xffc00948)35 32 NHSTUB(SetZoomActuatorSpeedPercent, 0xffc00948) 36 33 -
branches/philmoz/platform/a650/sub/100d/stubs_entry_2.S
r844 r1343 104 104 NSTUB(taskLock, 0xFFC00958) 105 105 NSTUB(taskUnlock, 0xFFC00958) 106 NSTUB(Mount_FileSystem, 0xFFC00958)107 NSTUB(Unmount_FileSystem, 0xFFC00958)108 NSTUB(rewinddir, 0xFFC00958)109 106 NHSTUB(SetZoomActuatorSpeedPercent, 0xFFC00958) 110 107 NSTUB(CreatePhysicalVram, 0xFFC00958) -
branches/philmoz/platform/a720/sub/100c/stubs_entry_2.S
r1190 r1343 155 155 //NSTUB(taskSuspend, 0xFFC00958) 156 156 NSTUB(taskUnlock, 0xFFC00958) 157 NSTUB(Mount_FileSystem, 0xFFC00958)158 NSTUB(Unmount_FileSystem, 0xFFC00958)159 NSTUB(rewinddir, 0xFFC00958)160 157 NSTUB(CreatePhysicalVram, 0xFFC00958) 161 158 NSTUB(CreateTaskStrict, 0xFFC00958) -
branches/philmoz/platform/d10/sub/100a/stubs_entry_2.S
r1320 r1343 38 38 39 39 // These don't exist/aren't found in dryos 40 NHSTUB(Mount_FileSystem,NULLSUB) // NULLSUB41 NHSTUB(Unmount_FileSystem,NULLSUB) // NULLSUB42 NHSTUB(rewinddir,NULLSUB) // NULLSUB43 40 NHSTUB(SetZoomActuatorSpeedPercent,NULLSUB) // NULLSUB 44 41 -
branches/philmoz/platform/g10/sub/102a/stubs_entry_2.S
r1333 r1343 12 12 13 13 NHSTUB(kbd_pwr_on, 0xFF81093C ) 14 NHSTUB(rewinddir, 0xFF81093C )15 NHSTUB(Unmount_FileSystem, 0xFF81093C )16 NHSTUB(Mount_FileSystem, 0xFF81093C )17 14 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF81093C ) 18 15 -
branches/philmoz/platform/g10/sub/103b/stubs_entry_2.S
r1333 r1343 12 12 13 13 NHSTUB(kbd_pwr_on, 0xFF81093C ) 14 NHSTUB(rewinddir, 0xFF81093C )15 NHSTUB(Unmount_FileSystem, 0xFF81093C )16 NHSTUB(Mount_FileSystem, 0xFF81093C )17 14 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF81093C ) 18 15 -
branches/philmoz/platform/g10/sub/104a/stubs_entry_2.S
r1333 r1343 12 12 13 13 NHSTUB(kbd_pwr_on, 0xFF81093C ) 14 NHSTUB(rewinddir, 0xFF81093C )15 NHSTUB(Unmount_FileSystem, 0xFF81093C )16 NHSTUB(Mount_FileSystem, 0xFF81093C )17 14 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF81093C ) 18 15 -
branches/philmoz/platform/g11/sub/100f/stubs_entry_2.S
r1320 r1343 43 43 // nullsubs 44 44 NHSTUB(kbd_pwr_on, 0xFF810B04) // nullsub 45 NHSTUB(rewinddir, 0xFF810B04) // nullsub46 NHSTUB(Unmount_FileSystem, 0xFF810B04) // nullsub47 NHSTUB(Mount_FileSystem, 0xFF810B04) // nullsub48 45 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B04) // nullsub 49 46 -
branches/philmoz/platform/g11/sub/100j/stubs_entry_2.S
r1320 r1343 45 45 // nullsubs 46 46 NHSTUB(kbd_pwr_on, 0xFF810B04) // nullsub 47 NHSTUB(rewinddir, 0xFF810B04) // nullsub48 NHSTUB(Unmount_FileSystem, 0xFF810B04) // nullsub49 NHSTUB(Mount_FileSystem, 0xFF810B04) // nullsub50 47 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B04) // nullsub 51 48 -
branches/philmoz/platform/g11/sub/100l/stubs_entry_2.S
r1320 r1343 45 45 // nullsubs 46 46 NHSTUB(kbd_pwr_on, 0xFF810B04) // nullsub 47 NHSTUB(rewinddir, 0xFF810B04) // nullsub48 NHSTUB(Unmount_FileSystem, 0xFF810B04) // nullsub49 NHSTUB(Mount_FileSystem, 0xFF810B04) // nullsub50 47 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B04) // nullsub 51 48 -
branches/philmoz/platform/g12/lib.c
r1320 r1343 139 139 return (palette_buffer[active_palette_buffer]+8); 140 140 } 141 142 // Function to load CHDK custom colors into active Canon palette 143 void load_chdk_palette() 144 { 145 extern int active_palette_buffer; 146 // Only load for the standard record and playback palettes 147 if ((active_palette_buffer == 0) || (active_palette_buffer == 4)) 148 { 149 int *pal = (int*)vid_get_bitmap_active_palette(); 150 if (pal[CHDK_COLOR_BASE+0] != 0x33ADF62) 151 { 152 pal[CHDK_COLOR_BASE+0] = 0x33ADF62; // Red 153 pal[CHDK_COLOR_BASE+1] = 0x326EA40; // Dark Red 154 pal[CHDK_COLOR_BASE+2] = 0x34CD57F; // Light Red 155 pal[CHDK_COLOR_BASE+3] = 0x373BFAE; // Green 156 pal[CHDK_COLOR_BASE+4] = 0x34BD6CA; // Dark Green 157 pal[CHDK_COLOR_BASE+5] = 0x395AB95; // Light Green 158 pal[CHDK_COLOR_BASE+6] = 0x34766F0; // Blue 159 pal[CHDK_COLOR_BASE+7] = 0x31250F3; // Dark Blue 160 pal[CHDK_COLOR_BASE+8] = 0x37F408F; // Cyan 161 pal[CHDK_COLOR_BASE+9] = 0x3512D5B; // Magenta 162 pal[CHDK_COLOR_BASE+10] = 0x3A9A917; // Yellow 163 pal[CHDK_COLOR_BASE+11] = 0x3819137; // Dark Yellow 164 pal[CHDK_COLOR_BASE+12] = 0x3DED115; // Light Yellow 165 166 extern char palette_control; 167 palette_control = 1; 168 vid_bitmap_refresh(); 169 } 170 } 171 } -
branches/philmoz/platform/g12/platform_camera.h
r1320 r1343 59 59 60 60 #undef CAM_BITMAP_PALETTE 61 #define CAM_BITMAP_PALETTE 761 #define CAM_BITMAP_PALETTE 12 62 62 63 63 #undef CAM_USES_ASPECT_CORRECTION … … 115 115 #define CAM_DISABLE_RAW_IN_LOW_LIGHT_MODE 1 // For cameras with 'low light' mode that does now work with raw define this 116 116 117 #define CAM_LOAD_CUSTOM_COLORS 1 // Enable loading CHDK colors into the camera palette memory/hardware 118 #define CHDK_COLOR_BASE 0xB3 // Start color index for CHDK colors loaded into camera palette. 119 #define CAM_USE_COLORED_ICONS 1 // Enable using the CHDK-DE colored icons. 120 117 121 //---------------------------------------------------------- 118 122 -
branches/philmoz/platform/g12/sub/100c/stubs_entry_2.S
r1320 r1343 7 7 NHSTUB(kbd_pwr_off, 0xFF810B1C) // ??? not on sx20 or s95 8 8 NHSTUB(kbd_pwr_on, 0xFF810B1C) // ??? not on sx20 or s95 9 NHSTUB(rewinddir, 0xFF810B1C)10 9 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B1C) 11 NHSTUB(Unmount_FileSystem, 0xFF810B1C)12 NHSTUB(Mount_FileSystem, 0xFF810B1C) -
branches/philmoz/platform/g12/sub/100c/stubs_min.S
r1320 r1343 22 22 DEF(active_bitmap_buffer, 0xA610) // 0xA5FC+0x14 (1.00c sub_FFA57B64 -> FFA57B68 + FFA57BB8) 23 23 DEF(bitmap_buffer, 0xA618) // FFA57BB4 24 DEF(palette_control, 0xA5DC) // sub_FFA53CDC (1.00c) 24 25 DEF(active_palette_buffer, 0xA5E4) // sub_FFA53C24 (1.00c) 25 26 DEF(palette_buffer, 0xBBF5C) // sub_FFA54118 (1.00c) -
branches/philmoz/platform/g12/sub/100e/stubs_entry_2.S
r1320 r1343 7 7 NHSTUB(kbd_pwr_off, 0xFF810B1C) // ??? not on sx20 or s95 8 8 NHSTUB(kbd_pwr_on, 0xFF810B1C) // ??? not on sx20 or s95 9 NHSTUB(rewinddir, 0xFF810B1C)10 9 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B1C) 11 NHSTUB(Unmount_FileSystem, 0xFF810B1C)12 NHSTUB(Mount_FileSystem, 0xFF810B1C) -
branches/philmoz/platform/g12/sub/100e/stubs_min.S
r1320 r1343 22 22 DEF(active_bitmap_buffer, 0xA610) // 0xA5FC+0x14 (1.00e sub_FFA57B70 -> FFA57B74 + FFA57BC4) 23 23 DEF(bitmap_buffer, 0xA618) // FFA57BC0 24 DEF(palette_control, 0xA5DC) // sub_FFA53CDC (1.00c) 24 25 DEF(active_palette_buffer, 0xA5E4) // sub_FFA53C24 (1.00c) 25 26 DEF(palette_buffer, 0xBBF5C) // sub_FFA54118 (1.00c) -
branches/philmoz/platform/g12/sub/100f/stubs_entry_2.S
r1333 r1343 7 7 NHSTUB(kbd_pwr_off, 0xFF810B1C) // ??? not on sx20 or s95 8 8 NHSTUB(kbd_pwr_on, 0xFF810B1C) // ??? not on sx20 or s95 9 NHSTUB(rewinddir, 0xFF810B1C)10 9 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B1C) 11 NHSTUB(Unmount_FileSystem, 0xFF810B1C)12 NHSTUB(Mount_FileSystem, 0xFF810B1C) -
branches/philmoz/platform/g12/sub/100f/stubs_min.S
r1333 r1343 22 22 DEF(active_bitmap_buffer, 0xA610) // 0xA5FC+0x14 (1.00f sub_FFA57B70 -> FFA57B74 + FFA57BC4) 23 23 DEF(bitmap_buffer, 0xA618) // FFA57BC0 24 DEF(palette_control, 0xA5DC) // sub_FFA53CDC (1.00c) 24 25 DEF(active_palette_buffer, 0xA5E4) // sub_FFA53C24 (1.00c) 25 26 DEF(palette_buffer, 0xBBF5C) // sub_FFA54118 (1.00c) -
branches/philmoz/platform/g12/sub/100g/stubs_entry_2.S
r1321 r1343 7 7 NHSTUB(kbd_pwr_off, 0xFF810B1C) // ??? not on sx20 or s95 8 8 NHSTUB(kbd_pwr_on, 0xFF810B1C) // ??? not on sx20 or s95 9 NHSTUB(rewinddir, 0xFF810B1C)10 9 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B1C) 11 NHSTUB(Unmount_FileSystem, 0xFF810B1C)12 NHSTUB(Mount_FileSystem, 0xFF810B1C) -
branches/philmoz/platform/g12/sub/100g/stubs_min.S
r1321 r1343 22 22 DEF(active_bitmap_buffer, 0xA610) // 0xA5FC+0x14 (1.00g sub_FFA57B70 -> FFA57B74 + FFA57BC4) 23 23 DEF(bitmap_buffer, 0xA618) // FFA57BC0 24 DEF(palette_control, 0xA5DC) // sub_FFA53CDC (1.00c) 24 25 DEF(active_palette_buffer, 0xA5E4) // sub_FFA53C24 (1.00c) 25 26 DEF(palette_buffer, 0xBBF5C) // sub_FFA54118 (1.00c) -
branches/philmoz/platform/g9/sub/100d/stubs_entry_2.S
r1018 r1343 170 170 // NSTUB(taskSuspend, 0xFF810958) 171 171 NSTUB(taskUnlock, 0xFF810958) 172 NSTUB(Mount_FileSystem, 0xFF810958)173 NSTUB(Unmount_FileSystem, 0xFF810958)174 NSTUB(rewinddir, 0xFF810958)175 172 NSTUB(CreatePhysicalVram, 0xFF810958) 176 173 NSTUB(CreateTaskStrict, 0xFF810958) -
branches/philmoz/platform/g9/sub/100g/stubs_entry_2.S
r1018 r1343 164 164 // NSTUB(taskSuspend, 0xFF810958) 165 165 NSTUB(taskUnlock, 0xFF810958) 166 NSTUB(Mount_FileSystem, 0xFF810958)167 NSTUB(Unmount_FileSystem, 0xFF810958)168 NSTUB(rewinddir, 0xFF810958)169 166 NSTUB(CreatePhysicalVram, 0xFF810958) 170 167 NSTUB(CreateTaskStrict, 0xFF810958) -
branches/philmoz/platform/g9/sub/100i/stubs_entry_2.S
r1320 r1343 4 4 NHSTUB(kbd_pwr_off, 0xFF810958) // nullsub 5 5 NHSTUB(kbd_pwr_on, 0xFF810958) // nullsub 6 NHSTUB(Mount_FileSystem, 0xFF810958) // nullsub7 NHSTUB(Unmount_FileSystem, 0xFF810958) // nullsub8 6 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810958) // nullsub 9 7 NHSTUB(PT_PlaySound, 0xFF866454) 10 NHSTUB(rewinddir, 0xFF810958) // nullsub11 8 NHSTUB(DoAFLock, 0xff8275cc) 12 9 NHSTUB(UnlockAF, 0xff827638) -
branches/philmoz/platform/generic/wrappers.c
r1340 r1343 115 115 return _taskIdListGet(idlist,size); 116 116 } 117 #endif118 119 long get_property_case(long id, void *buf, long bufsize)120 {121 return _GetPropertyCase(id, buf, bufsize);122 }123 124 long set_property_case(long id, void *buf, long bufsize)125 {126 return _SetPropertyCase(id, buf, bufsize);127 }128 129 long get_parameter_data(long id, void *buf, long bufsize)130 {131 return _GetParameterData(id|0x4000, buf, bufsize);132 }133 134 long set_parameter_data(long id, void *buf, long bufsize)135 {136 return _SetParameterData(id|0x4000, buf, bufsize);137 }138 117 139 118 void remount_filesystem() … … 141 120 _Unmount_FileSystem(); 142 121 _Mount_FileSystem(); 122 } 123 #endif 124 125 long get_property_case(long id, void *buf, long bufsize) 126 { 127 return _GetPropertyCase(id, buf, bufsize); 128 } 129 130 long set_property_case(long id, void *buf, long bufsize) 131 { 132 return _SetPropertyCase(id, buf, bufsize); 133 } 134 135 long get_parameter_data(long id, void *buf, long bufsize) 136 { 137 return _GetParameterData(id|0x4000, buf, bufsize); 138 } 139 140 long set_parameter_data(long id, void *buf, long bufsize) 141 { 142 return _SetParameterData(id|0x4000, buf, bufsize); 143 143 } 144 144 … … 425 425 } 426 426 427 /* not used 427 428 void rewinddir(DIR *d) { 428 429 if(!d) { … … 431 432 _rewinddir(d->dh); 432 433 } 434 */ 435 433 436 #endif // dryos dir functions 434 437 -
branches/philmoz/platform/ixus100_sd780/sub/100b/stubs_entry_2.S
r1333 r1343 8 8 NHSTUB(VbattGet, 0xff820644) // 0xff91b708 9 9 NHSTUB(vsprintf, 0xff81cba0) 10 NHSTUB(Mount_FileSystem, 0xff858bec)11 NHSTUB(Unmount_FileSystem, 0xff858bec)12 NHSTUB(rewinddir, 0xff858bec)13 10 NHSTUB(SetZoomActuatorSpeedPercent, 0xff858bec) 14 11 NHSTUB(strchr, 0xff88779c) -
branches/philmoz/platform/ixus100_sd780/sub/100c/stubs_entry_2.S
r1320 r1343 4 4 NHSTUB(VbattGet,0xff820644) // sigfinder2 5 5 NHSTUB(vsprintf,0xFF81CBA0) //eventproc_export_CPrintf look for function called before error txt 6 NHSTUB(Mount_FileSystem,0xFF858BEC) //Do we fix? Not in Dryos?7 NHSTUB(Unmount_FileSystem,0xFF858BEC) //Do we fix? Not in Dryos?8 NHSTUB(rewinddir,0xFF858BEC) //Do we fix? Not in Dryos?9 6 NHSTUB(SetZoomActuatorSpeedPercent,0xFF858BEC) //Do we fix? Not in Dryos? 10 7 NHSTUB(strchr,0xFF88779C) //search AND R2, R1, #0xFF then LDRB R1, [R0] -
branches/philmoz/platform/ixus120_sd940/sub/100e/stubs_entry_2.S
r1216 r1343 80 80 NHSTUB(kbd_pwr_on , NULLSUB) 81 81 NHSTUB(kbd_pwr_off, NULLSUB) 82 NHSTUB(rewinddir, NULLSUB)83 82 NHSTUB(SetZoomActuatorSpeedPercent, NULLSUB) 84 NHSTUB(Unmount_FileSystem, NULLSUB)85 NHSTUB(Mount_FileSystem, NULLSUB)86 83 -
branches/philmoz/platform/ixus120_sd940/sub/101a/stubs_entry_2.S
r1216 r1343 79 79 NHSTUB(kbd_pwr_off, NULLSUB) 80 80 81 NHSTUB(rewinddir, NULLSUB)82 81 NHSTUB(SetZoomActuatorSpeedPercent, NULLSUB) 83 NHSTUB(Unmount_FileSystem, NULLSUB)84 NHSTUB(Mount_FileSystem, NULLSUB) -
branches/philmoz/platform/ixus120_sd940/sub/102c/stubs_entry_2.S
r1216 r1343 87 87 88 88 // ignore 89 NHSTUB(rewinddir,NULLSUB)90 89 NHSTUB(SetZoomActuatorSpeedPercent,NULLSUB) 91 NHSTUB(Mount_FileSystem,NULLSUB)92 NHSTUB(Unmount_FileSystem,NULLSUB)93 90 94 91 // need to redo?? -
branches/philmoz/platform/ixus120_sd940/sub/103b/stubs_entry_2.S
r1216 r1343 98 98 NHSTUB(kbd_pwr_on , NULLSUB) //** not found in SD90 or SD940-102c 99 99 NHSTUB(kbd_pwr_off, NULLSUB) //** 0xff858e10 = best match: 51% in finsig 100 NHSTUB(rewinddir, NULLSUB) //** not found in SD90 or SD940-102c101 100 NHSTUB(SetZoomActuatorSpeedPercent, NULLSUB) //** not found in SD90 or SD940-102c 102 NHSTUB(Unmount_FileSystem, NULLSUB) //** not found in SD90 or SD940-102c103 NHSTUB(Mount_FileSystem, NULLSUB) //** not found in SD90 or SD940-102c -
branches/philmoz/platform/ixus120_sd940/sub/103c/stubs_entry_2.S
r1216 r1343 100 100 NHSTUB(kbd_pwr_on , NULLSUB) //** not found in SD90 or SD940-102c 101 101 NHSTUB(kbd_pwr_off, NULLSUB) //** 0xff858e10 = best match: 51% in finsig 102 NHSTUB(rewinddir, NULLSUB) //** not found in SD90 or SD940-102c103 102 NHSTUB(SetZoomActuatorSpeedPercent, NULLSUB) //** not found in SD90 or SD940-102c 104 NHSTUB(Unmount_FileSystem, NULLSUB) //** not found in SD90 or SD940-102c105 NHSTUB(Mount_FileSystem, NULLSUB) //** not found in SD90 or SD940-102c106 103 107 104 NHSTUB(GetImageFolder, 0xFF919078) // function before 'GetCameraObjectTmpPath ERROR' string -
branches/philmoz/platform/ixus200_sd980/sub/101c/stubs_entry_2.S
r1320 r1343 56 56 57 57 NHSTUB(kbd_pwr_on, 0xFF810B04) 58 NHSTUB(Unmount_FileSystem, 0xFF810B04)59 NHSTUB(Mount_FileSystem, 0xFF810B04)60 58 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B04) 61 NHSTUB(rewinddir, 0xFF810B04)62 59 63 60 NHSTUB(SetScriptMode, 0xFF810F4) -
branches/philmoz/platform/ixus200_sd980/sub/101d/stubs_entry_2.S
r1320 r1343 50 50 51 51 NHSTUB(kbd_pwr_on, 0xff810b04) 52 NHSTUB(Unmount_FileSystem, 0xff810b04)53 NHSTUB(Mount_FileSystem, 0xff810b04)54 52 NHSTUB(SetZoomActuatorSpeedPercent, 0xff810b04) 55 NHSTUB(rewinddir, 0xff810b04)56 53 57 54 NHSTUB(SetScriptMode, 0xff89079c) -
branches/philmoz/platform/ixus300_sd4000/sub/100d/stubs_entry_2.S
r1320 r1343 56 56 57 57 // --- Those aren't used or don't exist in DryOS (like A720 and other) 58 NHSTUB(Mount_FileSystem, NULLSUB) // nullsub_159 NHSTUB(Unmount_FileSystem, NULLSUB) // nullsub_160 NHSTUB(rewinddir, NULLSUB) // nullsub_161 58 NHSTUB(kbd_pwr_off, NULLSUB) // nullsub_1, does not exist, like SD990 62 59 NHSTUB(kbd_pwr_on, NULLSUB) // nullsub_1, does not exist, like SD990 -
branches/philmoz/platform/ixus310_elph500hs/kbd.c
r1340 r1343 399 399 400 400 // Check if border of CHDK button is corrupted, force redraw if so 401 if (!draw_test_pixel(0, 80, (guiMode)?COLOR_ RED:COLOR_WHITE)) redraw_buttons = 1;401 if (!draw_test_pixel(0, 80, (guiMode)?COLOR_GREEN:COLOR_WHITE)) redraw_buttons = 1; 402 402 403 403 if (redraw_buttons) … … 411 411 //c2 = MAKE_COLOR((camMode&MODE_VID)?COLOR_TRANSPARENT:COLOR_RED, (camMode&MODE_VID)?COLOR_RED:COLOR_WHITE); 412 412 color c1 = MAKE_COLOR(COLOR_TRANSPARENT, COLOR_WHITE); 413 color c2 = MAKE_COLOR(COLOR_TRANSPARENT, COLOR_ RED);413 color c2 = MAKE_COLOR(COLOR_TRANSPARENT, COLOR_GREEN); 414 414 415 415 for (i=0; keymap[i].hackkey; i++) -
branches/philmoz/platform/ixus310_elph500hs/lib.c
r1340 r1343 114 114 return (palette_buffer[active_palette_buffer]+8); 115 115 } 116 117 // Function to load CHDK custom colors into active Canon palette 118 void load_chdk_palette() 119 { 120 extern int active_palette_buffer; 121 // Only load for the standard record and playback palettes 122 if ((active_palette_buffer == 0) || (active_palette_buffer == 16)) 123 { 124 int *pal = (int*)vid_get_bitmap_active_palette(); 125 if (pal[CHDK_COLOR_BASE+0] != 0x33ADF62) 126 { 127 pal[CHDK_COLOR_BASE+0] = 0x33ADF62; // Red 128 pal[CHDK_COLOR_BASE+1] = 0x326EA40; // Dark Red 129 pal[CHDK_COLOR_BASE+2] = 0x34CD57F; // Light Red 130 pal[CHDK_COLOR_BASE+3] = 0x373BFAE; // Green 131 pal[CHDK_COLOR_BASE+4] = 0x34BD6CA; // Dark Green 132 pal[CHDK_COLOR_BASE+5] = 0x395AB95; // Light Green 133 pal[CHDK_COLOR_BASE+6] = 0x34766F0; // Blue 134 pal[CHDK_COLOR_BASE+7] = 0x31250F3; // Dark Blue 135 pal[CHDK_COLOR_BASE+8] = 0x37F408F; // Cyan 136 pal[CHDK_COLOR_BASE+9] = 0x3512D5B; // Magenta 137 pal[CHDK_COLOR_BASE+10] = 0x3A9A917; // Yellow 138 pal[CHDK_COLOR_BASE+11] = 0x3819137; // Dark Yellow 139 pal[CHDK_COLOR_BASE+12] = 0x3DED115; // Light Yellow 140 141 extern char palette_control; 142 palette_control = 1; 143 vid_bitmap_refresh(); 144 } 145 } 146 } -
branches/philmoz/platform/ixus310_elph500hs/platform_camera.h
r1340 r1343 128 128 #define DNG_VERT_RLE_BADPIXELS 1 // Enable vertical run length compression of bad pixels, reduces badpixel.bin file size by approx 45% 129 129 130 #define CAM_LOAD_CUSTOM_COLORS 1 // Enable loading CHDK colors into the camera palette memory/hardware 131 #define CHDK_COLOR_BASE 0xB3 // Start color index for CHDK colors loaded into camera palette. 132 #define CAM_USE_COLORED_ICONS 1 // Enable using the CHDK-DE colored icons. 133 130 134 //---------------------------------------------------------- 131 135 -
branches/philmoz/platform/ixus310_elph500hs/sub/100a/stubs_entry_2.S
r1340 r1343 4 4 5 5 NHSTUB(kbd_pwr_on, 0xFF055974) // null 6 NHSTUB(rewinddir, 0xFF055974) // null7 6 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF055974) // null 8 NHSTUB(Unmount_FileSystem, 0xFF055974) // null9 NHSTUB(Mount_FileSystem, 0xFF055974) // null10 7 11 8 NHSTUB(SetCDSGain, 0xFF384A38) -
branches/philmoz/platform/ixus310_elph500hs/sub/100a/stubs_min.S
r1340 r1343 27 27 DEF(active_bitmap_buffer, 0xA45C) // 0xA448+0x14 (1.00a sub_FF249A94 -> FF249A98 + FF249AF0) 28 28 DEF(bitmap_buffer, 0xA464) // FF249AEC 29 DEF(palette_control, 0xA424) // sub_FF244A48 (1.00a) 29 30 DEF(active_palette_buffer, 0xA42C) // sub_FF244990 (1.00a) 30 31 DEF(palette_buffer, 0xC7DEC) // sub_FF244E28 (1.00a) -
branches/philmoz/platform/ixus310_elph500hs/sub/101a/stubs_entry_2.S
r1340 r1343 4 4 5 5 NHSTUB(kbd_pwr_on, 0xFF055974) // null 6 NHSTUB(rewinddir, 0xFF055974) // null7 6 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF055974) // null 8 NHSTUB(Unmount_FileSystem, 0xFF055974) // null9 NHSTUB(Mount_FileSystem, 0xFF055974) // null10 7 11 8 NHSTUB(SetCDSGain, 0xFF384A50) -
branches/philmoz/platform/ixus80_sd1100/sub/100c/stubs_entry_2.S
r1320 r1343 22 22 // vx stuff 23 23 // not found or used in dryos 24 NHSTUB(rewinddir, do_nothing)25 24 NHSTUB(SetZoomActuatorSpeedPercent, do_nothing) 26 NHSTUB(Unmount_FileSystem, do_nothing)27 NHSTUB(Mount_FileSystem, do_nothing)28 25 NHSTUB(taskUnlock, do_nothing) 29 26 NHSTUB(taskLock, do_nothing) -
branches/philmoz/platform/ixus80_sd1100/sub/101a/stubs_entry_2.S
r1320 r1343 21 21 // vx stuff 22 22 // not found or used in dryos 23 NHSTUB(rewinddir, do_nothing)24 23 NHSTUB(SetZoomActuatorSpeedPercent, do_nothing) 25 NHSTUB(Unmount_FileSystem, do_nothing)26 NHSTUB(Mount_FileSystem, do_nothing)27 24 NHSTUB(taskUnlock, do_nothing) 28 25 NHSTUB(taskLock, do_nothing) -
branches/philmoz/platform/ixus85_sd770/sub/100a/stubs_entry_2.S
r1320 r1343 45 45 //Nullsubs 46 46 #define do_nothing 0xFFA7D820 47 NHSTUB(Mount_FileSystem, do_nothing)48 NHSTUB(Unmount_FileSystem, do_nothing)49 47 NHSTUB(SetZoomActuatorSpeedPercent, do_nothing) 50 NHSTUB(rewinddir, do_nothing)51 48 NHSTUB(nullsub_35, do_nothing) 52 49 NHSTUB(nullsub_37, do_nothing) -
branches/philmoz/platform/ixus860_sd870/sub/100c/stubs_entry_2.S
r1320 r1343 122 122 //NSTUB(taskSuspend, 0xFF810958) 123 123 NSTUB(taskUnlock, 0xFF810958) 124 NSTUB(Mount_FileSystem, 0xFF810958)125 NSTUB(Unmount_FileSystem, 0xFF810958)126 NSTUB(rewinddir, 0xFF810958)127 124 NSTUB(CreatePhysicalVram, 0xFF810958) 128 125 NSTUB(CreateTaskStrict, 0xFF810958) -
branches/philmoz/platform/ixus870_sd880/sub/100e/stubs_entry_2.S
r1320 r1343 21 21 NHSTUB(UnlockAF, 0xFF825610) // via aAfUnlock 22 22 NHSTUB(DoAFLock, 0xFF8255D8) // via aAfLock 23 NHSTUB(rewinddir,NULL_SUB)24 23 NHSTUB(SetZoomActuatorSpeedPercent,NULL_SUB) 25 NHSTUB(Mount_FileSystem,NULL_SUB)26 NHSTUB(Unmount_FileSystem,NULL_SUB)27 24 NHSTUB(platformsub_kbd_fetch_data, 0xFF846248) // GetKbdState 28 25 NHSTUB(UnsetZoomForMovie,0xFF96079C) // via aZoomcon_Unsetz (used ixus980 dump) -
branches/philmoz/platform/ixus870_sd880/sub/101a/stubs_entry_2.S
r1320 r1343 24 24 NHSTUB(UnlockAF, 0xFF825610) // via aAfUnlock 25 25 NHSTUB(DoAFLock, 0xFF8255D8) // via aAfLock 26 NHSTUB(rewinddir,NULL_SUB)27 26 NHSTUB(SetZoomActuatorSpeedPercent,NULL_SUB) 28 NHSTUB(Mount_FileSystem,NULL_SUB)29 NHSTUB(Unmount_FileSystem,NULL_SUB)30 27 NHSTUB(platformsub_kbd_fetch_data, 0xFF846248) // GetKbdState 31 28 NHSTUB(UnsetZoomForMovie,0xFF9607A0) // via aZoomcon_Unsetz (used ixus980 dump) -
branches/philmoz/platform/ixus870_sd880/sub/102b/stubs_entry_2.S
r1320 r1343 24 24 NHSTUB(UnlockAF, 0xFF825610) // via aAfUnlock 25 25 NHSTUB(DoAFLock, 0xFF8255D8) // via aAfLock 26 NHSTUB(rewinddir,NULL_SUB)27 26 NHSTUB(SetZoomActuatorSpeedPercent,NULL_SUB) 28 NHSTUB(Mount_FileSystem,NULL_SUB)29 NHSTUB(Unmount_FileSystem,NULL_SUB)30 27 NHSTUB(platformsub_kbd_fetch_data, 0xFF846248) // GetKbdState 31 28 NHSTUB(UnsetZoomForMovie,0xFF9607A0) // via aZoomcon_Unsetz (used ixus980 dump) -
branches/philmoz/platform/ixus90_sd790/sub/100c/stubs_entry_2.S
r1320 r1343 67 67 NHSTUB(taskLock, 0xFF810948) 68 68 NHSTUB(taskUnlock, 0xFF810948) 69 NHSTUB(Mount_FileSystem, 0xFF810948)70 NHSTUB(Unmount_FileSystem, 0xFF810948)71 NHSTUB(rewinddir, 0xFF810948)72 69 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810948) 73 70 NHSTUB(utime, 0xFF810948) -
branches/philmoz/platform/ixus90_sd790/sub/100d/stubs_entry_2.S
r1320 r1343 67 67 NHSTUB(taskLock, 0xFF810948) 68 68 NHSTUB(taskUnlock, 0xFF810948) 69 NHSTUB(Mount_FileSystem, 0xFF810948)70 NHSTUB(Unmount_FileSystem, 0xFF810948)71 NHSTUB(rewinddir, 0xFF810948)72 69 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810948) 73 70 NHSTUB(utime, 0xFF810948) -
branches/philmoz/platform/ixus95_sd1200/sub/100c/stubs_entry_2.S
r1320 r1343 60 60 61 61 // Don't exist in dryos 62 NHSTUB(Mount_FileSystem, 0xFFC00950) // NULLSUB63 NHSTUB(Unmount_FileSystem, 0xFFC00950) // NULLSUB64 NHSTUB(rewinddir, 0xFFC00950) // NULLSUB65 62 NHSTUB(SetZoomActuatorSpeedPercent, 0xFFC00950) // NULLSUB 66 63 -
branches/philmoz/platform/ixus960_sd950/sub/100d/stubs_entry_2.S
r1320 r1343 53 53 //NSTUB(taskSuspend, 0xFF810958) 54 54 NSTUB(taskUnlock, 0xFF810958) 55 NSTUB(Mount_FileSystem, 0xFF810958)56 NSTUB(Unmount_FileSystem, 0xFF810958)57 NSTUB(rewinddir, 0xFF810958)58 55 NSTUB(CreatePhysicalVram, 0xFF810958) 59 56 NSTUB(CreateTaskStrict, 0xFF810958) -
branches/philmoz/platform/ixus970_sd890/sub/100b/stubs_entry_2.S
r1320 r1343 44 44 45 45 //Nullsubs 46 NHSTUB(Mount_FileSystem, 0xFF810948)47 NHSTUB(Unmount_FileSystem, 0xFF810948)48 46 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810948) 49 NHSTUB(rewinddir, 0xFF810948)50 47 NHSTUB(nullsub_35, 0xFF810948) 51 48 NHSTUB(nullsub_37, 0xFF810948) -
branches/philmoz/platform/ixus970_sd890/sub/100c/stubs_entry_2.S
r1320 r1343 47 47 48 48 //Nullsubs 49 NHSTUB(Mount_FileSystem, 0xFF810948)50 NHSTUB(Unmount_FileSystem, 0xFF810948)51 49 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810948) 52 NHSTUB(rewinddir, 0xFF810948)53 50 NHSTUB(nullsub_35, 0xFF810948) 54 51 NHSTUB(nullsub_37, 0xFF810948) -
branches/philmoz/platform/ixus970_sd890/sub/100f/stubs_entry_2.S
r1320 r1343 47 47 48 48 //Nullsubs 49 NHSTUB(Mount_FileSystem, 0xFF810948)50 NHSTUB(Unmount_FileSystem, 0xFF810948)51 49 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810948) 52 NHSTUB(rewinddir, 0xFF810948)53 50 NHSTUB(nullsub_35, 0xFF810948) 54 51 NHSTUB(nullsub_37, 0xFF810948) -
branches/philmoz/platform/ixus980_sd990/sub/100e/stubs_entry_2.S
r1320 r1343 38 38 39 39 // These don't exist/aren't found in dryos 40 NHSTUB(Mount_FileSystem,0xFF81093C) // NULLSUB41 NHSTUB(Unmount_FileSystem,0xFF81093C) // NULLSUB42 NHSTUB(rewinddir,0xFF81093C) // NULLSUB43 40 NHSTUB(SetZoomActuatorSpeedPercent,0xFF81093C) // NULLSUB 44 41 -
branches/philmoz/platform/ixus980_sd990/sub/101b/stubs_entry_2.S
r1320 r1343 38 38 39 39 // These don't exist/aren't found in dryos 40 NHSTUB(Mount_FileSystem,0xFF81093C) // NULLSUB41 NHSTUB(Unmount_FileSystem,0xFF81093C) // NULLSUB42 NHSTUB(rewinddir,0xFF81093C) // NULLSUB43 40 NHSTUB(SetZoomActuatorSpeedPercent,0xFF81093C) // NULLSUB 44 41 -
branches/philmoz/platform/s5is/sub/101a/stubs_entry_2.S
r1018 r1343 162 162 NSTUB(memPartAlloc, 0xFF81096C) 163 163 NSTUB(memPartFindMax, 0xFF81096C) 164 NSTUB(Mount_FileSystem, 0xFF81096C)165 164 NSTUB(PhySw_testgpio, 0xFF81096C) 166 165 NSTUB(ProtectFile, 0xFF81096C) 167 166 NSTUB(readdir, 0xFF81096C) 168 NSTUB(rewinddir, 0xFF81096C)169 167 NSTUB(taskCreateHookAdd, 0xFF81096C) 170 168 NSTUB(taskDeleteHookAdd, 0xFF81096C) … … 176 174 NSTUB(taskUnlock, 0xFF81096C) 177 175 NSTUB(utime, 0xFF81096C) 178 NSTUB(Unmount_FileSystem, 0xFF81096C)179 176 NSTUB(UIFS_WriteFirmInfoToFile, 0xFF81096C) 180 177 NSTUB(kbd_pwr_off, 0xFF81096C) // Does not even exist, I think -
branches/philmoz/platform/s5is/sub/101b/stubs_entry_2.S
r1018 r1343 162 162 NSTUB(memPartAlloc, 0xFF81096C) 163 163 NSTUB(memPartFindMax, 0xFF81096C) 164 NSTUB(Mount_FileSystem, 0xFF81096C)165 164 NSTUB(PhySw_testgpio, 0xFF81096C) 166 165 NSTUB(ProtectFile, 0xFF81096C) 167 166 NSTUB(readdir, 0xFF81096C) 168 NSTUB(rewinddir, 0xFF81096C)169 167 NSTUB(taskCreateHookAdd, 0xFF81096C) 170 168 NSTUB(taskDeleteHookAdd, 0xFF81096C) … … 176 174 NSTUB(taskUnlock, 0xFF81096C) 177 175 NSTUB(utime, 0xFF81096C) 178 NSTUB(Unmount_FileSystem, 0xFF81096C)179 176 NSTUB(UIFS_WriteFirmInfoToFile, 0xFF81096C) 180 177 NSTUB(kbd_pwr_off, 0xFF81096C) // Does not even exist, I think -
branches/philmoz/platform/s90/sub/100c/stubs_entry_2.S
r1320 r1343 30 30 NHSTUB(kbd_pwr_off, 0xFF810B04) 31 31 NHSTUB(kbd_pwr_on, 0xFF810B04)//cannot locate 32 NHSTUB(rewinddir, 0xFF810B04)//cannot locate33 32 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B04)//cannot locate 34 NHSTUB(Unmount_FileSystem, 0xFF810B04)//cannot locate35 NHSTUB(Mount_FileSystem, 0xFF810B04)//cannot locate36 33 37 34 NHSTUB(strrchr, 0xFF813FE4) // correction for sig.finder addr. -
branches/philmoz/platform/s90/sub/101a/stubs_entry_2.S
r1320 r1343 30 30 31 31 NHSTUB(kbd_pwr_on, 0xFF810B04)//cannot locate 32 NHSTUB(rewinddir, 0xFF810B04)//cannot locate33 32 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B04)//cannot locate 34 NHSTUB(Unmount_FileSystem, 0xFF810B04)//cannot locate35 NHSTUB(Mount_FileSystem, 0xFF810B04)//cannot locate36 33 NSTUB(kbd_pwr_off, 0xFF833350) 37 34 -
branches/philmoz/platform/s90/sub/101c/stubs_entry_2.S
r1320 r1343 28 28 29 29 NHSTUB(kbd_pwr_on, 0xFF810B04)//cannot locate 30 NHSTUB(rewinddir, 0xFF810B04)//cannot locate31 30 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B04)//cannot locate 32 NHSTUB(Unmount_FileSystem, 0xFF810B04)//cannot locate33 NHSTUB(Mount_FileSystem, 0xFF810B04)//cannot locate34 31 NSTUB(kbd_pwr_off, 0xFF833350) 35 32 -
branches/philmoz/platform/s95/sub/100e/stubs_entry_2.S
r1244 r1343 102 102 NHSTUB(kbd_pwr_on, NULL_STUB) 103 103 NHSTUB(kbd_pwr_off, NULL_STUB) 104 NHSTUB(rewinddir, NULL_STUB)105 104 NHSTUB(SetZoomActuatorSpeedPercent, NULL_STUB) 106 NHSTUB(Unmount_FileSystem, NULL_STUB)107 NHSTUB(Mount_FileSystem, NULL_STUB)108 105 109 106 // added for PTP support -
branches/philmoz/platform/s95/sub/100h/stubs_entry_2.S
r1244 r1343 102 102 NHSTUB(kbd_pwr_on, NULL_STUB) 103 103 NHSTUB(kbd_pwr_off, NULL_STUB) 104 NHSTUB(rewinddir, NULL_STUB)105 104 NHSTUB(SetZoomActuatorSpeedPercent, NULL_STUB) 106 NHSTUB(Unmount_FileSystem, NULL_STUB)107 NHSTUB(Mount_FileSystem, NULL_STUB)108 105 109 106 // added for PTP support -
branches/philmoz/platform/s95/sub/100i/stubs_entry_2.S
r1244 r1343 1 // Note : This file generated by CHDK-PT.1 e// Note : This file generated by CHDK-PT. 2 2 #include "stubs_asm.h" 3 3 #define NULL_STUB 0xFF8391E0 … … 102 102 NHSTUB(kbd_pwr_on, NULL_STUB) 103 103 NHSTUB(kbd_pwr_off, NULL_STUB) 104 NHSTUB(rewinddir, NULL_STUB)105 104 NHSTUB(SetZoomActuatorSpeedPercent, NULL_STUB) 106 NHSTUB(Unmount_FileSystem, NULL_STUB)107 NHSTUB(Mount_FileSystem, NULL_STUB) -
branches/philmoz/platform/s95/sub/100k/stubs_entry_2.S
r1244 r1343 101 101 NHSTUB(kbd_pwr_on, NULL_STUB) 102 102 NHSTUB(kbd_pwr_off, NULL_STUB) 103 NHSTUB(rewinddir, NULL_STUB)104 103 NHSTUB(SetZoomActuatorSpeedPercent, NULL_STUB) 105 NHSTUB(Unmount_FileSystem, NULL_STUB)106 NHSTUB(Mount_FileSystem, NULL_STUB)107 104 -
branches/philmoz/platform/sx1/sub/200h/stubs_entry_2.S
r1320 r1343 34 34 NHSTUB(kbd_pwr_off, 0xFF81093C) 35 35 NHSTUB(kbd_pwr_on, 0xFF81093C) 36 NHSTUB(Mount_FileSystem, 0xFF81093C)37 NHSTUB(Unmount_FileSystem, 0xFF81093C)38 36 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF81093C) 39 NHSTUB(rewinddir, 0xFF81093C)40 37 NHSTUB(SetScriptMode, 0xFF885290) // "SetScriptMode" 41 38 -
branches/philmoz/platform/sx1/sub/201a/stubs_entry_2.S
r1320 r1343 34 34 NHSTUB(kbd_pwr_off, 0xFF81093C) 35 35 NHSTUB(kbd_pwr_on, 0xFF81093C) 36 NHSTUB(Mount_FileSystem, 0xFF81093C)37 NHSTUB(Unmount_FileSystem, 0xFF81093C)38 36 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF81093C) 39 NHSTUB(rewinddir, 0xFF81093C)40 37 41 38 NHSTUB(SetScriptMode, 0xFF885290) -
branches/philmoz/platform/sx10/sub/100c/stubs_entry_2.S
r1320 r1343 37 37 NHSTUB(kbd_pwr_off, 0xFF81093C) 38 38 NHSTUB(kbd_pwr_on, 0xFF81093C) 39 NHSTUB(Mount_FileSystem, 0xFF81093C)40 NHSTUB(Unmount_FileSystem, 0xFF81093C)41 39 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF81093C) 42 NHSTUB(rewinddir, 0xFF81093C)43 40 44 41 -
branches/philmoz/platform/sx10/sub/101a/stubs_entry_2.S
r1320 r1343 36 36 NHSTUB(kbd_pwr_off, 0xFF81093C) 37 37 NHSTUB(kbd_pwr_on, 0xFF81093C) 38 NHSTUB(Mount_FileSystem, 0xFF81093C)39 NHSTUB(Unmount_FileSystem, 0xFF81093C)40 38 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF81093C) 41 NHSTUB(rewinddir, 0xFF81093C)42 39 NHSTUB(SetScriptMode, 0xFF880C80) // string 43 40 -
branches/philmoz/platform/sx10/sub/101b/stubs_entry_2.S
r1320 r1343 37 37 NHSTUB(kbd_pwr_off, 0xFF81093C) 38 38 NHSTUB(kbd_pwr_on, 0xFF81093C) 39 NHSTUB(Mount_FileSystem, 0xFF81093C)40 NHSTUB(Unmount_FileSystem, 0xFF81093C)41 39 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF81093C) 42 NHSTUB(rewinddir, 0xFF81093C)43 44 40 45 41 -
branches/philmoz/platform/sx10/sub/102b/stubs_entry_2.S
r1320 r1343 38 38 NHSTUB(kbd_pwr_off, 0xFF81093C) 39 39 NHSTUB(kbd_pwr_on, 0xFF81093C) 40 NHSTUB(Mount_FileSystem, 0xFF81093C)41 NHSTUB(Unmount_FileSystem, 0xFF81093C)42 40 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF81093C) 43 NHSTUB(rewinddir, 0xFF81093C)44 45 46 47 41 48 42 -
branches/philmoz/platform/sx10/sub/103a/stubs_entry_2.S
r1320 r1343 38 38 NHSTUB(kbd_pwr_off, 0xFF81093C) 39 39 NHSTUB(kbd_pwr_on, 0xFF81093C) 40 NHSTUB(Mount_FileSystem, 0xFF81093C)41 NHSTUB(Unmount_FileSystem, 0xFF81093C)42 40 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF81093C) 43 NHSTUB(rewinddir, 0xFF81093C)44 45 46 47 48 41 49 42 -
branches/philmoz/platform/sx100is/sub/100b/stubs_entry_2.S
r1320 r1343 144 144 NSTUB(taskLock, 0xFFC00958) 145 145 NSTUB(taskUnlock, 0xFFC00958) 146 NSTUB(Mount_FileSystem, 0xFFC00958)147 NSTUB(Unmount_FileSystem, 0xFFC00958)148 NSTUB(rewinddir, 0xFFC00958)149 146 NSTUB(CreatePhysicalVram, 0xFFC00958) 150 147 NSTUB(CreateTaskStrict, 0xFFC00958) -
branches/philmoz/platform/sx100is/sub/100c/stubs_entry_2.S
r1320 r1343 144 144 NSTUB(taskLock, 0xFFC00958) 145 145 NSTUB(taskUnlock, 0xFFC00958) 146 NSTUB(Mount_FileSystem, 0xFFC00958)147 NSTUB(Unmount_FileSystem, 0xFFC00958)148 NSTUB(rewinddir, 0xFFC00958)149 146 NSTUB(CreatePhysicalVram, 0xFFC00958) 150 147 NSTUB(CreateTaskStrict, 0xFFC00958) -
branches/philmoz/platform/sx110is/sub/100b/stubs_entry_2.S
r1320 r1343 49 49 NHSTUB(Rec2PB, 0xFFC65A80) 50 50 51 //do they really exists in dryos? --> point to nullsub52 NHSTUB(Mount_FileSystem, 0xFFC00940)53 NHSTUB(rewinddir, 0xFFC00940)54 NHSTUB(Unmount_FileSystem, 0xFFC00940)55 56 57 51 58 52 // Added by finsig_dryos V2 to match old values found by finsig. -
branches/philmoz/platform/sx130is/sub/101c/stubs_entry_2.S
r1320 r1343 103 103 104 104 // These don't exist/aren't found in dryos 105 NHSTUB(Mount_FileSystem, NULL_STUB)106 NHSTUB(Unmount_FileSystem, NULL_STUB)107 NHSTUB(rewinddir, NULL_STUB)108 105 NHSTUB(SetZoomActuatorSpeedPercent, NULL_STUB) 109 106 -
branches/philmoz/platform/sx130is/sub/101d/stubs_entry_2.S
r1320 r1343 103 103 104 104 // These don't exist/aren't found in dryos 105 NHSTUB(Mount_FileSystem, NULL_STUB)106 NHSTUB(Unmount_FileSystem, NULL_STUB)107 NHSTUB(rewinddir, NULL_STUB)108 105 NHSTUB(SetZoomActuatorSpeedPercent, NULL_STUB) 109 106 -
branches/philmoz/platform/sx130is/sub/101f/stubs_entry_2.S
r1320 r1343 101 101 102 102 // These don't exist/aren't found in dryos 103 NHSTUB(Mount_FileSystem, NULL_STUB)104 NHSTUB(Unmount_FileSystem, NULL_STUB)105 NHSTUB(rewinddir, NULL_STUB)106 103 NHSTUB(SetZoomActuatorSpeedPercent, NULL_STUB) 107 104 -
branches/philmoz/platform/sx20/sub/102b/stubs_entry_2.S
r1320 r1343 56 56 57 57 #NULL 58 NHSTUB(rewinddir, 0xFF810B04) // BX LR59 58 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B04) // BX LR 60 NHSTUB(Unmount_FileSystem, 0xFF810B04) // BX LR61 NHSTUB(Mount_FileSystem, 0xFF810B04) // BX LR62 59 NHSTUB(kbd_pwr_off, 0xFF810B04) // BX LR 63 60 NHSTUB(kbd_pwr_on, 0xFF810B04) // BX LR -
branches/philmoz/platform/sx20/sub/102d/stubs_entry_2.S
r1320 r1343 58 58 59 59 #NULL 60 NHSTUB(rewinddir, 0xFF810B04) // BX LR61 60 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B04) // BX LR 62 NHSTUB(Unmount_FileSystem, 0xFF810B04) // BX LR63 NHSTUB(Mount_FileSystem, 0xFF810B04) // BX LR64 61 NHSTUB(kbd_pwr_off, 0xFF810B04) // BX LR 65 62 NHSTUB(kbd_pwr_on, 0xFF810B04) // BX LR -
branches/philmoz/platform/sx200is/sub/100c/stubs_entry_2.S
r1320 r1343 48 48 49 49 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810950) // ??????????????????? may be around FFA5BCAC SetZoomActuatorSpeedPPS 50 NHSTUB(rewinddir, 0xFF810950) // ???????????????????51 NHSTUB(Unmount_FileSystem, 0xFF810950) // ???????????????????52 NHSTUB(Mount_FileSystem, 0xFF810950) // ???????????????????53 50 NHSTUB(kbd_pwr_off, 0xFF810950) // ??????????????????? 54 51 NHSTUB(kbd_pwr_on, 0xFF810950) // ??????????????????? may be around FF848340 -
branches/philmoz/platform/sx220hs/sub/100a/stubs_entry_2.S
r1320 r1343 168 168 169 169 ////All pointed to NULL (nullsub_10 -> 0xFF02D4BC) 170 NHSTUB(Unmount_FileSystem, 0xFF02D4BC)171 NHSTUB(Mount_FileSystem, 0xFF02D4BC)172 170 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF02D4BC) 173 NHSTUB(rewinddir, 0xFF02D4BC)174 171 NSTUB(DisableDispatch,0xFF02D4BC) 175 172 NSTUB(CreatePhysicalVram,0xFF02D4BC) -
branches/philmoz/platform/sx220hs/sub/101a/stubs_entry_2.S
r1320 r1343 170 170 ////All pointed to NULL (nullsub_10 -> 0xFF02D4BC) // SX220 171 171 NHSTUB(UnsetZoomForMovie, 0xFF02D4BC) 172 NHSTUB(Unmount_FileSystem, 0xFF02D4BC)173 NHSTUB(Mount_FileSystem, 0xFF02D4BC)174 172 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF02D4BC) 175 NHSTUB(rewinddir, 0xFF02D4BC)176 173 NSTUB(DisableDispatch,0xFF02D4BC) 177 174 NSTUB(CreatePhysicalVram,0xFF02D4BC) -
branches/philmoz/platform/sx220hs/sub/101b/stubs_entry_2.S
r1333 r1343 170 170 ////All pointed to NULL (nullsub_10 -> 0xFF02D4BC) // SX220 171 171 NHSTUB(UnsetZoomForMovie, 0xFF02D4BC) 172 NHSTUB(Unmount_FileSystem, 0xFF02D4BC)173 NHSTUB(Mount_FileSystem, 0xFF02D4BC)174 172 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF02D4BC) 175 NHSTUB(rewinddir, 0xFF02D4BC)176 173 NSTUB(DisableDispatch,0xFF02D4BC) 177 174 NSTUB(CreatePhysicalVram,0xFF02D4BC) -
branches/philmoz/platform/sx230hs/sub/100c/stubs_entry_2.S
r1333 r1343 9 9 10 10 // These don't exist/aren't found in dryos 11 NHSTUB(Mount_FileSystem, NULL_SUB)12 11 NHSTUB(SetZoomActuatorSpeedPercent, NULL_SUB) 13 NHSTUB(Unmount_FileSystem, NULL_SUB)14 12 NHSTUB(UnsetZoomForMovie, NULL_SUB) 15 NHSTUB(rewinddir, NULL_SUB)16 13 17 14 // Additional -
branches/philmoz/platform/sx230hs/sub/101a/stubs_entry_2.S
r1333 r1343 9 9 10 10 // These don't exist/aren't found in dryos 11 NHSTUB(Mount_FileSystem, NULL_SUB)12 11 NHSTUB(SetZoomActuatorSpeedPercent, NULL_SUB) 13 NHSTUB(Unmount_FileSystem, NULL_SUB)14 12 NHSTUB(UnsetZoomForMovie, NULL_SUB) 15 NHSTUB(rewinddir, NULL_SUB)16 13 17 14 // Additional -
branches/philmoz/platform/sx230hs/sub/101b/stubs_entry_2.S
r1333 r1343 10 10 11 11 // These don't exist/aren't found in dryos 12 NHSTUB(Mount_FileSystem, NULL_SUB)13 12 NHSTUB(SetZoomActuatorSpeedPercent, NULL_SUB) 14 NHSTUB(Unmount_FileSystem, NULL_SUB)15 13 NHSTUB(UnsetZoomForMovie, NULL_SUB) 16 NHSTUB(rewinddir, NULL_SUB)17 14 18 15 NHSTUB(LockAndRefresh, 0xff0ad294) -
branches/philmoz/platform/sx30/lib.c
r1320 r1343 108 108 return (palette_buffer[active_palette_buffer]+8); 109 109 } 110 111 // Function to load CHDK custom colors into active Canon palette 112 void load_chdk_palette() 113 { 114 extern int active_palette_buffer; 115 // Only load for the standard record and playback palettes 116 if ((active_palette_buffer == 0) || (active_palette_buffer == 4)) 117 { 118 int *pal = (int*)vid_get_bitmap_active_palette(); 119 if (pal[CHDK_COLOR_BASE+0] != 0x33ADF62) 120 { 121 pal[CHDK_COLOR_BASE+0] = 0x33ADF62; // Red 122 pal[CHDK_COLOR_BASE+1] = 0x326EA40; // Dark Red 123 pal[CHDK_COLOR_BASE+2] = 0x34CD57F; // Light Red 124 pal[CHDK_COLOR_BASE+3] = 0x373BFAE; // Green 125 pal[CHDK_COLOR_BASE+4] = 0x34BD6CA; // Dark Green 126 pal[CHDK_COLOR_BASE+5] = 0x395AB95; // Light Green 127 pal[CHDK_COLOR_BASE+6] = 0x34766F0; // Blue 128 pal[CHDK_COLOR_BASE+7] = 0x31250F3; // Dark Blue 129 pal[CHDK_COLOR_BASE+8] = 0x37F408F; // Cyan 130 pal[CHDK_COLOR_BASE+9] = 0x3512D5B; // Magenta 131 pal[CHDK_COLOR_BASE+10] = 0x3A9A917; // Yellow 132 pal[CHDK_COLOR_BASE+11] = 0x3819137; // Dark Yellow 133 pal[CHDK_COLOR_BASE+12] = 0x3DED115; // Light Yellow 134 135 extern char palette_control; 136 palette_control = 1; 137 vid_bitmap_refresh(); 138 } 139 } 140 } -
branches/philmoz/platform/sx30/platform_camera.h
r1320 r1343 85 85 86 86 #undef CAM_BITMAP_PALETTE 87 #define CAM_BITMAP_PALETTE 787 #define CAM_BITMAP_PALETTE 12 88 88 89 89 //zebra letterbox for saving memory … … 111 111 #define CAM_DISABLE_RAW_IN_LOW_LIGHT_MODE 1 // For cameras with 'low light' mode that does now work with raw define this 112 112 113 #define CAM_LOAD_CUSTOM_COLORS 1 // Enable loading CHDK colors into the camera palette memory/hardware 114 #define CHDK_COLOR_BASE 0xB3 // Start color index for CHDK colors loaded into camera palette. 115 #define CAM_USE_COLORED_ICONS 1 // Enable using the CHDK-DE colored icons. 116 113 117 //---------------------------------------------------------- -
branches/philmoz/platform/sx30/sub/100e/stubs_entry_2.S
r1320 r1343 4 4 NHSTUB(kbd_pwr_off, 0xFF810B1C) // ??? not on sx20 or s95 5 5 NHSTUB(kbd_pwr_on, 0xFF810B1C) // ??? not on sx20 or s95 6 NHSTUB(rewinddir, 0xFF810B1C)7 6 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B1C) 8 NHSTUB(Unmount_FileSystem, 0xFF810B1C)9 NHSTUB(Mount_FileSystem, 0xFF810B1C) -
branches/philmoz/platform/sx30/sub/100e/stubs_min.S
r1320 r1343 20 20 DEF(active_bitmap_buffer, 0xB1CC) // 0xB1B8+0x14 (1.00e sub_FFA4A758 -> FFA4A75C + FFA4A7AC) 21 21 DEF(bitmap_buffer, 0xB1D4) // FFA4A7A8 22 DEF(palette_control, 0xB198) // sub_FFA4698C (1.00h) 22 23 DEF(active_palette_buffer, 0xB1A0) // sub_FFA468D4 (1.00h) 23 24 DEF(palette_buffer, 0xCF9B4) // sub_FFA46DC8 (1.00h) -
branches/philmoz/platform/sx30/sub/100h/stubs_entry_2.S
r1320 r1343 4 4 NHSTUB(kbd_pwr_off, 0xFF810B1C) // ??? not on sx20 or s95 5 5 NHSTUB(kbd_pwr_on, 0xFF810B1C) // ??? not on sx20 or s95 6 NHSTUB(rewinddir, 0xFF810B1C)7 6 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B1C) 8 NHSTUB(Unmount_FileSystem, 0xFF810B1C)9 NHSTUB(Mount_FileSystem, 0xFF810B1C) -
branches/philmoz/platform/sx30/sub/100h/stubs_min.S
r1320 r1343 20 20 DEF(active_bitmap_buffer, 0xB1CC) // 0xB1B8+0x14 (1.00h sub_FFA4A814 -> FFA4A818 + FFA4A868) 21 21 DEF(bitmap_buffer, 0xB1D4) // FFA4A864 22 DEF(palette_control, 0xB198) // sub_FFA4698C (1.00h) 22 23 DEF(active_palette_buffer, 0xB1A0) // sub_FFA468D4 (1.00h) 23 24 DEF(palette_buffer, 0xCF9B4) // sub_FFA46DC8 (1.00h) -
branches/philmoz/platform/sx30/sub/100l/stubs_entry_2.S
r1320 r1343 4 4 NHSTUB(kbd_pwr_off, 0xFF810B1C) // ??? not on sx20 or s95 5 5 NHSTUB(kbd_pwr_on, 0xFF810B1C) // ??? not on sx20 or s95 6 NHSTUB(rewinddir, 0xFF810B1C)7 6 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B1C) 8 NHSTUB(Unmount_FileSystem, 0xFF810B1C)9 NHSTUB(Mount_FileSystem, 0xFF810B1C) -
branches/philmoz/platform/sx30/sub/100l/stubs_min.S
r1320 r1343 20 20 DEF(active_bitmap_buffer, 0xB1CC) // 0xB1B8+0x14 (1.00l sub_FFA4A9BC -> FFA4A9C0 + FFA4AA10) 21 21 DEF(bitmap_buffer, 0xB1D4) // FFA4AA0C 22 DEF(palette_control, 0xB198) // sub_FFA4698C (1.00h) 22 23 DEF(active_palette_buffer, 0xB1A0) // sub_FFA468D4 (1.00h) 23 24 DEF(palette_buffer, 0xCF9B4) // sub_FFA46DC8 (1.00h) -
branches/philmoz/platform/sx30/sub/100n/stubs_entry_2.S
r1333 r1343 4 4 NHSTUB(kbd_pwr_off, 0xFF810B1C) // ??? not on sx20 or s95 5 5 NHSTUB(kbd_pwr_on, 0xFF810B1C) // ??? not on sx20 or s95 6 NHSTUB(rewinddir, 0xFF810B1C)7 6 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B1C) 8 NHSTUB(Unmount_FileSystem, 0xFF810B1C)9 NHSTUB(Mount_FileSystem, 0xFF810B1C) -
branches/philmoz/platform/sx30/sub/100n/stubs_min.S
r1333 r1343 20 20 DEF(active_bitmap_buffer, 0xB1CC) // 0xB1B8+0x14 (1.00n sub_FFA4AA40 -> FFA4AA44 + FFA4AA94) 21 21 DEF(bitmap_buffer, 0xB1D4) // FFA4AA90 22 DEF(palette_control, 0xB198) // sub_FFA4698C (1.00h) 22 23 DEF(active_palette_buffer, 0xB1A0) // sub_FFA468D4 (1.00h) 23 24 DEF(palette_buffer, 0xCF9B4) // sub_FFA46DC8 (1.00h) -
branches/philmoz/platform/sx30/sub/100p/stubs_entry_2.S
r1333 r1343 4 4 NHSTUB(kbd_pwr_off, 0xFF810B1C) // ??? not on sx20 or s95 (NOT USED) 5 5 NHSTUB(kbd_pwr_on, 0xFF810B1C) // ??? not on sx20 or s95 (NOT USED) 6 NHSTUB(rewinddir, 0xFF810B1C)7 6 NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B1C) 8 NHSTUB(Unmount_FileSystem, 0xFF810B1C) // (NOT USED)9 NHSTUB(Mount_FileSystem, 0xFF810B1C) // (NOT USED) -
branches/philmoz/platform/sx30/sub/100p/stubs_min.S
r1333 r1343 20 20 DEF(active_bitmap_buffer, 0xB1CC) // 0xB1B8+0x14 (1.00p sub_FFA4AA40 -> FFA4AA44 + FFA4AA94) 21 21 DEF(bitmap_buffer, 0xB1D4) // FFA4AA90 22 DEF(palette_control, 0xB198) // sub_FFA4698C (1.00h) 22 23 DEF(active_palette_buffer, 0xB1A0) // sub_FFA468D4 (1.00h) 23 24 DEF(palette_buffer, 0xCF9B4) // sub_FFA46DC8 (1.00h)
Note: See TracChangeset
for help on using the changeset viewer.