Re: [hatari-devel] ACSI: READ/WRITE (10) incorrectly evaluate block number |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] ACSI: READ/WRITE (10) incorrectly evaluate block number
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Sun, 27 Oct 2013 11:00:32 +0100
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1382868033; l=1209; s=domk; d=seimet.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=0IJo1+yi2k+qp2gHD7yAfrTJn78=; b=OFOkHFCbPF+HH3CVBMkEGk5mQ6oQg2M/IJN4ODcVjK+l7csf4T/AgeIhPRF59X+o22F 6vqT9vbG1kgjZJI+i1DUM79Y7ylpytucIG2AvrzO+0/WIB07+6k8kh2S5jmceFIsJeJcb hL0RkWjg9PIGGFOK02k2HRNbd8eVyXC15nE=
Hi Thomas,
> > This might work, I have also already been thinking about this. This
> > is a general problem where not only Hatari is affected, but also real
> > hardware that supports the ICD mechanism for using all SCSI command
> > classes (GigaFile, UltraSatan, ...) connected to the ACSI bus.
> > But would this also work if there is no DMA transfer at all, but only
> > PIO? What happens if I read (or send) data not by DMA but by PIO
> > exclusively? In this case we could not draw any conclusions from the
> > state of these pins, could we?
>
> As far as I understood, the A1 pin has always be set to zero when
> starting a new command, no matter whether there is a DMA transfer
> involved or not. Or did I miss something here?
You may be right, I have not yet had a very close look at this. Haven't
looked at the low level ACSI stuff for quite a long time ;-).
Do you think you can implement it this way?
By the way, the byte counters (bytecount/byteread) are probably not
reset to 0 when resetting Hatari. Whenever the ACSI emulation was out-of-sync
I had to restart Hatari in order to get things right again. Just resetting
the emulation did not help.
Take care
Uwe