Re: [hatari-devel] Problem with ACSI/DMA: Command is not executed |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Problem with ACSI/DMA: Command is not executed
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Fri, 11 Oct 2013 22:05:23 +0200
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1381521923; l=573; 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=Eq3pYaty5lVazhXxDQyPj9Cy68g=; b=HVVhJtdZPWY9w6FZWhbD4W6Zfyk3zWsPtVqLxl8soXnR9sobCGUhJach9EVfiopXZob AcWtG1SW7DFZbHyWi/3+qrEpvjQIcxczDTJzSLBYzu/Mi3Ielgzig0IEJwV8wW2mLilTa mpVGnZyA8oeJLVPHLeu5OMLlqaJOCfxDr+g=
Hi,
> Regardless of what the emulated code does, Hatari should not crash.
> Could you provide backtrace of the crash and "info locals" output?
Yes, I will try to do that later.
In the meantime I might have found another problem in hdc.c.
HDC_Cmd_ReadCapacity() increments the DMA address while storing the 8
result bytes but then it explicitly increments the addrese once again by 8:
/* Update DMA counter */
FDC_WriteDMAAddress(nDmaAddr + 8);
I don't think this is correct but rather should be:
FDC_WriteDMAAddress(nDmaAddr);
Take care
Uwe