
                  =========================================
                  = ShapeShifter Patch for Optical Drives =
                  =========================================

  This document is copyright © 1999, 2001 by Mark Knibbs <mark_k@iname.com>.
          It is freely distributable for non-commercial purposes.

    *********************************************************************
    * YOU ONLY NEED TO USE THIS PATCH IF YOU HAVE AN OPTICAL DISK DRIVE *
    *  AND WISH TO BOOT SHAPESHIFTER FROM A MAC-FORMATTED OPTICAL DISK. *
    *********************************************************************


Introduction
------------

There are several types of SCSI device. For example, hard disks are type 0
(direct access), CD-ROM drives are type 5, and some optical drives are type 7
(optical memory).

Ever since version 3.4, the ShapeShifter Macintosh emulator can only boot
from direct access (type 0) SCSI devices. That is, from e.g. hard disks. Here
is an extract from the version history:

   V3.4    04.Mar.96
     - ShapeShifter won't try to boot from SCSI devices other than direct
       access devices

Some optical drives are type 7 (optical memory), and some DVD-RAM and PD
drives report themselves as type 5 (CD-ROM). ShapeShifter refuses to boot
from a Mac-formatted optical disk unless your optical drive is type 0. This
is annoying.

Similarly to the HDToolBox patch that is in the Amiga Magneto-Optical Drive
FAQ (on Aminet as docs/help/Amiga_MO_FAQ.lha), I have figured out patches for
ShapeShifter versions 3.10 and 3.11 to not check the device type when
booting.

There are several other deficiencies in ShapeShifter's device handling, but
this patch does not address those.


How to Apply the Patch
----------------------

You can use a binary file editor like Hex (on Aminet as disk/moni/HexED.lha)
to make the following change ShapeShifter executable:

Version 3.10
           Offset     From      To
           ------     ----      --
   17024 = $4280      41EB      603E

Version 3.11
           Offset     From      To
           ------     ----      --
   17044 = $4294      41EB      603E


Alternatively, you can use GPatch (on Aminet as util/misc/gpatch.lha) to
apply the tiny patch file which is supplied along with this file. From a CLI/
Shell window, CD to the directory where your ShapeShifter executable is, and
use commands like:
        Rename ShapeShifter ShapeShifter.orig
        GPatch ShapeShifter.orig SSOpticalPatch.gpch ShapeShifter


See also
--------

My Amiga Magneto-Optical Drive FAQ, on Aminet as docs/help/Amiga_MO_FAQ.lha,
also available in HTML format on my web page at http://vistweb.com/mark


History of this Document
------------------------

31-Jan-2001   Updated for ShapeShifter version 3.11 and expanded introduction

29-May-1999   Updated and uploaded to Aminet

19-Apr-1999   Posted to the amiga-mo mailing list


Regards,
-- Mark
mark_k@iname.com
