Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!spool.mu.edu!uunet!mcsun!goya!turia.dit.upm.es!esink From: esink@turia.dit.upm.es (Eric Wayne Sink) Newsgroups: comp.sys.mac.programmer Subject: Birth of A5 world ? Message-ID: <1991Feb18.133939.12001@dit.upm.es> Date: 18 Feb 91 13:39:39 GMT Sender: @dit.upm.es Reply-To: esink@turia.dit.upm.es (Eric Wayne Sink) Organization: Dept. Ingenieria de Sistemas Telematicos, dit, upm, Madrid, Spain Lines: 20 Nntp-Posting-Host: turia.dit.upm.es How does the Finder launch programs ? Who allocates the A5 world memory, the finder ? How do global variables get initialized under Think C, MPW ? What kind of code do these compilers insert in the application, which runs before main() ? Lots of questions, I know. If I understand right, Think C places all the global data in a resource of type DATA, and inserts some code which runs on startup to read that info into A5 world. But, does the application have to allocate its own A5 world and then set A5 to point somewhere in it ? MPW has its %A5init thing - does that work similarly ? Just curious... Eric W. Sink | Putting the phrase |All opinions Departamento de Telematica | "Frequently Asked" |are mine and Universidad Politecnica de Madrid| in your kill file is |not necessarily esink@turia.dit.upm.es | not recommended. |yours.