Thread: Sfs....
View Single Post
Old 16 April 2010, 03:37   #9
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Originally Posted by thomas View Post
AFAIK addresses returned by AllocMem are always divisible by 64, so the following thoughts are of theoretical nature only:
I believe the default for AllocMem() on the classic Amiga has been 8 byte (divisible by 8 bytes, LONG LONG aligned) aligned for a long time. The Autodocs only say that the allocated data is guaranteed to be long word (4 byte, divisible by 4) aligned though. I believe TLSFmem allocations are 16 byte aligned. You are a much more experienced programmer than me though so maybe you can expand on this some more? The rest of your explanation is very good and logical.
matthey is offline  
Page generated in 0.03991 seconds with 10 queries