From: | Joseph Fenton |
Date: | 17 Jul 2000 at 19:46:58 |
Subject: | Re: Run68k yet a trouble |
Almos Rajnai wrote:
>
> BTW to avoid cache
> problems, "dcb.b 32,0" would be better at the end of a section, the
> beginning should be cache-aligned. (At least this seems obvious to
> me, but please correct my words.)
The Amiga loader only guarantees 8 byte alignment; the 32 bytes
at the start of the PPC data area guarantees that you will
be into the next cache line for the data variables if the
block didn't fall on a 32 byte boundary. Same business for
the end of the data area... use another 32 byte spacer so that
any 68K data blocks laoded after the ppc data block don't get
accidentally cached by the ppc.