View Single Post
Old 08 September 2016, 19:05   #8
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 20,661
Originally Posted by mark_k View Post
So it looks like you respond with 4 bytes when CDB[4] is 0. But the first byte of the response in that case will be 0x70 not the ASC value?
0x70 is only forced if scsi emulator returned 0 bytes of sense data. (which means request sense was received without sense data = return "all fine")

Notice that all CDB bytes except the first are unchanged from the previous READ command. So it seems, at least for the Tecmar case, you need to ignore CDB[4] and always return 4 bytes.
Should work now. Maybe.. ASC is also copied to index 0 now if SASI.
Toni Wilen is online now  
Page generated in 0.07983 seconds with 9 queries