Subject: Re: Floppy driver
To: None <amiga-dev@sun-lamp.cs.berkeley.edu>
From: David Jones <dej@eecg.toronto.edu>
List: amiga-dev
Date: 02/28/1994 13:49:45
> I think I know how to do it. There will be a bit or two in the minor #
> which tells the driver what type of disk it is. Then the code that does
> the track decoding can be different. What I'm not sure of though is if
> the MSDOS disk ca be handled in the same way as the amiga (on a track
> basis - not by sector).
Best to do the following with minor device #:
DPUU
D = density: 0=low (720/880) 1=high (1.44/1.76)
P = PC? 0=amiga (880/1.76) 1=pc (720/1.44)
U = unit (0-3)
PC and Amiga formats both use MFM with 0x4489 as the sync pattern. The
track I/O code can be shared. The sector decode code cannot.
--
David Jones, M.A.Sc student, Electronics Group (VLSI), University of Toronto
email: dej@eecg.utoronto.ca, finger for more info/PGP public key
------------------------------------------------------------------------------