[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

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

1965.0. "5.25" floppy drive question" by JGO::LOENDERSLOOT () Wed Dec 07 1988 10:02

    Is there somebody that can help me on the electronic schematic
    which sends the DISK-ID code for a 5.25 floppy drive. I have
    a 5.25 IBM floppie drive hooked up to my A500, but the system
    doesn't reconize it as such. As far as I know the A1020 floppy
    drive has a build in hardware to send a ID-code when the drive is
    selected. 
    I also am interested how this software protocol works.
    
                                        Thanks in advance
    
T.RTitleUserPersonal
Name
DateLines
1965.15 1/4 drive i/o schematicHUSKER::PETERSONThu Dec 08 1988 08:0910
    if you will send me a self addressed stamped envelope i will be
    glad to send you the information that i believe you want.
    
                                        dave peterson
                                        1307 beaverlake blvd
                                        plattsmouth nebraska
                                                       68048
                                  
                                        ph#402-235-2790
                          A.U.O.H.   amiga users of the heartland
1965.2something else to do in my copious spare time...NSSG::SULLIVANSteven E. SullivanThu Dec 08 1988 13:4713
Sometime this week I'll package up the schematic and wirelist for the
one I built. with the correct connector it can simply be plugged on
the card edge connector of the 5.25 disk. The component it uses are
2 wire wrap connectors
1 7438 quad 2 input nand (open collector)
1 7474 dual D flip-flop
1 16 pin dip resistor pack to common pin 1.2K
3 16 pin dip sockets
1 small proto board just big enough to hold it all together.

It has been built, installed and works...

	-SES
1965.3ThanksJGO::LOENDERSLOOTFri Dec 09 1988 06:462
    Thanks for the replies, I'm very interested so keep me informed
    
1965.4here are someDNEAST::PFISTER_ROBI cant put *THAT* here.....Fri Dec 09 1988 14:38232
    I think I posted this somewhere else, but here are instructions
    for attaching a 5-1/4 to an Amiga.  I helped a friend to do this
    once, and it worked.
    
    Robb
    
    From: [email protected] (Randy Spencer)
Subject: Hooking an IBM drive to the Amiga
Date: 2 Apr 86 18:07:28 GMT
Apparently-To: info-amiga-from-usenet@RUTGERS
 
"zipity do da, zipity ay, my oh my, what a wonderful day!"
 
A while back someone on another net suggested a way to connect
a 5 and 1/4 inch drive to the Amiga, well a friend picked up on
it and designed a circuit board and built the circuit.  When he
was done he had a working 5 1/4 drive for the IBM emulator.  Since
I have just ordered PC/ET I asked him if I could have a description
of its construction.  When he sent it to me I felt that it would
be something of interest to the net.  Here than is "How to build
and IBM drive for the Amiga"  schematic and all (hope you can
read it).  If you have any questions you may contact him or me,
I will hopefully have built one myself soon.
 
I would be interested in anyone who is working on building an 880k
amiga compatible 5 1/4 " drive.  I do however see more practical
use for the 5 1/4" drive to be IBM compatible.  Enjoy!
 
--------------------------------------------
 
      Connecting a standard 5.25" IBM compatable drive to the Amiga
 
Parts:
 
    DB25 connector (male, ribbon cable type) with pins 13 and 25 cut off
       (the pin numbers given from now on will treat it as a DB23 con-
        nector, i.e. 1-12 on the top and 13-23 on the bottom-be careful!)
    34 pin edge connector for standard disk drives
    25 conductor ribbon cable
    12 volt power supply at least 1.5 amps
    7805 voltage regulator (TO-220 type) for +5 supply from 12 volts
    7474 D flip-flop (Commodore uses LS type, but it doesn't seem to
       matter)
    7438 open collector quad NAND gate
    (5)  1K resistors
    An IBM compatable disk drive (I used a Qume QT-142 from JDR
       Microdevices, $69.95)
 
    You can get everything but the ICs from Radio Shack.
 
