Thanks, Ben.  I'm going to leave it as a small code model.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ben
> Combee
> Sent: Tuesday, August 07, 2001 11:06 AM
> To: Palm Developer Forum
> Subject: Re: Segment > 32K in small code model
> 
> 
> "Alan Dorfmeyer" <[EMAIL PROTECTED]> wrote in message
> news:59047@palm-dev-forum...
> >
> > I have a multi-segment project in which I would like to use 
> the small
> code
> > model for performance reasons.  In the map file, I noticed 
> that I have
> a
> > segment at 37.7K, and another at 34K (segment 1, in fact).  
> I remember
> > seeing that a small code model should have segments 32K or less.
> However,
> > the project is linking OK.  My question is, will I have 
> runtime errors
> > because of the > 32K segments?  Thanks.
> 
> If you get no errors at link time, you are fine.  Using small model is
> recommended for multi-segment programs, and I've seen segments grow to
> almost 64K without problem -- its a matter of arranging the 
> order of the
> code files linked into the segment to make sure nothing references
> anything that is more than 32K away from it.
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
> 

-- 
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