Re: [hatari-devel] IDE byteswap option broken? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] IDE byteswap option broken?
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Sat, 6 Jun 2020 11:33:41 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1591436022; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=BZem20TBI8F0CTgXAU5NgbB7aRRmWMba/6zFbd3pvbM=; b=DhSz0FJN1XerANmNN0P8xjpM61C1wEp3nxZqdGKph7rLU7QimGY61XZPY+zdHXB4KI iEaR4QEZHTquTKkLTnkEvbukxW/SFhGbwM7140JW9V4THrGKI+BxtNSR5Dooj8cuwZix Gn1ceH0nsBk7hvZJ8iCIWB0GQXgbe2dJIvlddPH0lKw6r9BXbs7ToX9kp5u5ui9c7yZO p0AQivzOMERZgvfczkVU3Iot4BI8zQABkGG43VR7KwDzIiZXCdEAu/xPpbMLj1y0vogF RsICFGiTpTj3FQPVRhl7Mv7D07roQe0lXLwVaVTOkJ3kdFtqB0kAdB3lnVvnUmGYttbX JlwQ==
Hi,
I can do that, but first I'd like to know which Hatari IDE byteswap setting
is the one that is supposed to be fully compatible with a standard Atari
IDE port: On or Off? As far as I can tell the Hatari manual
(https://hatari.tuxfamily.org/doc/manual.html) does not say anything about
these settings.
Take care
Uwe
> Am Wed, 3 Jun 2020 22:34:03 +0200
> schrieb Uwe Seimet <Uwe.Seimet@xxxxxxxxx>:
>
> > There might be an issue with Hatari's byteswap option. With a drive
> > image that has a regular (i.e. not Atari IDE but ACSI/SCSI/PC) layout
> > whenever I read a sector the contents are swapped, regardless of
> > whether byteswap is set to On or Off. My expectation is that On and
> > Off would never yield the same result, i.e. one setting would return
> > swapped data, the other not.
>
> Hi,
>
> I am not aware of any changes in that area, so I'm surprised that this
> should not work anymore. Could you add some debugging code to
> bdrv_read() and maybe some other spots that use "byteswap" in src/ide.c
> to see what's going on?
>
> Thanks,
> Thomas
>
>