Re: [hatari-devel] Re: ACSI issue with Hatari

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


Am Sun, 28 Sep 2014 22:02:42 +0300
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:

> Hi,
> 
> On sunnuntai 28 syyskuu 2014, Eero Tamminen wrote:
> > Thomas, could you look at the ACSI issue raised by "AtariZoll"
> > at Atari Forum:
> > http://www.atari-forum.com/viewtopic.php?f=51&t=26779&start=75
> > ?
> > 
> > It could be related to your following change:
> > "ACSI: Reset command counters when A1 pin is zero"
> > (which code has changed later a bit)
> 
> Corrected the subject (there's another issue reported by AtariZoll,
> related to Blitter / IDE).

I've now had a look at the ACSI issue, and the problem was/is that this
hard disk driver is accessing the FF8604 and FF8606 registers with one
long word access. Not sure whether this is "legal" on real hardware,
since it might depend which register content is put on the 16-bit bus
first - I don't know how hardware is doing this, but I assume that it
sends out FF8604 first and FF8606 afterwards, so there might be a race
condition on real hardware, too. So IMHO this is a bug in that driver.

It used to work with old Hatari ACSI emulation since this was simply
ignoring the A1 bit in FF8606. Anyway, I've "fixed" the Hatari code now
to update FF8606 first when the program tries to write to FF8604 with a
long word access, so the first problem with this disk image now should
be gone. Unfortunately there seem to be some other problems left, so
that movie player still does not work yet.

 Thomas



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