[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | AMIGA NOTES |
Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 |
Moderator: | HYDRA::MOORE |
|
Created: | Sat Apr 26 1986 |
Last Modified: | Wed Feb 05 1992 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 5378 |
Total number of notes: | 38326 |
2328.0. "HD on AMI.Note.2318.Project" by FRAIS5::ISTURM () Tue Mar 07 1989 10:17
******* Amiga Harddisk Interface ********
based on c't Bastelei 4/88 and 2/89
by Juergen Lachmann / David Goehler
The following description will allow to build your own HD-IF for your
Amiga 500/1000/2000.
Before we start with a bit more details around Hard and Software , what are
the Parts we need ?
1. Expansion Port Connector 86pin. X1
2. PC Slot Connector 62pin. X2
3. OMTI Controller 5520 or 5527 incl. Cables
4. IC1 74LS04
5. IC2 74LS32
6. IC3 74HC688
7. R1..R4 4,7 K 1/4 W
8. C1,C2 100nF
9. S1 4p DIL Switch
10. J1,J2,Ext. 3pin Connector
11. 2 pcs 14pin DIL Socket
12. 1 pcs 20pin DIL Socket
13. the PCB
14. the Software
15. HD and Controller Power Supply for A500/1000 only.
The PCB and Software could be ordered at the following Adress:
all the Rest should be available at your local Electronic
and PeeCee Shop..
eMedia GmbH authorized Distributor of c't Projects
Bissendorfer Str.8
Postfach 610106
3000 Hannover 61
West-Germany
Part Nr. 8804140dB OMTI Adapter IF for A500 / 1000 Price 18.- DM
8804141dB OMTI Adapter IF for A2000 Price 22.- DM
S8804142 Software for Omti at A500/1000/2000 20.- DM
Orders must normaly be Prepaid by Cheque or Int.Money orders , but I
don't know what they will charge for Shipping and handling outside GY.
dont misunderstand the adapters are only the little PCB's to give the
possibility to connect OMTIS to the AMI's.
So , now to the Details:
( to make this description as easy as possible i try to make the
necessary drawings without graphics facilitys .. lets see what happens )
AMIGA-OMTI Adapter Layout
X1 X2
Amiga OMTI
Expansionport Controller
(Signal) (PIN) (PIN) (Signal)
D0 ]-----------------------------------------------------[ D0
. / 75,77,79,81 A9..A2 / .
. / 83,86,84,82 / .
D7 ]-----------------------------------------------------[ D7
A1 ]-----------------------------------------------------[ A0
. / 29,27,26,24,21 A31..A22 / .
. / 23,28,30,32,34 / .
A10]-----------------------------------------------------[ A9
+5V GND
+ + +5V-+--+--+--+
[-+---+--] R R R R
[20 10 ] 1 2 3 4
A16]-------[3 ] ! ! ! ! A21..12
45 [ IC 3 ] ! ! ! ! DIL Sw. +--[ A10
A17]-------[17 2]---------+-----------./.--+ ! / .
47 [ ] ! ! ! ! ! / .
A18]-------[5 18]------------+--------./.--+ +--[ A19
52 [ ] ! ! ! !
A19]-------[15 4]---------------+-----./.--+ GND
54 [ ] ! !
A20]-------[7 16]------------------+--./.--+
56 [ ] !
A21]-------[13 6]-------------------- ! A11
58 [ ] !---->GND GND---[ AEN
A22]-------[9 14]-------+
57 [ 8]-------+5V +5V +------[ _DTACK3
A23]-------[11 12]-------+ B15
59 [ ]
_AS ]-------[1 ----19]-+
74 !
!
!
! [----------]
R/_W ]------+-----------!-----[2 ]
68 ! ! [ IC1 3]-----------------[ _IOW
! ! [ ] B13
! +-----[1 ]
! ! [----------]
!----! !
! ! [----------]
! +-----[13 ]
! [ IC1 11]------+----------[ _IOR
! [-------] [ ] . B14
+--[3 IC2 4]-----------[12 ] .
[-------] [----------] .
_SLAVE].................this only on A2000 !!!!....
9 IC2
[-------]
_RES]---[13 12]----------------------------------------[ Reset
53 [-------] B2
+12V]----------------> J1 + >---------------------- +12V
10 ! B9
!
+5V ]----------------> J2 + ! >---------------------[ +5V
5,6 ! ! B3,B29
! !
GND ]---------------->-- +- !- !--->---------------------[ GND
1,2,3,4,13,25,34 ! ! ! B31,B1,B10
49,61,73,85 ! ! !
! ! !
! ! !Ext.PSU +12V J1 + J2 will allow to
! ! select use of internal
! !Ext.PSU +5V or external Power to
! OMTI and Adapter.
!GND
+5V ]----+---+-----+-----+------+
! ! !14 !14 !20
C1 C2 IC1 IC2 IC3
! ! !7 !7 !10
GND ]----+---+-----+-----+------+
Thats all folks , the complete ADAPTER Layout for A500/1000
don't forget the dotted Line for A2000's only.
Everybody with a little experience on electronics should be able to
build it even on a self wired prototype pcb.
Otherwise contact the Distribution Adress.
So now ( very briefly ) the necessary Descriptions.
The DIL Switches on the Adapter must all set to OFF position.
Mount the Adapter PCB as close to the Ami as possible because expansion
Port isn't buffered so long cable distance will make troubles.
Decide to use internal or external power by setting J1 and J2 to the
required positions.
First test should be run , connecting the PCB without IC's and OMTI
to your AMI and check with your standard WB if system is booting.
If not , check all connectors , Power and soldiered Points if they are
OK.
If the AMI came up properly , switch off , put IC's in and check again
as before.
Now , if ok you can put the OMTI in ( if you use the eMedia PCB ,
Components Side of the OMTI must be away from the AMI ( solder Side to
the AMI)).
Connect the OMTI with your HD , and switch on the HD first and then the AMI.
Now we reached the point to need the Software.
On the distributed Diskette there are some Progs and Sources.
Most important now , WFORMAT.BAS Formatter Programm and
HardDisk.device Driver Software.
WFORMAT.BAS is a piece of Amigabasic that writes directly to the
Registers of the OMTI Controller so at the moment we don't have
to modify our startup-sequence and the mountlist.
So , if WFORMAT.BAS fails , you have a bug in your Adapter , Cable or
OMTI.........
This Prog asks you for the UNIT ( Einheit ) REM: at the moment i am
you Enter a 0 because at the moment WFORMAT waiting for the SW , so
only supports Drive 0 at the OMTI. i don't know if it asks
in German or English...
Now you will be asked for the Number
of Tracks ( Zylinder )
of Heads ( Koepfe )
of Sectors ( Sektoren )
of Interleave Faktor ( should be 0 )
of Steprate Steprate has to be fom 0 to 7
according to your Disk and the Table below.
Steprate Table 0 = 3 mS
============== 1 = 10 yS , buffered step
2 = 25 yS , buffered step
3 = 50 yS , buffered Step
4 = 200 yS , buffered Step
5 = 70 yS , buffered Step
6 = 3 mS
7 = 3 mS
So now we have to enter the drives BADSPOT List , if there is any ,
WFORMAT asks for the ORDER of Tracks ( Zylinder ) , Head ( Kopf )
and Byte of your defect List and if it is made manualy or per File.
If you don't have any defect List or there aren't any on your drive
HINT: for the first test you should ignore any BADBLOCK/BADSPOT
information supplied with your disk.
just press return until the Message : READY TO FORMAT Y/N ? occurs
in german BEREIT ZUM FORMATIEREN J/N ? J=YES.......
if you answer J (Y) the drive should start the work.
every 10 MB will take ca. 5 Minutes .
If WFORMAT.BAS finds an ERROR during the verify operation it automagicaly
will use Spare tracks.
Very,VERY important is the last MESSAGE given by WFORMAT.BAS it is the
number of the LAST TRACK (ZYLINDER) ready for use. All others with
higher numbers are reserved for Spare !!!.
You have to remember this given number to enter it later to the
mountlist.
If you don't take care to this step AmigaDos Format will crash without
any message. For example Seagate ST225 has a default of 612 Tracks and
WFORMAT ended with a Number 609 , that means 3 Tracks are used as Spare
for any defect between track 1 and 609 , so you must put HIGHCYL within
the mountlist to 609 AND NOT 612 !!!!
So , before to continue with AMIGADOS FORMAT we have to inform the AMI
that there will be something new.
One possibility is MOUNT DH1:
but thats not enough.
You have to change and enter some Information to your
SYS: DEVS/MOUNTLIST Example one for Normal File System (1.2)
DH0: Device = Harddisk.device
Unit = 1
Flags = 0
Surfaces = 4
BlocksPerTrack = 26 /* if OMTI5527 RLL and 17 if 5520 MFM !!
Reserved = 2
Interleave = 0
LowCyl = 0
HighCyl = 609 /* Remember the example before or if you
use several partitions to last Cyl in
this partition.
Buffers = 10
BufMemType = 5 /* 5 if Fast_Mem 3 if Chip_Mem
Example of Mountlist for FAST FILE SYSTEM
DH1: Device = Harddisk.device
Filesystem = L:Fastfilesystem
Unit = 1
Flags = 0
Surfaces = 4
BlocksPerTrack = 26 /* or 17 if OMTI5520 MFM !!!
MaxTransfer = 256
Reserved = 2
Interleave = 0
Lowcyl = 0
HighCyl = 609 /* see other examples
Buffers = 10
GlobVec = -1
BufMemType = 5 /* See comment before
So now should we be able to Mount HD0: and RUN Amigados FORMAT.
Remember if you want to use FastFileSystem run Format like:
Format Drive DHx: Name D: FFS
When this is done we can store our DATA and Programs on our Newly
created Harddisk.
One thing is still left to do - until now it is not an autobooting
device , but to speed up the startup procedure we can modify
the startup-sequence on our WB :
FASTMEMFIRST /* prefer Fastmem
MOUNT DH1: /* Add HD
CD DH0: /* goto HD
ASSIGN c: DH1:SYS/C /* Commands now from HD
EX DH1:SYS/S/HARDDISK /* Continue on HD
So , putting all the other Stuff from your Startup-Sequence to the
File Harddisk at Directory S on your Harddisk will continue a faster
Start then ever.
Thats it for today , I will release an additional Information about this
Project if i got the software in my hands , and if i know about its
legal distribution.
If i am allowed by the Publisher to post it to the net , i will upload it
asap.
Otherwise I will help you from outside Europe to Order the SW .
For any additional information , the C't Magazine is running a
Mailbox at the COSMO-NET called ct.hotline-Forum
Access West Germany from your Country ,
City Code of Hannover is 511
300 Baud is 55 53 98
and 55 53 92
1200 Baud is 55 56 86
and 55 56 30
2400 Baud is 55 53 02
DATEX-P: 45 51 10 90 835 ( X.25 )
Don't forget this HARDWARE Project is free and not protected by LAW.
But, if the Software is not PUBLIC-Domain or Shareware OR i'm not
specially allowed to post it , you can build the Hardware but you
have to buy the Software.
Still working on additional HW-Projects for our NOTES...
Kind Regards , Ingo Sturm
PS: There is a little Company in Munich , West Germany
Elaborate Bytes ( Oliver Kastl )
Phone and complete Mailing Adress not yet available..
they made a piece called A.L.F .... not this one ..
Amiga Loads Faster off course..
which is the same Hardware but more powerfull and speedier
software. Sw costs ca. 100.-DM is ca.60.-$
HW and SW as a package 380.-DM ca. 220$
including OMTI but excl. HD.
I will add the complete Adress and Phone as a Reply to this Note.
Ingo , so after all now lazy for the rest of the day....
T.R | Title | User | Personal Name | Date | Lines |
---|
2328.1 | Gorgeous project ! | KLO::COLLINS | STEVE | Tue Mar 07 1989 12:03 | 11 |
|
Ingo ,
I think there may be a small error in the parts list , IC1 and IC2
seem to be mixed up .
From the circuit diagram IC1 is a 74LS32 and IC2 is a 74LS04 . I
think the parts list has them mixed up ..
I don't have my Amiga yet ...But I'm very interested in this project.
Steve...
|
2328.2 | Sounds good! | SHRARA::BAKER | What's 200yrs/40000yrs fellas? | Wed Mar 08 1989 22:40 | 8 |
|
Thanks for all the hard work Ingo!
This project looks really good, even doable without a PCB. I'll be pricing the
components here (Australia) in the next few weeks.
Could you give more information on c't magazine, it sounds like a hardware
munger's dream (not that I am one). Do they do overseas subscriptions?
|
2328.3 | mail not known | VIVIAN::S_GOLDSTEIN | Steve G... DTN: 847-5416 | Thu Mar 09 1989 08:08 | 11 |
| Hi there,
Please could INGO let me have your CORRECT mail address
because every time I send a Mail to you I get a postmaster message
of Addressee not known...
regards
Steve G
PS are you there Tom ?? DID you get my mail
|
2328.4 | OOps , Correction | FRAIS5::ISTURM | | Fri Mar 10 1989 03:33 | 50 |
| OOps , ( RE.1 )
Of course you are right , IC1 must be the 74LS32
and IC2 must be the 74LS04 ... Sorry ,
( RE.2 )
c't Magazine offers overseas Distribution.
It will cost ca. 90.- DM please contact :
SAZ Marketing Services
Gutenbergstr. 1-5
3008 Garbsen
West Germany
The complete Adress of the c't Magazine itself is:
c't Magazin fuer Computertechnik
Verlag Heinz Heise GmbH + Co.KG
Helstorferstr. 7
Postfach 610407
3000 Hannover 61 ( West Germany )
Phone 511-54747-0
Fax 511-5352-129
Telex 9 23 173 heise d
Generally c't offers Infos , Projects HW/SW for PC's , Atarists
Amiga , Mac's... and a lot of high level information about the
newest technologies. so what i want to say is , c't is not an
Amiga only Mag.
By the way , today eMedia wrote me a letter , they are today sold
out on the Amiga Parts , but they will send the ordered Items as
soon as they are available again.. I will wait...
The other interesting Adress mentioned in my 2328.0 Note
Elaborate Byte
Oliver Kastl
Schleissheimerstr. 205 A
8000 Munich 40 ( W.Germany )
Phone 89-3072171 or 3084152
Fax 89-3071714
Regards Ingo
|
2328.5 | Coupla questions. | AYOV28::ATHOMSON | C'mon, git aff! /The Kelty Clippie | Mon Dec 11 1989 07:56 | 15 |
|
re .0
� 2. PC Slot Connector 62pin. X2
Why two ? I can understand that the OMTI plugs into one, but what
goes into the other ?
� 3. OMTI Controller 5520 or 5527 incl. Cables
Which is the MFM and which the RLL ?
Alan T.
|
2328.6 | Answers | JGO::LOENDERSLOOT | | Mon Dec 11 1989 09:45 | 10 |
| re .5
Answers to your questions:
2. You only need one XT connector which is 2*31pins = 62 pin
3. The OMTI 5520 = MFM
The OMTI 5527 = RLL
Regards Jos
|
2328.7 | Look before you Leap! | HPSTEK::SENNA | | Tue Dec 12 1989 10:23 | 4 |
| Just a quick WARNING to those of you looking at doing this!
Find an OMTI 5520/5527 first! According to some distributors,
thes items is no longer being made!
|
2328.8 | Try a Seagate ST11 | GIDDAY::LAWSON | | Tue Dec 12 1989 18:11 | 10 |
| Yeah,.......but
Dont forget that a Seagate ST11-M (MFM - 17 sectors) or,
ST11-R (RLL - 26 sectors)
WILL WORK!
I'm using the ST11-M with no problems.
Glenn.
|
2328.9 | Here ya go!! | GIDDAY::LAWSON | | Mon Jan 08 1990 05:58 | 24 |
| OK, Cheapskates.............
I've uploaded MAKEHD.ZOO to tape::user2:[upload]
This zoo contains:
Corrected circuit diagram
Construction details
Low level formatter
Device drivers for MFM and RLL drives
Sample mountlists
Sample startup-sequence for the boot floppy
In other words, everything you need to build a low cost hard disk that
works. Three of us have got this thing going, so if you are short of
the folding green (or, if you are like me and live in a country where
the fully assembled thing is prohibitively expensive) then this is for
you.
Many thanks to Ingo for kicking this off and to Jos Loendersloot for
finding all of the latest drivers and ideas when I struck trouble.
Happy soldering......
Glenn
|
2328.10 | Two harddisks ?? | NWGEDU::RAIJMAKERS | You trace 'm, I make 'm | Wed May 16 1990 10:17 | 13 |
| Hello,
Has anyone tried connecting two harddisks to this CheapHD-controller?
I know it is not supported by the original software, but I heared
rumors it could be done with ALF V2.X.
If one of you has succesfully tried this, please tell me with what
version of ALF, what cables you used and how your drive select jumpers
are set.
I recently got hold of an RD53 and would like to get it connected
to the Amiga 2000 together with my RD31.
Greetings, Harrie R.
|
2328.11 | Cheaphd reboot prob's | SNOFS1::ASHLEY | | Fri Jun 01 1990 10:57 | 28 |
| Yes I have connected two HD's to a OMTI 5520 it works fine as far as I
can see.
But I do have a problem with my controller/HD it all works ok if you
power up the machine. But if you go to reboot the machine CNTL-L Ami-R
Ami the amiga will boot ok off DF0:, but when it comes to accessing the
hard disk the amiga will wait for about 1 min and then come back and
say something like "could not get information for DH0:". I have tried
rebooting the amiga and then pulling the power plug on the hard disk
(leaving the controller powered up) then restoring power to the drive.
This will fix the "hang" that the amiga is in and every thing continues
on with out a glitch. I have whatch and listened to the hard disk when
I have reset the amiga and what I have noticed is that the select light
on the drive lights but I hear no sounds from the drive that indicates
it has been re-initialized (heads don't restore to cyl 0). I thought
that it was something that I hadn't done, like missed a signal on the
controller. But something else makes me suspect on this. Sometimes when
the amiga guru's and then goes thru it's reboot the drive will make
funny noises for a few seconds and then everything will continue as
per normal. This is repeatable, that is the prog that causes the guru
if I run again and make it guru again the hard disk will do the same
thing! Is this hardware or software related?
If anybody has any ideas I'd be very grateful, saves me powering down
the machine each time I have to reboot.
Taa Mark.
|