Procedure:
 
    Attach the ribbon cable to the DB23 connector and cut to length.
    Cut cable apart so that wires are about 1-1.5 inches long with
    about 1/4 inch of the end stripped.  (Remember the two end wires
    will be pins 13 and 25 of the DB25 connector, which should not
    be used.)
 
    Attach the ribbon cable to the 34 pin edge connector as follows:
 
    DB23            34 edge
 
    2            30            Read Data
    3-7            1-33 (odd)        Ground
    13            32            Select Head 1
    14            28            Write Protect
    15            26            Track 0
    16            24            Write Enable
    17            22            Write Data
    18            20            Stepper Pulse
    19            18            Stepper Direction
    22            8            Index
 
    I used a 12V power supply and mounted a 5V regulator on the disk drive
    itself for the +5V supply.  The other connector on the drive is the
    power supply input.  If unmarked, you can find which pin(s) is ground
    by checking for continuity between the alleged ground pin and pin 7
    of a 14 pin TTL chip on the board.  Pin 14 of a 14 pin TTL chip is +5,
    find the +5 input the same way. The remaining input is +12.  The motor,
    when turning, draws 1 amp from the +12 supply, and the drive draws
    about 0.35 amps from the +5 supply (typical values).  Power it any way
    you like, but make sure it meets these minimal requirements.

    Build the circuit given on the schematic, and attach wires (from
    Amiga's DB23 connector) 1,8,10, and 21 as shown on diagram.
    The outputs of that circuit go to the Drive Enable and Hub Motor
    Drive inputs on the disk drive.  On my Qume that was pins 16 and
    12, respectively.  On other drives the Drive Enable might be 12 or 14,
    and the Motor Drive 10 or 16.  The correct Motor Drive input is the
    one that starts the motor spinning when you ground that pin.  You
    might have to experiment to find the right Drive Enable.  (The drive
    light will come on when it is grounded, I think).
 
Notes:
 
         This drive will work ONLY as a 360K IBM drive.  It would work as
         a standard Amiga drive it it could step past track 40, but it
         can't.  Perhaps a quad density (like the Teac FD-55F from JDR)
         would work, but I don't know if it would function as a standard
         IBM drive in emulator mode.
 
         If you want to hook up another drive, build the identical circuit
         but use the SEL2B line instead of the SEL1B line.  Commodore
         "steps down" drive lines as they go through each drive, i.e.
         SEL2B becomes SEL1B and SEL3B becomes SEL2B at the output of the
         external drive.  So when you make this drive SEL1B, the computer
         addresses it as df1: if it is hooked up to the disk port on the
         back of the Amiga, and df2: if it is hooked up to the port on the
         back of the external drive.
 
         The CHNG line (pin 11) is unused in IBM mode.  If you try a quad
         density drive and want to use it as a normal Amiga drive, then
         hook up a switch to ground (?) this line when a disk is removed.
 
         If the IBM drive is plugged in, the drive's power MUST be on.
         If the power is off, the system will not boot because it can't
         read any of the drives properly.  If the Amiga's up and running
         and the drive is turned off, the next time the Amiga tries to
         read any disk in any drive it will corrupt that disk (I lost
         a couple this way before I realized the problem.)  So when you
         first test your new drive, set the write protects on your
         Kickstart and Workbench disks to prevent damage.  After that,
         keep the power on or unplug the drive from the Amiga when not
         in use.
 
         I lifted the schematic directly from Commodore's 3.5 inch Amiga
         drives.  I take no credit for it (I'm still not sure what it does)
         and I'm not making any money from it, so please don't sue me.
 
         If you have any questions or need help, send mail to me at:
 
            Fred Hamilton
            511 Warren St., Apt. 16
            Blacksburg, VA 24060
 
         Good Luck!
 

 Schematic:
 ---------
 
+++++++++++++++++++++++++                         (A)
                         +                         |
  Symbols:               +                         | 4
  -------    resistor:   +                         o---|\   6
    ______               +                         |   | |O------
   !      !        |     +                         o---|/
   ! chip !        \     +                           5
   !______!        /     +
                   \     +          (A)
     NAND gate:    |     +           |
                         +           |
     -----|\             +           o-----o-----o-----o
          | |O----       +           |     |     |     |
     -----|/             +       ____|_____|_____|_____|______
                         +      !                             !
  junction   no-junction +      !    10    11    12    13     !   8
                         +      !                           Q !-----
      |           |      +      !                             !
    --o--       --|--    +      !         1/2  7474         _ !
      |           |      +      !                           Q !-----
                         +      !                             !   9
+++++++++++++++++++++++++       !_____________________________!
 

             +5v           +5v          +5v           NAND gates are 7438
              ^             ^            ^            All resistors 1K
              |             |            |
              \             \            \            +++++++++++++++++++
         1K   /   (A)   1K  /        1K  /            + From disk drive +
              \    ^        \            \            + power supply:   +
              |    |        |     1      |            +                 +
              |    o--------o------|\  3 |            + Pin 14- +5v     +
              |             |      | |O--o            + Pin  7- GND     +
 SEL1B(21) >--o-------------|---o--|/    |            +++++++++++++++++++
                            |   | 2      |
                            |   o--------|--------------o
             +5v            |            |              |
              ^             |       o----o              |
              |           1 |     3 |    |              |
              \   __________O_______|__  |              |
          1K  /   !        CLR      \/!  |              |
              \   !                   !  |  9           |
              | 2 !                   !  o---|\  8      |
 MTRXD(8)  >--o---! D                 ! 5    | |O----o  |
                  !                 Q !------|/      |  |
             +5v  !                   !    10        |  |
              ^   !     1/2 7474      !              |  |
              |   !                   !              |  |
              \   !                 _ ! 6            |  |
          1K  /   !                 Q !---o          |  |
              \   !                   !   |          |  o---> DRIVE ENABLE
              | 4 !                   !   |          |
 DRESB(10) >--o---O PR                !   | 12       |
              |   !___________________!   o----|\ 11 |
              |                                | |O---------> HUB MOTOR DRIVE
              o--------------------------------|/    |
                                            13       |
                                                     |
 RDY(1)  <-------------------------------------------o
 
 
 
DDRIVE    2   4   6   8  10  12  14  16  18  20  22  24  26  28  30  32  34
 
DB25     NC  NC  NC  22  NC  ^   NC  ^   19  18  17  16  15  14   2  13  NC
                         ^   |   ^   |
                         |   |   |   |----Qume hub motor drive
                         |   |   |
                         |   |   |----maybe drive enable
                         |   |
                         |   |----Qume drive enable
                         |
                         |----maybe hub motor drive
 
---------------------------
 
Usual disclaimers:
 
If any member of the net is caught or killed, my university will
disavough (sp?) any knowledge of my actions.
 
Good luck gang!--
 
========================================================================
Received: from MITVMA.MIT.EDU by decwrl.dec.com (5.54.4/4.7.34)
	id AA29548; Tue, 15 Mar 88 13:30:28 PST
Received: from MAINE.BITNET by MITVMA.MIT.EDU ; Tue, 15 Mar 88 16:29:49 EST
Received: by MAINE (Mailer X1.25) id 8396; Tue, 15 Mar 88 16:21:13 EST
Phase_Of_The_Moon: new moon in 3 days.
Organization: Computer Science Department, University of Maine
    
1965.5.4 is ID and motor latch for 3.5 driveNSSG::SULLIVANSteven E. SullivanFri Dec 09 1988 14:5621
re: .4

    This  design  will not work to identify a 5.25 drive to the Amiga
*as a 5.25 drive*. It sends an ID code of all 1's  back  telling  the
Amiga there is a 3.5 880k drive there.

    To make the ID code for a 5.25 drive takes both flops in the 7474
and  all  4  nand  gates  in  the  7438.  The  ID  code for a 5.25 is
alternating 1's and 0's.

    PC  Utils will not recognize the 5.25 drive, though amigados will
believe there is a 3.5 out there.  Dos-To-Dos  ignores  all  this  ID
stuff  and  just  tries  to  use  the  drive as described in the user
commands. It WILL work with the .4 circuit.

    Also  be  ware  that  5.25  360k drives often have the ready line
strapped out (open) for some reason. Hell if I know why. I  have  had
to  add  a jumper to one drive to get it to work. The Amiga does care
about ready even if PC/XT's don't!

	-SES
1965.6More info neededJGO::LOENDERSLOOTMon Dec 12 1988 03:165
    It is the electronics for the ID-code where I'm looking for, I have
    the drive hooked up with the 3.5'' schematic and it works with the
    MS-DOS emulator fine, but since it is a 360k drive I have problems
    to get it work under AMIGA-DOS properly. So if somebody can help
    me to explain the working of the additional flipflop.
1965.7isn't it in the mountlist?DNEAST::PFISTER_ROBI cant put *THAT* here.....Mon Dec 12 1988 11:236
    re: .6
    
       I was under the impression that info in the mountlist covered
    all that.  Or am I missing something?
    
    Robb
1965.8Yet Another 5 1/4" QuestionCOGMK::SNIDERSat Jan 07 1989 15:428
    I have a couple of external floppies using simular circuit, but
    I have a couple of programs that will not work with them.  The
    programs indicate that there is no disk.  I think that it is
    due to lack of the disk change.  Any thoughts?
    
    Thanks,
    -pete
    
1965.9TCC::HEFFELPigs and PoniesThu May 31 1990 00:5725
Okay, after having read a few of the notes (which I located by doing
"dir/title=flop") regarding Amigas and 5�" floppies, I want to do a sanity
check.

I am the proud owner of a 2000 with 2 3�" floppies and 1 3�" hard drive.
At present, I wish to fill the empty 5�" bay with a floppy drive.  I do
*not* wish to buy a bridge-board of either variety.  (CrossDOS and MSH suit
my needs just fine.)  All I want is a 360K drive that AmigaDOS can find and
read, which I can then mount under MSH.

The way I see it I have precious few choices: Pay through the nose for an
external drive (either C='s or a 3rd party drive), cobble together a
home-made board (I am all thumbs with a soldering iron), or buy a
bridge-board (which I can ill afford to do).

Am I missing anything?  I surely would rather spend $70 on a "standard"
drive as opposed to spending $200 for an overpriced external, or $400 for
the XT bridge-board.

Anyone have one of those old C= drives (1020, was it?) to sell?  You can
even keep the Transformer software.  :-)

-Gary


1965.10LEDS::ACCIARDILarger than life, and twice as uglyThu May 31 1990 08:127
    
    I went through the same exercise as you Gary, and ended up with an
    external CBM 1020 drive.  The _looks_ like there is enough room in the
    A2000 lower bay for the bare drive mechanism and CBM's adaptor board,
    but I stopped short of trying to jam them in there.
    
    Ed.
1965.11Check out Take-5...FROCKY::BALZERChristian Balzer DTN:785-1029Thu May 31 1990 08:3822
Re: .9

Well, I assume you have read note 2878.*. Otherwise do so now. Back? OK! ;-)

The added value of this route is obvious, you get a MS-DOS (MSH) drive AND
an Amiga drive alternativly. Using CrossDOS, you can even leave the drive
in 3.5"/80tracks mode, since you can specify a software double-step mode.

Try to find an experienced hardware hacker, if you feel uncomfortable to put
that sucker together.

BTW, the Software Brewery archive has moved to a concealed device on FRSMIC::

So to get the Take-5 schematic in IFF-ILBM format, copy it from
FRSMIC::Brewery:[take5]Take-5.final

Do a "$Dir FRSMIC::Brewery:[000000]" to see what's available.
There is also an Amiga: device at Frsmic::, but it's currently empty.

Regards,

<CB>
1965.12Can't copy Take-5.final fileANNECY::LIEBAERT_FThu Nov 21 1991 05:4141
    Hello,
    
    	I get an error when trying to copy the file described in .11
    	and Kermit does not like it!
    	hereafter the ANAL/RMS I have run on the copied file
    Than you for your help,
    Francis.
    
FILE HEADER

	File Spec: USR$CSSE:[LIEBAERT_F.KERMIT]TAKE-5.FINAL;1
	File ID: (9162,70,0)
	Owner UIC: [CSSE,LIEBAERT_F]
	Protection:  System: RW, Owner: RWED, Group: RWE, World: RW
	Creation Date:   12-SEP-1989 09:40:00.00
	Revision Date:   21-NOV-1991 11:30:07.52, Number: 5
	Expiration Date: 30-DEC-1995 11:30:12.46
	Backup Date:     none posted
	Contiguity Options:  none
	Performance Options: none
	Reliability Options: none
	Journaling Enabled:  none


RMS FILE ATTRIBUTES

	File Organization: sequential
	Record Format: stream-LF
	Record Attributes:   carriage-return
	Maximum Record Size: 0
	Longest Record: 0
	Blocks Allocated: 51, Default Extend Size: 0
	End-of-File VBN: 49, Offset: %X'0052'
	File Monitoring: disabled
	Global Buffer Count: 0
***  VBN 48:  Last stream record does not contain a delimiter.
Unrecoverable error encountered in structure of file.


The analysis uncovered 2 errors.
    
1965.13Just transfer it...FROCKY::BALZERChristian Balzer DTN:785-1029Thu Nov 21 1991 11:2820
Re: .12

>    Hello,
>    
>    	I get an error when trying to copy the file described in .11
>    	and Kermit does not like it!
>    	hereafter the ANAL/RMS I have run on the copied file
>    Than you for your help,
>    Francis.

The file on FRSMIC:: is in perfect health, that RMS doesn't like it 
doesn't matter, transfer it to your Amiga and it can be displayed.

Use ZModem or check the other notes on Downloading with Kermit, you might
have to use CVTARC...

Cheers,

<CB>