quick question though: why do the 590's have "stub_entry" and "stubs_entry" stuff ?
(in platform/a590, trunk 618 src, note the dropped 's')
not a typo I hope ?
The whole thing is a mess. Those do not appear to used.
The stubs_entry.S cannot be generated from the existing sig files, and contains a whole lot of stuff that isn't used. The stubs_entry_2.S also contains a whole lot of garbage (unknown_libname_80 ... WTF?), including stuff that is correctly found in stubs_entry.S... along with the "THIS IS GENERATE FILE" warning, which it shouldn't be...
Another interesting thing, finsig finds:
NSTUB(GetDrive_FreeClusters, 0xffc416f0)
NSTUB(GetDrive_TotalClusters, 0xffc416bc)
but stubs_entry_2.s has
NHSTUB(GetDrive_FreeClusters, 0xffc416bc)
NHSTUB(GetDrive_TotalClusters, 0xffc416f0)
Notice the addresses are reversed. Looking at the a720 dump and addresses, it appears the finsig version is correct.
The 101b stubs_entry.s appears to have been manually edited...
I've cleaned up most of the above, but it's quite possible I've broken something. It's also quite possible/likely that more entry points are wrong.
I've re-directed PostLEDMessage to a RET for the moment.
@karenk
OT, but you can buy them from canon dealers (eg newegg
Newegg.com - Canon ACK800 AC Adapter Kit ) at an outrageous price, or get cheap imitations of dubious quality on ebay or your favorite china gadget source.