[comp.sys.amiga.tech] Micro-Forge SCSI Hard disk controller and 140 meg HD

aleks@well.UUCP (Brian J. Witt) (01/06/90)

[Do line eaters dream of electric sheep?]

Here's a juicy technical question:

I have an original MicroForge SCSI controller; the one that slaps onto
the side of the Amiga 1000.  The 20 meg HD is begin replaced by a 140 meg
unit :-) :-).  I'm having problems with the initialization of the SCSI
bus.  The MicroForge system was released in June 1986, before the
'automount' specs were finalized.  As such, the driver is loaded manually
by an initialize/preloader program (named "InstallDrives").  I don't have
"PREP" or "DiskPerf", only AmigaDOS 1.3, KS vers 34.5.

I need to know which codes to send for my 140meg hard disk.  I'd like
to buy a "real" scsi controller, but I'm headed off to school shortly.
Besides, I'd rather save for an Amiga 3000, whenever it becomes available.

I've disassembled "InstallDrives" and found it sends a certain sequence
of SCSI codes out depending on the capacity of the harddisk.  For each
drive, "InstallDrives" first sends out:
      $C2  00  00  00  00  00
           ^
           |
           +--- LUN goes here as: 00 or $20.

After this is sends out codes determined by the size of the drive.  This
is for a 20meg (blocks 0-649, heads 0-3) transfering 512 bytes:
      $00  00  00  03  02  89  80  00  10  00
                   ^   ++++++
                   |     ^
       Last Head --+     +--- Last Block

According to my SCSI-2 (32-bit wide version) draft 6 document, $C2 is
an identify message.  The command $00 is a TEST UNIT READY, 6 bytes
long, not 10!  Anyone know what's going on?  Care to tell me!

---

Now, once these init bytes have been sent out, I can reset the Amiga,
load the driver program myself, and then "Mount" the 20 meg hard disk.
The new hard disk is a Micropolis M/N 1375, P/N 900634-18-9A with an
integral SCSI controller.  The drive has "SCSI  170 MB" printed above
the bad sector list.  Direct replies are greatfully welcomed.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- "The War on drugs is just like any other War..."
              President Bush before Veterans of Foreign Wars
    Wars like Vietnam, El Salvador, Faulken Islands, Gernada...
--- brian witt                   USENET:  aleks@well.sf.ca.usa