Changeset 424
- Timestamp:
- 06/18/08 07:30:51 (2 years ago)
- Files:
-
- branches/juciphox/core/gui_lang.c (modified) (1 diff)
- branches/juciphox/core/gui_osd.c (modified) (4 diffs)
- branches/juciphox/core/script.c (modified) (1 diff)
- branches/juciphox/lang/english.lng (modified) (14 diffs)
- branches/juciphox/platform/a720/sub/100c/boot.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/juciphox/core/gui_lang.c
r416 r424 158 158 159 159 "106 \"*** Build Info ***\"\n" 160 "107 \"CHDK Ver: %s , #%s\\nDate: %s\\nTime: %s\\nCamera: %s\\nFW Vers: %s\"\n"160 "107 \"CHDK Ver: %s %s\\nDate: %s\\nTime: %s\\nCamera: %s\\nFW Vers: %s\"\n" 161 161 162 162 "108 \"*** Memory Info ***\"\n" branches/juciphox/core/gui_osd.c
r416 r424 244 244 static int need_restore=0; 245 245 int viewport_height; 246 int m = ((mode_get()&MODE_MASK) == MODE_REC); 246 int m = ((mode_get()&MODE_MASK) == MODE_REC); 247 int zebra_drawn=0; 247 248 color cls[] = { 248 249 COLOR_TRANSPARENT, … … 287 288 break; 288 289 } 289 if (!f) { 290 if (need_restore) { 291 if (conf.zebra_restore_screen || conf.zebra_restore_osd) { 292 draw_restore(); 293 } else { 294 memset(buf, COLOR_TRANSPARENT, screen_buffer_size); 295 gui_osd_draw_zebra_osd(); 296 memcpy(scr_buf, buf, screen_buffer_size); 297 memcpy(scr_buf+screen_buffer_size, buf, screen_buffer_size); 298 } 299 need_restore=0; 300 } 301 return !(conf.zebra_restore_screen && conf.zebra_restore_osd); 302 } else { 290 if (f) { 303 291 int step_x, step_v; 304 292 over = 255-conf.zebra_over; … … 322 310 else if (((conf.zebra_mode == ZEBRA_MODE_ZEBRA_1 || conf.zebra_mode == ZEBRA_MODE_ZEBRA_2) && (y-x-timer)&f)) buf[s]=COLOR_TRANSPARENT; 323 311 else buf[s]=(yy>over)?cl_over:(yy<conf.zebra_under)?cl_under:COLOR_TRANSPARENT; 312 if (buf[s] != COLOR_TRANSPARENT && !zebra_drawn) zebra_drawn = 1; 324 313 } 325 314 s+=screen_buffer_width-screen_width; … … 329 318 } 330 319 } 320 if (!zebra_drawn) f=0; 321 } 322 if (!f) { 323 if (need_restore) { 324 if (conf.zebra_restore_screen || conf.zebra_restore_osd) { 325 draw_restore(); 326 } else { 327 memset(buf, COLOR_TRANSPARENT, screen_buffer_size); 328 gui_osd_draw_zebra_osd(); 329 memcpy(scr_buf, buf, screen_buffer_size); 330 memcpy(scr_buf+screen_buffer_size, buf, screen_buffer_size); 331 } 332 need_restore=0; 333 } 334 return !(conf.zebra_restore_screen && conf.zebra_restore_osd); 335 } else { 331 336 332 337 branches/juciphox/core/script.c
r416 r424 153 153 if (script_params[i][0]) break; 154 154 } 155 if (i==SCRIPT_NUM_PARAMS) { // there was no @param in script155 /*if (i==SCRIPT_NUM_PARAMS) { // there was no @param in script 156 156 for (i=0; i<3; ++i) { 157 157 strcpy(script_params[i], "Var. ? value"); 158 158 script_params[i][5]='a'+i; 159 159 } 160 } 160 }*/ 161 161 } 162 162 branches/juciphox/lang/english.lng
r416 r424 7 7 1 "Main Menu" 8 8 9 2 "RAW Parameters ->" 10 3 "OSD Parameters ->" 11 4 "Histogram Parameters ->" 12 5 "Zebra Parameters ->" 13 6 "Scripting Parameters ->" 14 7 "Visual Settings ->" 15 8 "Miscellaneous Stuff ->" 16 9 "Debug Parameters ->" 9 // 2 "RAW Parameters ->" 10 // 3 "OSD Parameters ->" 11 // 4 "Histogram Parameters ->" 12 // 5 "Zebra Parameters ->" 13 // 6 "Scripting Parameters ->" 14 // 7 "Visual Settings ->" 15 // 8 "Miscellaneous Stuff ->" 16 // 9 "Debug Parameters ->" 17 2 "RAW Parameters" 18 3 "OSD Parameters" 19 4 "Histogram Parameters" 20 5 "Zebra Parameters" 21 6 "Scripting Parameters" 22 7 "Visual Settings" 23 8 "Miscellaneous Stuff" 24 9 "Debug Parameters" 17 25 10 "Reset Options to Default..." 18 26 11 "Save Options Now..." 19 27 20 12 "<- Back" 28 // 12 "<- Back" 29 12 "Back" 21 30 22 31 … … 39 48 26 "Show Clock" 40 49 27 "OSD Layout Editor" 41 28 "Battery->" 50 // 28 "Battery ->" 51 28 "Battery" 42 52 43 53 … … 96 106 68 "File Browser" 97 107 69 "Calendar" 98 70 "Text File Reader ->" 99 71 "Games ->" 108 // 70 "Text File Reader ->" 109 // 71 "Games ->" 110 70 "Text File Reader" 111 71 "Games" 100 112 72 "Flashlight" 101 113 73 "Show Splash Screen on Load" … … 148 160 149 161 106 "*** Build Info ***" 150 107 "CHDK Ver: %s , #%s\nDate: %s\nTime: %s\nCamera: %s\nFW Vers: %s"162 107 "CHDK Ver: %s %s\nDate: %s\nTime: %s\nCamera: %s\nFW Vers: %s" 151 163 152 164 108 "*** Memory Info ***" … … 274 286 201 "Load Grid from File..." 275 287 202 "Grid Lines" 276 203 "Grid->" 288 //203 "Grid ->" 289 203 "Grid" 277 290 204 "Select Grid File" 278 291 205 "Current Grid" 279 292 280 206 " Noise Reduction"293 206 "Dark Frame Substraction" 281 294 282 295 207 "Override Grid Colors" … … 285 298 286 299 210 "DOF Calculator" 287 211 "DOF Calculator->" 300 //211 "DOF Calculator ->" 301 211 "DOF Calculator" 288 302 212 "Canon Subj. Dist. as Near Limit" 289 303 213 "Use EXIF Subj. Dist. (PC65)" … … 296 310 297 311 219 "Miscellaneous Values" 298 220 "Miscellaneous Values->" 312 //220 "Miscellaneous Values ->" 313 220 "Miscellaneous Values" 299 314 221 "Show in Review Mode" 300 315 222 "Show Zoom" … … 311 326 312 327 233 "Video Parameters" 313 234 "Video Parameters->" 328 //234 "Video Parameters ->" 329 234 "Video Parameters" 314 330 235 "Video Mode" 315 331 236 "Video Bitrate" … … 318 334 319 335 238 "Extra Photo Operations" 320 239 "Extra Photo Operations->" 336 //239 "Extra Photo Operations ->" 337 239 "Extra Photo Operations" 321 338 240 "Override Shutter Speed Value" 322 339 241 " Value Factor" … … 328 345 329 346 247 "Bracketing in Continuous Mode" 330 248 "Bracketing in Continuous Mode->" 347 //248 "Bracketing in Continuous Mode ->" 348 248 "Bracketing in Continuous Mode" 331 349 249 "TV Bracketing Value" 332 350 250 "AV Bracketing Value" … … 341 359 342 360 258 "Exposure Control (No Flash)" 343 259 "Exposure Control (No Flash)->" 361 //259 "Exposure Control (No Flash) ->" 362 259 "Exposure Control (No Flash)" 344 363 260 "Recalc Exposure" 345 364 261 "TV Exposure Recalc Order" … … 407 426 309 " Warning threshold" 408 427 310 "Enable Optical Zoom" 409 311 "Clock->" 428 //311 "Clock ->" 429 311 "Clock" 410 430 312 "Clock Settings" 411 431 313 "Clock format" … … 415 435 416 436 317 "Raw showing settings" 417 318 "Raw->" 437 //318 "Raw ->" 438 318 "Raw" 418 439 419 440 319 "Filespace showing settings" 420 320 "Filespace->" 441 //320 "Filespace ->" 442 320 "Filespace" 421 443 422 444 321 "Custom Auto ISO" 423 322 "Custom Auto ISO->" 445 //322 "Custom Auto ISO ->" 446 322 "Custom Auto ISO" 424 447 323 "Enable Custom Auto ISO" 425 448 324 "Minimal Shutter speed" … … 442 465 339 "RAWconv" 443 466 467 340 "Override" 468 341 "Override Background" 469 342 "Disable Overrides" 470 343 " Include AutoIso & Bracketing?" 471 344 " Hide in Playback?" 472 345 " Disable @ Video Rec?" 473 346 "Show remaining videotime?" 474 347 " Refreshrate (~sec)" 475 348 "Remaining video time" 476 349 "Clear videoparams on Start?" 477 350 "Enable Fast Ev switch?" 478 351 " Step size (1 EV)?" 479 352 "EV correction" 480 353 "Are you SURE to delete ALL\nRAW files without corresponding JPG\nin DCIM folder?" 481 354 "Are you SURE to delete ALL\nRAW files without corresponding JPG\nin selected folder?" 482 355 "Are you SURE to delete RAW files\nwithout corresponding JPG?\n(Excluding marked)" 483 356 "Purge RAW feature\ndoes not apply to this item" 484 357 "*** Purge RAW files ***" 485 358 "Purge RAW" 486 487 359 "User Menu as Root" 488 489 360 "Symbol font" 490 361 "Select Symbol file" 491 362 "Enable Symbols" 492 363 "Symbol Text Color" 493 364 "Symbol Background Color" 494 495 365 "Custom curves" 496 //"366 "Custom curves ->" 497 366 "Custom curves" 498 367 "Load curve profile..." 499 368 "Enable curve" 500 369 "Select curve file" 501 502 370 "Edge overlay" 503 371 "Edge overlay" 504 505 372 "Enable edge overlay" 506 373 "Edge overlay threshold" 507 374 "Edge overlay color" 508 509 375 "Remote parameters" 510 376 "Remote parameters" 511 377 "Enable Remote" 512 378 "Enable Synch" 513 379 "Enable Synch Delay" 514 380 "Synch Delay 0.1ms" 515 381 "Synch Delay 0.1s" 516 branches/juciphox/platform/a720/sub/100c/boot.c
r383 r424 21 21 long *canon_data_src = (void*)0xFFE9C5D0; 22 22 long *canon_data_dst = (void*)0x1900; 23 long canon_data_len = 0xf c04 - 0x1900; // data_end - data_start24 long *canon_bss_start = (void*)0xf c04; // just after data25 long canon_bss_len = 0x9d024 - 0xf c04;23 long canon_data_len = 0xf0c4 - 0x1900; // data_end - data_start 24 long *canon_bss_start = (void*)0xf0c4; // just after data 25 long canon_bss_len = 0x9d024 - 0xf0c4; 26 26 27 27 long i;