On Fri, 27 Jul 2001, Igor Mozolevsky wrote:
> > According to Neil Rhodes, "No chunk can be larger than slightly less than
> > 64KB (the exact number is 65,505 bytes, which is 31 bytes less than
> > 64KB)."
> 
> Could someone at PalmOS verify that number please? :-D Is it always going 
> to remain that or is it going to change? If it is, how can one calculate it 
> dynamically?

  i thought i read somewhere that 4.0 "broke" the 64Kb barrier. :P
  maybe i was just dreaming.

  you'll find that the 31 bytes keeps track of:

   a) where it is,
   b) size
   c) access rights etc.

  if you dug into the memory manager sources, you'll probably find it.
  look in MemHandleNew() or MemPtrNew() and in the heap code.

// az
[EMAIL PROTECTED]
http://www.ardiri.com/


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