Re: [hatari-devel] IDE IO register range access commit

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


Le 21/09/2020 à 22:03, Thomas Huth a écrit :

IIRC IDE0 is always the "master" drive, and you can not have just a
secondary drive on the bus without the master drive... so testing for
IDE0 should be enough.

But: There should also be an additional test for Falcon here, since the
IO registers are *always* available on the Falcon, no matter whether
there is a drive or not. IIRC there are some hard disk drivers (was it
Cecile?) crashing in Hatari since they expect the IDE IO registers to
always be there.


Can you provide a patch for Ide_MmioIsAvailable() to include falcon too ? Then we can make Ide_MmioIsAvailable extern instead of static and this function can be used in memory.c to decide if IDE region should be mapped or not.

Nicolas




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