Re: [hatari-devel] Blitter bug in STe mode |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Blitter bug in STe mode
- From: Christian Zietz <czietz@xxxxxxx>
- Date: Tue, 9 Jun 2020 07:33:57 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1591680841; bh=/jlTQv5vW1FIESs0wbbTNf75fbO7ZQvTEQwgmSa2hB4=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=IzEegkWJGIYEGuP179J9qIvLV0l6FOryYJBm0LxYuSv9THuOg56lVdsgLiPXCpl0o nouYZq+HjN8ZvflU3NJ2134sEA8DRF5tNnKcPXcGd8IKzy8T+3k1wvMV/loKfLxcS6 A6y/j1hZ1lP12cBuTsJIGI1OeoM8WWxuA7x5XTIs=
Roger Burrows schrieb:
> On 8 Jun 2020 at 23:58, Vincent Rivière wrote:
>
>> On 08/06/2020 à 23:31, Christian Zietz wrote:
>> > Hatari sometimes restarts the Blitter in the middle of a TAS
>> > instruction;
>>
>> Wow. I wasn't aware that EmuTOS used the TAS instruction. That one is
>> completely forbidden on Amiga. Fortunately, the Blitter code is not run on
>> that machine.
>>
> Atari TOS also uses the TAS instruction, so that's why I deemed it safe ....
It is. The TAS instruction is there to *prevent* what currently is
happening on Hatari. With BSET #7,... the Blitter can take the bus
in-between the read and the write cycle. With TAS it shouldn't be able
to. Therefore, imho it's the right choice to use TAS (as recommended by
Atari) to restart the Blitter.
Regards
Christian
--
Christian Zietz - CHZ-Soft - czietz@xxxxxxx
WWW: https://www.chzsoft.de/
PGP/GnuPG-Key-ID: 0x52CB97F66DA025CA / 0x6DA025CA