Re: [hatari-devel] Suspected Hatari 2.3.0 regression (prefetch?) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Suspected Hatari 2.3.0 regression (prefetch?)
- From: Christian Zietz <czietz@xxxxxxx>
- Date: Wed, 16 Dec 2020 13:41:05 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1608122467; bh=dNf4txcdxVH0xEMx4as+gbHk9pQSLYHxVQ/mhITME6Y=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=aQHHaFsLVc+7lHxFMK8I3CrXMebsEoOWthjrEKDmCADlSSMf0fqaPrV1/0oOrnjx0 GLAx0FHij4np+5248eB9wIqMtRcpujis5A5X4YBnoSVBrvS+uxKFXzEhqRZGXWezdP rP2CF/CkhbUJn2enSSM09ru2c2aohLmIkYDKnayQ=
Roger Burrows schrieb:
movem.l (a0)+,d1-d7/a2-a6 ; copy 48 bytes ***
movem.l d1-d7/a2-a6,$1d0(a1)
The crash occurs in the second (and last) time through the loop, at the
instruction marked with *** above. After that instruction, a0 will point to
$ff9c00 (although that address has not been read, at least from a programming
POV). The error msg from Hatari is "Bus Error reading at address $ffff9c00".
I know that the 68000 in fact does an extra memory access for MOVEM.x
(Ax)+,... that can cause an unexpected bus error. I'm unsure, however,
if newer 68k CPUs exhibit this side effect, too. To me, the fact that
DELMPAINT runs on a real Falcon without crashing indicates that this
extra access does not happen on a real 68030.
Regards
Christian
--
Christian Zietz - CHZ-Soft - czietz@xxxxxxx
WWW: https://www.chzsoft.de/
PGP/GnuPG-Key-ID: 0x52CB97F66DA025CA / 0x6DA025CA