Re: [hatari-devel] MODE SENSE update patch |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] MODE SENSE update patch
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sun, 20 Mar 2022 07:31:01 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1647761463; bh=4wvWH8bN3AmiGd9l25A3pvBW0sG1uZPGAZsGehTkEdQ=; h=Date:From:To:Subject:From; b=IR06mtHo3S7lz8QsY7i7LydRpQYbjOEgXFNEIl4bnoJat4Ps3fGaz5aMhSN7TlQeK bq9mZ5M7VYqUbZmTs0HJxX79Eblwf8SlF4n1S8+IedQ/bUcCXXcTacTS9tfu7tzB6Z IjDMIj7cq+X+1b9syimLwSJ/6GWwRMs4AfKKO4rXyN+OuhvZRXm8ZKXlRnBkh711IY H7GcGkCZD68RhLlRctxHeLY01bHzNpTDqAG/0PJvXTXaZBG5Jr3kEClspEX8VBg0c1 05q+uMTb+NtcYgdVBrkYmx1LbTYGMIf9Ci1JTHGI8A57E79BYoUkYGXvGZgzKXMWy4 7JyFNF1BM3MdQ==
Am Sat, 19 Mar 2022 18:26:23 +0100
schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
> I know my messages are ignored here. Anyway another try: Previous emulates MODE SENSE, including the DBD bit. Everything tested for years now. No need to re-invent anything.
>
> https://sourceforge.net/p/previous/code/HEAD/tree/trunk/src/scsi.c#l1001 <https://sourceforge.net/p/previous/code/HEAD/tree/trunk/src/scsi.c#l1001>
You're certainly not ignored here, Andreas, and your link is very valuable
information! But you also have to acknowledge that the code cannot be
copied one-to-one around, since it has to be adapted to the other SCSI code
in Hatari, and then also needs testing whether it still works as expected
with the various SCSI and ACSI drivers that are available on the Ataris.
So this is quite some work to do. But anyway, even if we don't copy the
code over, it's very good to see the values that you are using there for
mode sense, so that we have something to compare! So thank you very much
for the link!
Thomas