Scott L. Johnson <[EMAIL PROTECTED]> wrote:
> Take a look at the equivalent in CodeWarrior, the function called
> __LoadAndRelocate__() in PalmOS_Startup.c. It calls DmGet1Resource() to
> recover the code segment handles to be unlocked. (And I sure hope that CW
> multi segment apps are ROMable!) Would this work in GCC?
It seems a little bit tacky :-), but if it works for CW, there's no reason
why it wouldn't for GCC. In fact, Charles can do this himself right now
if he wants to: the relevant code is _GccReleaseCode in dreloc.c in the
prc-tools source code. Just add a similar function with this name to
your project with the modification Scott suggests and it will override
the one from the library.
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html
- Problem running app from Flash ROM Charles Morris
- Re: Problem running app from Flash ROM Bob Ebert
- Re: Problem running app from Flash ROM Ron Nicholson
- Re: Problem running app from Flash ROM krollin
- Re: Problem running app from Flash ROM Charles Morris
- Re: Problem running app from Flash ROM John Marshall
- RE: Problem running app from Flash ROM Scott L. Johnson
- Re: Problem running app from Flash ROM Charles Morris
- Re: Problem running app from Flash ROM John Marshall
- Re: Problem running app from Flash ROM Bob Ebert
- Re: Problem running app from Flash ROM Bob Ebert
- Re: Problem running app from Flash ROM Vitaly Kruglikov
- Re: Problem running app from Flash ROM Charles Morris
- RE: Problem running app from Flash ROM Scott L. Johnson
- RE: Problem running app from Flash ROM krollin
- RE: Problem running app from Flash ROM Bob Ebert
