Re: [hatari-devel] Re: Problems with GEMDOS drive support

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On Freitag, 21. September 2018 00:32:21 CEST Roger Burrows wrote:
> This looks
> like what happens in ide_data_readw()/ide_data_readl() etc.

Ah ok, now i understand. So access to IDE is byteswapped because Hatari only 
emulates the original Falcon behaviour. But this is not done when reading the 
partition table, which is done through host file access, so it does not find 
any partitions.

>Of course, in theory you could change ide_data_readw()/ide_data_readl() etc 
>to NOT byteswap the data, 

Or add an option for it, like Aranym does. But of course the access must 
always be the same, whether reading the partition table or actual data.

As a workaround, you could try to hack the image by swapping only the root 
sector back.






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/