I know that the value 0x24B8 is taken from a procedure called in taskcreate_Startup. But how to find the button address (0xC0220048)? Should I use script as was done to find LED addresses?
Now CHDK is booting. I discovered that the problem was related to the start mode detection. I'm using values from boot.c file for a4000 written by alvm. I'm using the same values, but I'm not sure how to find them. Is there any documentation about that?Code: [Select] if ((*(int*) 0xC0220048) & 1) // look at play switch *(int*)(0x24B8 + 4) = 0x100000; // start in play mode else *(int*)(0x24B8 + 4) = 0x200000; // start in rec mode I know that the value 0x24B8 is taken from a procedure called in taskcreate_Startup. But how to find the button address (0xC0220048)?
if ((*(int*) 0xC0220048) & 1) // look at play switch *(int*)(0x24B8 + 4) = 0x100000; // start in play mode else *(int*)(0x24B8 + 4) = 0x200000; // start in rec mode
Should I use script as was done to find LED addresses?
but if you grep the trunk/platform folder for "correct power-on" (you need the quotes) you get the addresses for where this was found for many of the ports
//A810/A1300/A2300/A2400/A4000#define KEY_HELP 39
Is it OK or do you have any comment?
I'm using the Help button to enter in ALT mode. Is it OK or do you have any comment?
I suggest the playback button [>], because we need an unified standard. The help button is a good option for the function '<ALT> mode button'.
The SX200 normally starts in Playback mode, to switch to Record mode half press the Shutter button once.To start directly in Record mode, hold down the Power button ~ 1-2 seconds
@msiI like standards, so I followed your recommendation and I'm using playback button to enter in ALT mode.But I did not understand the second part of your comment, what do you mean with "<ALT> mode button"? Am I missing some special function button?
Quote from: chdk_wikia link=http://chdk.wikia.com/wiki/SX200The SX200 normally starts in Playback mode, to switch to Record mode half press the Shutter button once.To start directly in Record mode, hold down the Power button ~ 1-2 seconds I'm using that behavior in a2300 port. Any comment?
Quote from: nafraf on 22 / July / 2012, 19:22:44@msiI like standards, so I followed your recommendation and I'm using playback button to enter in ALT mode.But I did not understand the second part of your comment, what do you mean with "<ALT> mode button"? Am I missing some special function button?I think he means making the help button an option, if you implement the adjustable alt key feature.
That's correct, using the help button for the function 'adjustable <ALT> button'.
con> lsCHDK/DCIM/DISKBOOT.BINTHANKSchangelog.txtreadme.txtvers.reqcon 4> mkdir NewDir ERROR: A/NewDir: errorcon 5> lsCHDK/DCIM/DISKBOOT.BINNewDir/THANKSchangelog.txtreadme.txtvers.reqcon 6> delete NewDir A/NewDir: OKcon 7> lsCHDK/DCIM/DISKBOOT.BINTHANKSchangelog.txtreadme.txtvers.req
Have you seen this bug before?MakeDirectory_Fut was not found automatically, but I found it by comparison with sx260 dump. I think that the address is correct, because directory is created.
Started by nafraf Firmware Dumping
Started by thunder.thehedgehog.1 General Discussion and Assistance
Started by MiguelQ General Help and Assistance on using CHDK stable releases
Started by stagdriver General Discussion and Assistance
Started by pecck General Help and Assistance on using CHDK stable releases