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: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sat, 6 Jun 2020 11:27:49 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1591435671; bh=wFGicV7LyZlBlV228H2w4TdY9jXkH0pRW9P/YcYve+E=; h=Date:From:To:Subject:From; b=JhgwvVAt/m/niQnDeZM2nzKg03Iivw7uINsro7WakyRKnlV2YePiHisDsF48BjU3n Pt3XVz4PfBhf4ilrlaQ0oWGWpM+3yqUgrc7ozPIGubtcouXS50/kcQucwOpM/wnL3l CC2U7o4wVBB7sduAl6wsAEiqR4j2dGuTp3zbIlX3TU5d+PMguuJbRDwlyvyY2v6NZB cjr/SKSOwf3pV8ggfFq9KBNvgGeO7lRmq8nPdBVy17ITKMHgykIWW8zxY4qxRLwwRW QF1c7FjGmO7Aa23teiotYGKyRBX1TV7pKahVxVcSnqSgCsPEo4HiUtono2s/ShEn7J qV4QcVxIt2u+g==
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