Wouldn't this also currently mess up the Palm's native file system?  I assume that its 
current method for accessing
resources/records still assumes they are less that 64K, so even if you created a large 
segment, you might not be able to read it on
the Palm.

Ben Combee wrote:

> > Is there some way that I can get the project to link with that much static
> > data or do I absolutely need to put it into resource files? I would like
> to
> > avoid doing that if possible since this is an ongoing project with changes
> > to the existing codebase that will need to be integrated into this port.
> > However I suspect that putting into resources is the only way to get it to
> > work, would someone please deny or confirm my suspicions?
>
> I'm confirming it -- there is no way to get a data segment larger than 64K
> with standard Palm tools.  All static and global data addressing is done
> through a +-32K offset from the A5 register, so growing beyond 64K would
> require totally different code generation.  Also, multiple segments only
> relates to code -- all data is always aggregated into a single segment.
>
> Using far data is a solution on MacOS, but the Palm OS doesn't provide any
> support for that mechanism.  There is no Palm "huge" memory model like that
> was on x86 DOS.
>
> --
> 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