[net.micro.amiga] PUBLIC memory

ridder%warlok.DEC@decwrl.DEC.COM (03/29/86)

From: ridder%warlok.DEC@decwrl.DEC.COM


   ========
           
Date: 26 Mar 1986 1616-MST
From: Hans <RIDDER@WARLOK>
To: "info-amiga@red.rutgers.edu"@DECWRL
Subject: PUBLIC memory
Message-ID: <"MS11(5136)+GLXLIB5(0)" 12193882362.24.143.45170 at WARLOK>
 
I was wondering if the CA people could elaborate on just what NEEDS to
be allocated with the MEMF_PUBLIC flag?  I have seen different people
do different things for structures like Menu, MenuItem, Message,
various IOxRequests, etc.  Can I just declare AND initialize these
structures in C?  (Does this mean that program data segments are loaded
into PUBLIC memory?)  Or is it more proper to declare a pointer, and
then AllocMem() at runtime?
 
Is there some way for me to remember what needs to be PUBLIC?  (e.g.
everything the EXEC has to touch??!?)
 
-hans
   --------