Re: [hatari-devel] Enabling NatFeats

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



>I'm currently experimenting with a (Linux-only) SCSI Driver implementation
>that gives seamless, direct access to devices. It maps SCSI Driver calls
>to the Linux sg interface. 8 or 9 calls have to be mapped.

There is already an existing XHDI driver interface that basically provides the same functionality as the native atari interface. It is in use by EmuTOS, and also by recent linux-68k kernels. Sounds like this is very similar to what you are experimenting with.

In Aranym there is also some low-level SCSI support through the IDE interface. This is not based on Natfeats, but on direct hardware emulation. I cannot tell though how good it is working, and some low-level commands might not be implemented.



Uwe Seimet <Uwe.Seimet@xxxxxxxxx> schrieb am 22:56 Montag, 17.August 2015:


Hi,

> > Looks to me as if the existing features are mainly related to the debugger.
> Thats maybe because Hatari does not need anything else yet. There are quite some more features implemented in eg. Aranym.
> > is there a preferred way of doing that, some kind of extension point, some guideline?
> I dont't think that there is a general guideline. There are is bit of documentation on Native Features Intro [ARAnyM Wiki] that covers the basic features. Most features use sub-id 0 to identify their interface version, and i would recommend to do this for any new feature. Anything else largely depends on what your feature implements.

I'm currently experimenting with a (Linux-only) SCSI Driver implementation
that gives seamless, direct access to devices. It maps SCSI Driver calls
to the Linux sg interface. 8 or 9 calls have to be mapped.

The basics are working already, see attached screenshot. I have not
dared yet to write something to a drive, though ;-).

Take care


Uwe




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