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: Sun, 7 Jun 2020 20:46:04 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1591555566; 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=I4uXu1Ofns4o8vifjoJBIHFFdWwxJW0xICH7377SWv8=; b=jFngM0mk9y5724Zxe5VVxL53pBjHqp53t6UuQP2apeCNk0ESrTZ2ZooLjKS5+WF7ld C3esJO2xyhFTCQtvhx1mjV5DHCJWeqs+gbp9JKzrRXoQDd9FVVhExyn1VhHHMu9uauYG SMOtZFya2pRhs4eIy2nOPZ+da/5QzA4N9sHcFQI3WvLlRfS/K+CDkzZysO0ceWGU6DXE 0A4tPRUftx/2H4QzlbYLUIWfVwM3wkh61SKjG5EZk3VMt3RJih9KUNHksp+pXazTpJK8 oOyRXmHxBv7GyqkJnGGE+KMgz5Af5wP0JYKrcfjJfHkieKlkDvp2Kv3XrX4Nk/Wt1zBi Avmw==
Hi,
Yes, looks much better now. This issue was driving me nuts last week,
because I was investigating another unrelated byte-swapping issue, and
nothing appeared to make sense.
Best regards
Uwe
> Hi,
>
> On 6/6/20 12:49 PM, Uwe Seimet wrote:
> > After playing around for some time my impression is that changing the
> > byteswap setting *in the UI* does not work. When I switch from Off to On or
> > vice-versa, after a reset nothing has changed. But when I eject the drive,
> > reset Hatari, and then assign the previous image again, after the next reset
> > the byte order is as expected.
>
> Thanks for reporting, it should be fixed by this:
> https://git.tuxfamily.org/hatari/hatari.git/commit/?id=04ca71c6ac601b0d139a4f578d0a2184aaa442c5
>
> - Eero
>
> >> 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?
>
> >
>
>