[uae] Re: SCSI support on OS X

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Fri, 19 Mar 2004 14:32:57 -0500

Hi Eveybody

On Thursday 18 March 2004 03:21 pm, Richard Drummond wrote:
> I'm having problems with my web hosting at the moment - when I get this
> sorted, I'll upload a test OS X build with (hopefully) functional SCSI
> support.

Is it me or is it quiet 'round here lately?

Anyway, if anybody wants to test SCSI support on OS X, try this one:
http://www.rcdrummond.net/uae/test/uae_osx_test.bz2

There are some possible pitfalls, due to some pecularities of OS X. ;-)

1) It'll only work with writeable devices. This is a limitation of the OS X 
kernel. (It may be possible to write a real SCSI emulation to get around this 
problem, but it's not something I have time to look at right now.)

2) It'll only support one drive at the moment. (libscg won't scan for devices 
on OS X.)

3) You have to start UAE with no CD loaded in the drive. Otherwise Finder gets 
exclusive access to the CD and won't share with UAE. :-( The other option is 
to kill the automount daemon, so that Finder won't automatically mount discs.

4) You may have to set the env variable UAE_SCSI_DEVICE to tell UAE where to 
find your drive.

In bash, if you have a CD writer do:

export UAE_SCSI_DEVICE=IOCompactDiscServices/0

if you have a DVD writer (or combo drive) do:

export UAE_SCSI_DEVICE=IODVDServices/0

If you use csh (I think this is the default in 10.2), use the setenv command 
instead. E.g.

setenv UAE_SCSI_DEVICE IOCompactDiscServices/0

Have fun.

Cheers,
Rich

Other related posts: