[hatari-devel] Help with HDC emulation

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


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



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