[hatari-devel] Re: Help with HDC emulation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] Re: Help with HDC emulation
- From: Skip Tavakkolian <skip.tavakkolian@xxxxxxxxx>
- Date: Wed, 8 Oct 2025 13:51:28 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759956701; x=1760561501; darn=lists.tuxfamily.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=MSaJU8Nf10jO6Pe8ibaVo/LBXXfBIBQdPZTuIJPc62c=; b=TouQUH2CXmd/iwTPMqmrtoSblyvlPbdCXcoPwPMWpEdoapXDaDQHC8gZcygEa9vKgQ 4dfRpBOh/jdxA1xCRHIS+f5aGl0G3g3OFaJ1vtoB0/ku7bd3pcTQjANu2IDCliMCaTEg Trx87bMVjWN9uaDZL/nwAVD9AkMDIa2ADN5m4botf1dUzGsoHIqDcNK+2ez+VICeqYVs EGhPGucqjDLGVa2hYDFsJDPHCYQE5TwU9nUX+iP4dNGo6KgOP53a/7PjWPo/N90EFYdX CCSkS9O/cTRq3+h9B1DAysJVHdZUYeuCKKRpZqprSwCbXtf1H2st7ZIulrSYbIm4kBz4 B+gg==
Hi all,
I'm resending this in case it got lost earlier. Does this issue ring a
bell with anyone?
Thanks,
-Skip
On Fri, Sep 5, 2025 at 9:49 AM Skip Tavakkolian
<skip.tavakkolian@xxxxxxxxx> wrote:
>
> Hello all,
>
> I'm a new member. My main interest in Hatari is historical
> preservation of the Idris OS for the ST (circa 1986). The github repo
> below contains the installation diskette images and the documentation.
> It has not been made public yet because ACSI isn't working properly.
> I'm happy to add anyone on this list who wants to help:
>
> https://github.com/9nut/IDRIS-OS-for-Atari-ST
>
> The issue seems to be with DMA emulation for the hard disk. I don't
> have access to the original source code for the ST drivers (and I'm
> not the author), but I recall the boot kernel (cboot) and the early
> part of the full kernel don't use interrupts. At some point in the
> full kernel when interrupts are enabled, SCSI commands time out,
> although the data is eventually transferred. The trace output for
> scsi_cmd and scsidrv looks like this:
>
> HDC: READ SECTOR (ACSI, t=0, lun=0, cdb=08:00:53:a9:01:00) with LBA
> 0x53a9 -> OK (0)
> HDC: DMA addr(0x3a3e4) method(0x8a)
> HDC: DMA addr(0x3a3e4) method(0x0)
>
> FDC doesn't have this issue; the same kernel is used during
> installation from floppies.
>
> Any thoughts on a mitigation or fix?
> Thanks,
> -Skip