Fantastic information, gentlemen. I will give this a try. As Bob points
out, putting stuff in flash is not supported, but since people could do it
before, I don't want to take it away from them unless there is a really good
reason beyond my control. Thanks for the pointer to PalmOS_Startup.c. I
did not realize that was included in my Codewarrior package. That will help
satisfy some of my curiosity.
Charles Morris
John Marshall <[EMAIL PROTECTED]> wrote in message
news:5145@palm-dev-forum...
>
> 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