(Sorry, I sent an unfinished mail accidentally...)

Stack size ?
This is a bit tricky.

My understanding is that it is generally application-specific. PalmOS
reference mentions resource pref #0 (page 54 for sdk 4.0) containing all
required sizes. It doesn't mention default values (i.e in case pref #0
resource is unavailable). With prc-tools it might be somehow related to size
of 'bss' section, or another section of appropriate type (well, it again
depends on build-prc design).

While browsing PalmOS reference I found function SysGetStackInfo, but

        (i)it requires PalmOS 3.0+;
        (ii) it gives only stack size of current task (thread);
        (iii) I never tried it, and can't tell you anything more; :-)


Cheers,
M.



-----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/ stack size? and how would that be different for a 8M card, is it
documented anywhere?

thanx
Rania


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