[hatari-devel] IDE & gemdos HD emulation
Thomas Huth
huth at users.berlios.de
Wed Jan 20 00:17:19 CET 2010
On Tue, 19 Jan 2010 21:58:02 +0200
Eero Tamminen <eerot at users.berlios.de> wrote:
> Hi,
>
> On Tuesday 19 January 2010, Thomas Huth wrote:
> > > > > E.g. with Cecile booting from IDE drive works, but not when
> > > > > having GEMDOS D & E drives.
> > > >
> > > > I just tried it again, and yes, it works for me. TOS 2.06, IDE
> > > > hard disk image with two partitions and AHDI 6 installed, and
> > > > one GEMDOS hard disk folder "E". Hatari successfully boots from
> > > > the IDE drive and all partitions, C, D and E show up correctly.
> > >
> > > Hm. I got this when trying to format an image with AHDI 6:
> > > HDC: Unsupported MODE SENSE command
>
> I've understood in AHDI the above command to recognize the HD
> (brand/model). Is there any documentation on ACSI commands?
I only have two good books where these commands are described
(Scheibenkleister and ST-STE-TT Profibuch, both in German), I don't
know any english documentation about this :-(
> > > > Looks like bad error handling. Feel free to fix it!
> > >
> > > Problem is that not being familar with IDE, I'm not sure how it
> > > should be handled. :-)
> >
> > Me neither, I just ported the code from qemu to Hatari :-)
>
> Oh, in that case, let's just ignore it. I assume my disk image was
> broken. :-)
You could also have a look at the latest qemu source code:
http://git.savannah.gnu.org/cgit/qemu.git/tree/hw/ide/core.c
Looks like they fixed the return value checking there...
Thomas
More information about the hatari-devel
mailing list