Ignore:
Timestamp:
06/12/08 19:24:03 (5 years ago)
Author:
Jucifer
Message:

(pretty much from http://chdk.setepontos.com/index.php/topic,688.0.html:)

  • all uBASIC commands beginning with "get_" can now use the "new" syntax (e.g. [f=]get_focus, S=get_prop 205), the ones listed in Wikia work as they used to

+ applied PhyrePhox?'s customizations (the newest commands have the new syntax ([x=]command)), http://chdk.setepontos.com/index.php/topic,978.msg8339.html#msg8339

+ applied wontolla's RAW purge, http://chdk.setepontos.com/index.php/topic,557.msg5849.html#msg5849

+ applied m2tk's gui_fselect.c-patch, http://chdk.setepontos.com/index.php/topic,1059.msg9530.html#msg9530

+ applied CHDKLover's and msl's Symbol Mod, http://chdk.setepontos.com/index.php/topic,1133.msg10043.html#msg10043

+ applied Velo's Lua Scripting Integration (and added all new uBASIC-commands), http://chdk.setepontos.com/index.php/topic,1194.msg11413.html#msg11413

+ added scripting command get_exp_count (value incremented by 1 on every exposure, returns numbers as in the files saved by the camera (1-9999, should be taken into account when scripting, maybe something along these lines:
T=get_exp_count+N
if T>9999 then T=T-9999
press "shoot_half"
press "shoot_full"
do
until get_exp_count=T
release "shoot_full"
), ubasic syntax: [x=]get_exp_count ([]=optional))

+ added scripting command is_pressed. Usage is similar to is_key, but checks, if a button is pressed, when the command is called. This can be really useful in autostart-scripts.

+ added script command autostarted, returns 1/true if script was autostarted, 0/false if not

  • modified get_script_autostart and set_script_autostart to read & write conf.script_startup (values: 0=off, 1=on, 2=once)
  • new script autostart option(s): Off, On, Once
  • user menu modified
    • now with 14 entries (that's what fits on my screen with the default font)
    • main menu -entry removed
    • invoked also with shoot_half + menu
    • can be used as root menu, main menu becomes accessible with shoot_half + menu
  • faster menu navigation
    • in alt menus and file browser, shoot_half can be used with up/down to move 4 items up/down at a time
    • int-variable changing behaviour is modified: zoom rocker works also a bit like shift: when "held down" while pressing left/right, zoom_out changes values by 10, zoom_in by 100, shoot_half by 1000.
    • int-variables can be set to 0 with shoot_half+set
    • when changing enum-type-variables (e.g. Tv bracketing value), zoom_in(+left/right) changes value by 6 (2EV), zoom_out and(/or) shoot_half by 3 (1EV).

+ added numbers 2, 4 and 5 from cyril42e's modification list, http://chdk.setepontos.com/index.php/topic,1687.msg15345.html#msg15345

+ added scriptless Ricoh & home hacked remote support from SDM 1.70

+ added fbonomi's shot histogram, commands shot_histo_enable 0|1, get_histo_range from to, http://chdk.setepontos.com/index.php/topic,1145.msg13008.html#msg13008

+ added hiker_jon's edge overlay code for testing, may or may not work, http://chdk.setepontos.com/index.php/topic,1192.msg11317.html#msg11317

+ and last and perhaps least, added the missing get_raw_nr to tokenizer.c

I may have forgotten something. Hopefully nothing major, though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/juciphox/platform/s5is/sub/101b/boot.c

    r380 r416  
    22#include "platform.h" 
    33#include "core.h" 
     4 
     5const long new_sa = MEMISOSTART + MEMISOSIZE; 
    46 
    57/* Our stuff */ 
     
    189191          "STR     R0, [SP,#0x74-0x70]\n" 
    190192//          "LDR     R0, =0x9B610\n" 
    191           "LDR     R0, =0xDB610\n"                      // 0x9B610 + 0x40000 (memsize) = 0xDB610 
     193          );     
     194//          "LDR     R0, =0xDB610\n"                    // 0x9B610 + 0x40000 (memsize) = 0xDB610 
     195          asm volatile ( 
     196             "LDR     R0, =new_sa\n" 
     197             "LDR     R0, [R0]\n" 
     198          ); 
     199          asm volatile ( 
    192200          "LDR     R2, =0x2ABC00\n" 
    193201          "LDR     R1, =0x2A4968\n" 
Note: See TracChangeset for help on using the changeset viewer.