Re: [hatari-devel] Wrong MODE SENSE data length for page code 0x3f

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


Maybe I should add that SCSI2Pi and PiSCSI have a SCSI-1 mode because there
is old non-Atari software that needed it, e.g. for MacOS. Just changing the
SCSI level returned by INQUIRY to SCSI-1 made this software happy. It was not
even required to take care of the special rule for 0 bytes for REQUEST SENSE,
which has been discussed in this thread.

This shows that SCSI-2 is a good choice for all kinds of platforms, and
the newer specifications are more precise than the old ones. The few
platforms or software products that require SCSI-1 are usually fine with
SCSI-2, as long as you lie to them and tell them it's SCSI-1 in the SCSI
revision field of the INQUIRY command (line 67 in hdc.c).

Newer SCSI levels (the latest standards are still being worked on in 2024)
also work fine, by the way, because they are backwards compatible. Usually
new commands or command options are added, which can be used by any OS or
driver aware of them. Just like the REPORT LUNS command, which I added to
Hatari some years ago. It speeds up checking for connected devices, i.e. for
available LUNs.

> Hi,
> 
> > Thanks!   Could you also propose a patch?
> 
> I suggest that you just change the conditions in the code accordingly.
> Frankly speaking, I don't want to be involved in yet another SCSI emulation,
> and implement the same logic over and over again. This is boring.
> I just stumbled upon the existing code and pointed out potential issues.
>  
> > Btw. Are there other differences between SCSI-1 & SCSI-2 that could be 
> > relevant for Hatari?
> > 
> > (I'm asking as started to wonder whether it would make sense to have 
> > some option to select which standard Hatari emulates...)
> 
> I doubt it. For almost 35 years there has not been any SCSI-1 hardware
> anymore, and Ataris have been happy with SCSI-2 since about 1991, also STs.
> This is why I wonder whether it makes any sense to support SCSI-1 at all.
> Provided that AHDI and HDX are fine with SCSI-2, I do know know any software
> that would require SCSI-1. Regular software is not affected anyway, only hard
> disk software is. Any potentially an OS like Linux. Atari's ASV is also fine
> with SCSI-2, by the way. I have been using SCSI-2 drives with it already in
> 1990, even though Atari distributed it on SCSI-1 drives (and on tapes).
> 
> Best regards
> 
> Uwe
> 
> 



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