On 15.04.2012 12:05, Jim wrote:
> Hello,
> I'm trying to interface with an Amiga 500 through the external floppy
> drive port. I've tried to present my device to the Amiga like a drive
> with no disk in it but Workbench puts up an Icon on the Desktop
> "DF1:BAD".
Question is: What is your "device"? If that is a double density floppy,
then there are chances to make it work.
> I've tried snooping an external drive to see what it does but I
> haven't been able to figure it out. Can someone help me with how a
> floppy drive communicates to an Amiga when there is no disk inserted?
You find the specs here:
http://amigadev.elowar.com/read/ADCD_2.1/Hardware_Manual_guide/node0110.html
or here:
http://amigarealm.whdownload.com/computing/knowledge/hardref/api.htm
Basically, in addition to a regular PC floppy drive, the Amiga controls
the motor of the drive indirectly through a motor flip-flop which is
driven by the SELx line so it can turn off motors individually, and not
all at once since there is only one line for all drives. The second
modification is that RDY acts as flopppy ID signal when the motor is off
(and not as a ready-line as it would when the motor flip-flop is on), so
the Amiga can identify the type of the drive.
The data line contains a regular MFM modulated signal which Paula
synchronizes to and which is then decoded by software. I believe the
Hardware Reference Manual should include information on MFM, if not,
come again.
The reason why a regular high-density (oh well, not really "high" by
today's standards, but whatever) floppy does not connect to the Amiga is
because the data rate on the MFM output is twice of that of a double
density drive, and the Paula DMA channel does not have enough bandwidth
to place this data in memory. The Amiga HD-drives rotate at half the
speed to make this possible. That is what I call a bad hack.
Greetings,
Thomas