[comp.sys.amiga.tech] writing a floppy port device

hakimian%tek4@YODA.EECS.WSU.EDU (12/11/90)

I am in the process of writing a device driver for the floppy port. I have
a pretty good grasp on how to allocate the disk.resource and set up the
interrupts that I needs. What I am having trouble finding is a description
of how data is sent. I know how to start up the dma, what I don't know is
when the encoding to mfm or gcr is done. How can I send out a sync word?
Where is this documented? I have been looking in the hardware manual as well
as the RKM library and devices.

Any and all input will be appreciated.

Karl Hakimian
hakimian@yoda.eecs.wsu.edu

jesup@cbmvax.commodore.com (Randell Jesup) (12/19/90)

In article <9012102335.AA01847@tek4> hakimian%tek4@YODA.EECS.WSU.EDU writes:
>I am in the process of writing a device driver for the floppy port. I have
>a pretty good grasp on how to allocate the disk.resource and set up the
>interrupts that I needs. What I am having trouble finding is a description
>of how data is sent. I know how to start up the dma, what I don't know is
>when the encoding to mfm or gcr is done. How can I send out a sync word?
>Where is this documented? I have been looking in the hardware manual as well
>as the RKM library and devices.

	Most of the info is in the hardware manual, and further info can be
found in Bryce Nesbitt's and my articles on low-level disk access in back
issues of AmigaMail (it's available from CATS).

-- 
Randell Jesup, Keeper of AmigaDos, Commodore Engineering.
{uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com  BIX: rjesup  
The compiler runs
Like a swift-flowing river
I wait in silence.  (From "The Zen of Programming")  ;-)