Menu
Recherche




Articles & Documents

Fermer Tutoriaux

Lettre d'information
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
22 Abonnés
CPDB.Net

Nouvelles des Amis
Visites

   visiteurs

   visiteurs en ligne

Webmaster - Infos
forum.gifForum - ppCompiler - Sujet n°12

Forum - Forum
ppCompiler - ppCompiler


actif  Sujet n° 12  Multi-segmenting

le 29/04/2009 @ 20:27
par jms

jms



I am writing a large application for my Palm running OS 5.2.8 and I am worried that I will run out of available memory. So far, the GUI uses about 20k (using Lychee routines). What is the largest program that memory can hold? Is multi-segmenting possible? If so, how do you link the programs and does mult-segmenting have a maximum amount of total memory for the total of all the programs that you link?


jms

Ecrire à jms   Poster une réponse  Haut
Réponse n° 1
--------
le 01/05/2009 @ 13:45
par Philippe

Anonyme

visiteur
The maximum size of the data segment is 32k, and this data segment is shared by all the code segment of the application. This is mandatory due to the dynamic link mechanism of multi segment.
Il you need more memory, you may just declare pointer in the data segment and initialize them with dynamic memory allocation.
Bird is an example of a huge multisegment application proprammed with PP. You may have a look to the source code, it is available.
Ecrire à Philippe   Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 




^ Haut ^