English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 06 August 2017, 21:05   #1
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,962
Apple SCSI hard drive emulation

Would it be possible to add an option to emulate Apple SCSI hard drives?

Apple's HD SC Setup program can be used to partition SCSI disks on a Mac emulator, e.g. ShapeShifter, Fusion, Emplant, A-Max. [That's distinct from the emulator using an Amiga partition or hardfile.]

However HD SC Setup only works with Apple OEM-model drives by default. Later versions can be very easily patched to bypass that, but if WinUAE could emulate an Apple OEM drive you could run it from unmodified disk images when installing the Mac OS.

Shapeshifter's "Apple hard disk emulation" option does that for its SCSI emulation, but there's no similar option in A-Max.

HD SC Setup requests mode page 0x30:
SCSIEMU HD 0: 1A.00.30.00.22.00.00.00.00.00.00.00 CMDLEN=6 DATA=0E66A528
UAEHF: unsupported scsi command 0x1A LUN=0
-> DATAOUT=-1 ST=2 SENSELEN=18 REPLYLEN=0
-> SENSE STATUS: KEY=5 ASC=24 ASCQ=00
70.00.05.00.00.00.00.0A.00.00.00.00.24.00.00.00.00.00.


Looking at the ShapeShifter source, it puts this in the page 0x30 data:
Code:
Offset What
0      $30 page code
1      20 page length
2      "APPLE COMPUTER, INC " (20 ASCII characters)
HD SC Setup checks for the first 19 of those characters. (It looks like MAME emulates this Apple-drive behaviour unconditionally?)


It seems likely that the earliest versions of HD SC Setup (I checked v1.3 and v1.4; are there any earlier?) don't have that check, but instead only work with specific drives, based on manufacturer/model strings in the INQUIRY data.

Last edited by mark_k; 06 August 2017 at 21:48.
mark_k is offline  
Old 06 August 2017, 22:36   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,019
These kinds of special cases probably should be handled using geometry file. Geometry file will support custom SCSI mode pages in the future. (Always enabled is not going to happen)
Toni Wilen is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
SCSI hard disk emulation and hardfile settings mark_k support.WinUAE 0 18 February 2013 20:11
SCSI CD-ROM drive emulation mark_k support.WinUAE 29 16 February 2013 11:45
Need Help: Cant get SCSI Hard Drive recognised CU_AMiGA support.Hardware 9 25 January 2011 20:00
Problem with a SCSI Hard Drive... sebmacfly support.Hardware 31 30 July 2009 04:58
winuae, hard drive emulation and savestates Gaula92 support.WinUAE 4 07 February 2009 18:15

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.09505 seconds with 15 queries