Re: [hatari-devel] New drive image settings |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] New drive image settings
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Wed, 10 Oct 2018 11:12:48 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1539162769; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=3ioQK2ZwT14h0Gtqx402+IWy+LR7mIl74p01pucDdI4=; b=eXNU0uE50Cy3buzCY1di4UOOQKMJUnbBUWIfq+AiOoWV7dzRmTfUeRSRyHKJcifu0v daZS0cpWf580xFP/WZbLNc90jz2cVyTLI1Gm0rOvc5V+6YejMgQX0pNQlvFZXLty0yvs xnO2pIwgtiMxahUhqxq5Tj/vU19FYFuT9wwoV5wiYhJJYz4Ud/r6NIZzMF3lCdExPuOY Wsxh2qD9b85QDXPo8ZPA0Q9cwnNg7pM44ZFYhQYMmfQvmr5HTmhdK+uz/7xakBNFmUIh DnESe1Y8oz/P/vQFRcBmFOqFttXz0/e5sYwvwnz9n5D4B2YF8RncdjoZqGUVmtkwotte V7Pg==
Hi Thomas,
> > I've played with the settings there a little bit (you've mentioned 16
> > bytes, not 1 byte), but it did not help. So currently this is not
> > emulated yet, since I did not find the right setting yet. If you want
> > to have a try, have a look at the dma_check() function in ncr5380.c.
>
> Can you provide a drive image I can reproduce this problem with?
I can reproduce this now. HDDRIVER writes 0 to the Falcon's (but never
to the ST's) sector count register if there are still more than 255 * 512
bytes to transfer. This results in 256 * 512 bytes to be transferred,
i.e 0 in sector count for Falcon DMA results in an effective count of 256.
I'm not sure whether this is a documented feature (I might have checked
that when I was implementing this long ago.)
I'm not really satisfied with how HDDRIVER handles this, and I will
probably change this after further investigation.
Best regards
Uwe