Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!cory.berkeley.edu!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: net.micro.amiga Subject: Using static or malloc'd structures instead of using AllocMem Message-ID: <8603310219.AA20221@cory> Date: Sun, 30-Mar-86 21:19:40 EST Article-I.D.: cory.8603310219.AA20221 Posted: Sun Mar 30 21:19:40 1986 Date-Received: Tue, 1-Apr-86 08:16:20 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 18 You can use static or malloc'd storage if: * They do not have to be in chip memory * They do not have to longword aligned. (There are ways to get around these problems, but they aren't very portable). I think the major problem with people making mistakes as to which method they use is that the Documentation (Sorry Amiga) is woefully lax in making it clear just what must be in chip, and what does not need to be in chip, what must be long-aligned, and what need not be long aligned. Why Amiga didn't get together with Lattice and have the compiler default to long-aligned structures I don't know. -Matt