-----Original Message----- From: Rania Saymeh [mailto:[EMAIL PROTECTED]] Sent: Friday, 4 January 2002 12:10 AM To: Palm Developer Forum Subject: memory cards
hi, how can I tell what is my memory card divided into for each seperate card with a differnent memory? so for a 4M card, how do I know how much is for dynamic heap/storage heap/ ROM/ Relevant PalmOS functions: MemNumCards - number of cards MemNumRAMHeaps - number of RAM heaps (lower heap numbers ?) MemNumHeaps - total number of heaps MemHeapSize(n) - size of a heap where n in [0, (MemNumHeaps()-1)] MemHeapDynamic(n) - type of a heap (Dynamic or Static) Just accumulate sizes to get the total. FYW: Recent PalmOS versions (3.0+ ?) have exactly one ROM, Dynamic RAM, and Storage RAM heaps (i.e. 3 heaps in total). Stack size ? That's a bit tricky -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
