From: rknop@cco.caltech.edu (Robert Andrew Knop)
Newsgroups: comp.sys.amiga.hardware
Subject: Re: Hurricane '030 incompatible with 2.1 setpatch?
Date: 13 Dec 1992 18:25:42 GMT
Organization: California Institute of Technology, Pasadena
NNTP-Posting-Host: punisher.caltech.edu

pault@terapin.com (Paul Tibbals) writes:

>I had a similar problem with my Hurricane. I finally ended up leaving Setpatch
>out except when booting with 1.3 (Multistart board).  I use Hurricaneconfig -a
>-r at the beginning, if I just load the full program it 1) loads only 256K of
>ROM to 32bit ram and 2) sometimes gives me crash problems.  I then at the end
>of the user-startup use Addmem32, another Ronin program, to actually add in the
>memory.  Then I use the 2.04 command "CPU fastrom" to load the 512kROM to 32
>bit memory.  I do find that I cannot ever enable the 030's datacache under 2.04
>for some silly reason (instant crash, even if it's Sysinfo dooing its
>performance test).

I do have Hurricane running with the 2.1 SetPatch; it has problems, but the
problems are the same as the ones I had with 2.04.

First, I've also got an ICD AdSCSI 2000 HD controller, which had slight (but
ignorable) problems previously with my Microbotics 8-up card once I installed
2.04 (there never were problems under 1.3).  Once I put the Hurricane board
in, I couldn't get the computer to boot at all.

Eventually, I figured out that I could not boot with the 8-up board and the HD
card in.  As long as I had the HD card set to auto-mount the HD, the computer
would not boot.  Ergo, I can only boot from floppy.  What I ended up doing was
making a copy of the Workbench 2.1 floppy, and replacing that startup sequence
with the following:

c:Run >NIL:
sys:HurricaneConfig -a
sys:AddMem32 >nil:
C:SetPatch QUIET
c:CPU BURST CACHE FASTROM
c:Mount DHi:
c:Mount DHj:
c:DefDisk Ariel:
c:cd sys:
c:run >NIL: <NIL: execute S:Startup-sequence
c:endcli >NIL:

I'm not really sure why that first Run line is there, or even if I need it,
but since changing this means several reboots of trail and error, I just leave
it :)

Next I run HurricaneConfig.  You will notice that I don't have -r, meaning I
am letting HurricaneConfig install KickStart ROM in 32 bit RAM.  Now, this
being an old board, it only does it to 256K of KickStart ROM.  I will later
use the 2.1 command "CPU" to install all 512K of ROM in 32-bit RAM, meaning
that this first 256K is wasted.  I am not happy about this, but with major
experimentation I found that this was the ONLY way I could get everything
running and have both the instruction and data chaces on the '030 enabled.

I then add the 32 bit memory.  After that, I run SetPatch.  I found that if I
try to run SetPatch before HurricaneConfig and AddMem32 the computer crashes
before it finishes booting.

Next is CPU.  Here I enable both caches (which should be redundant at this
point, since HurricaneConfig enables at least the instruction cache, and
SetPatch enables at least the data caches), set burst mode, and copy all 512K
of ROM to 32-bit RAM.

Finally I mount the two hard drive partitions.  I have the icd entries in my
Mountlist on the boot floppy.  Although booting from a floppy might seem to be
a pain, it's not so bad, and actually, since 32 bit RAM isn't available to the
system until after AddMem32, it is better for me to mount my HD partitions
here since whatever buffers are needed are allocated from 32 bit memory rather
than CHIP RAM.  (This is not a DMA HD controller.)

Then I use this command that I got from they guy I bought the Hurricane card
from, "DefDisk," which changes the default disk (which starts out as the disk
you boot from) to my main HD partition.  (That's what "Ariel" is; my
computer's name is Miranda and the two HD partitions are named Ariel and
Caliban.)  This also takes care of setting the preferences settings that I
have on my HD (e.g. Overscan, screen mode, etc. etc. etc.)

The next cd sys: now sets the directory to the new default device Ariel:.
Finally, I run the standard 2.1 startup-sequence from the S drawer on my HD.
The only change I made to the standard 2.1 Startup-sequence was to comment out
the SetPatch line, SetPatch having already been run on my boot floppy.

Finally, I get rid of this CLI, since my user-startup opens up another one
tailored to the overscan screen that I use.


It's all a bit of a hack, but it works, and even though I boot from floppy,
thanks to the fact that most of the OS is on ROM, it doesn't take a whole heck
of a lot longer than booting from the HD ever did before I had the '030 card.


One other thing: I've never figured this out, and don't even know if it's
possible.  Is there some key combination that one can hold down during boot to
tell the Hurricane card to let the 68000 take over the comptuer, thus
reverting back to something approximating a stock A2000?

-Rob Knop
rknop@cco.caltech.edu