https://chdk.setepontos.com/d/5549 may of interest 😉
edit:
New udumper. Prepare the script disk as described, with the following in extend.m. This appears to give a full dump on my
d10
dim f,a
private sub Initialize()
UI.CreatePublic()
a=LCDMsg_Create()
LCDMsg_SetStr(a,"Running")
System.Create()
f=Fopen_Fut("A/DUMP.BIN","w")
Fwrite_Fut(0xFF810000,0x7EFFFC,1,f)
Fclose_Fut(f)
LCDMsg_SetStr(a,"done")
end sub
private sub Terminate()
end sub
Start with the play button, press SET, wait for the message to turn to "done", shut down and enjoy your new dump.
I've noticed the language is very sensitive to syntax. It is case sensitive, and if you have a syntax error it will just display "failed" on the screen for a second and then shut the camera down.
Note that the SCRIPT string does not go at the same offset as bootdisk, so you should be able to use this simultaneously with CHDK.
Not also that with some clever use of Poke you should be able to run arbitrary arm code without diskboot or ps.fi2
edit:
and I was quite wrong about the script needing to be encoded 😳