I'd love an option to automatically create a new file when the 4GB limit is reached and keep recording.
Here's the values I get on 1.01c going down the modes:
I've compared lib.c for various cameras and I've seen two flavors of vid_bitmap_refresh(). One flavor, used with the sx230hs, calls _LockAndRefresh() / _UnlockAndRefresh(). I notice our lib.c looks very very similar to that one, only we have _ScreenLock() / _ScreenUnlock() primitives instead. But other cameras that use these - for instance, sx40hs, have an active_viewport_buffer in stubs_min.S, and a vid_get_viewport_live_fb function in lib.c.
extern unsigned int screen_width, screen_height, screen_size;extern void draw_filled_rect( int, int, int, int, int );void vid_bitmap_refresh(){ draw_filled_rect(0, 0, screen_width, screen_height, 0x00) ;}
Here's a simple hack I've used during the early part of porting a new camera.Code: [Select]extern unsigned int screen_width, screen_height, screen_size;extern void draw_filled_rect( int, int, int, int, int );void vid_bitmap_refresh(){ draw_filled_rect(0, 0, screen_width, screen_height, 0x00) ;}Does that fix the problem ?
Quote from: unARMed on 29 / November / 2011, 17:07:53Here's the values I get on 1.01c going down the modes:These values are all the same on 1.01a.I should add that Auto is mode 32768
{ MODE_SCN_FACE_SELF_TIMER, 33320 }, { MODE_SCN_WINK_SELF_TIMER, 33322 }, { MODE_SCN_FIREWORK, 32792 },Does that mean we could be able to use e.g. the WinkSelfTimer?Modemaps are available in Firmware but we cannot activate them via standard Canon Firmware.
Started by acseven General Discussion and Assistance
Started by ELPH300 « 1 2 » Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by VincentD « 1 2 3 » General Help and Assistance on using CHDK stable releases
Started by yoshiharra General Help and Assistance on using CHDK stable releases
Started by igb General Help and Assistance on using CHDK stable releases