> From: Jeff Ishaq [mailto:[EMAIL PROTECTED]]
> Is there any harm or performance penalties to having 80 
> segments in my PRC?

Yes, that sounds extreme.  Look in the source to the MSL startup library.
At startup, it fetches and locks every code segment (memory chunk) and then
builds a jump table to enable inter-segment calls.  That's a lot of work
before PilotMain even gets called.  (And as your followup email states, it
doesn't work!)

Sounds like the better solution is to hand edit the generated file and add
just two '#pragma segment' lines, since it sounds like two segment should
fit it just fine.

But beware, if any of these functions get called from a non-globals launch
code (such as Global Find) then they need to be in the first segment.  All
64K+ of them definitely won't fit there.

-slj-


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to