30D/400D
I think somebody misunderstood me.
I think it is me :-)
I'm runing code (writen in asm now) on my 400D without problems.
that is great.
The problem is for me to write a code that will do something usefull :-)
i hope you arent goint to port linux or wince to your camera :-)
I think your code must be able to restart existing OS at least.
so your first (hello world) asm must be something like that:
B ffff0000
or
B ff810000
if your have camera restart with "B ff810000" sucessfuly you have all the chances to start porting of chdk
if it do not restart well you have to analise flasher to see what it executes to restart camera after flashing....
maybe something must be executed before "b ff810000"
I'm not an expert in disassembly - mayby it's easy to make a memory dumper?
lets see.
flasher contains full OS to be able to work with camera and it's devices (LCD, CF card, etc).
your code starts when OS is not initialized.
so you can't use OS specific functions to work with file system.
you can see discussion on this subject here
universal dumper - one more ideaI see two views to this:
- it was hard to make udumper . it was done for P&S cameras with SD cards(it uses low level functions to operate with SD card) and it is unknown how to make it for CF cards.
- why to make dumper when we already have partial (vital for us ) part of ROM
actualy it could be useful to have ROM dump.
maybe FFFFXXXX adresses contain some code similar to P&S cameras wich can run some file from CF card.
some body can tell me how to write a file to CF card?
all work have been done on P&S cameras
P&S cameras do not support CF cards so I think nobody can tell you how to work with cf cards.