avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Off topic question - 3 1/2 PC Floppy drive


From: JChavez
Subject: Re: [avr-gcc-list] Off topic question - 3 1/2 PC Floppy drive
Date: Mon, 1 Jul 2002 12:10:35 -0400

 I really appreciate all your answers. I could not even read all the
information yet however
I never thought it would be so difficult.

All what I am trying to do is read any sector from a PC format floppy disk.
I'll start reading all the information you sent.
I was thinking to showing the Directory on a LCD so that the user can chose
any file.
The directory structure has the begining sector and the FAT the rest.
So I think the difficult part is reading a sector ( I mean any sector).

I hope I can make it.

Javier






"Jesper Hansen" <address@hidden>@avr1.org con fecha 30/06/2002 16:26:00

Enviado por:   address@hidden


Destinatarios: <address@hidden>, <address@hidden>
CC:
Asunto: Re: [avr-gcc-list] Off topic question - 3 1/2 PC Floppy drive


> The bottom line is you CAN NOT do it with a single chip anything.
>
> The 512 byte sector is only the beginning. Reading the FAT and directory
> structure of the floppy is also needed.

Well, this is not absolutely true. He didn't say WHICH format he wanted on
the disk.
Spurred by a discussion on the AVRFREAKS discussion boards recently,
I tried writing and reading raw MF data to/from a floppy using a 8515.
It IS possible, but it's quite a heavy load on the CPU.
Reading a "normal" MFM PC format is not possible, but FM data at 250
kbps seems to be doable.
Adding a logic chip or two, this could be simplified greatly, and reading
a PC format floppy should be possible.
However, it would be MUCH easier to use a floppy controller like the
WD279x, but these are not to find anymore, (except in museums and in
my drawer.  (which is basically the same ;-) ).

> Decoding the FAT table so you can read where the next sector is located.
> This is not for the faint of heart ( or programmer ).

Well, decoding the FAT is a pieace of cake. Many have done that in various
projects - see mine : http://www.yampp.com

> This is why you do not see any floppy disk controllers on embedded
systems.
> ( except x86 type )
>
> I have built floppy based systems in the old days with 6502, Z80, and
8088.
> Floppy controllers were abundant days past, but not now.

Oh, those were that days. You could almost debug code visually by just
watching
the blinking lights connected to the databus !

> Before you go running off and say " I can do this", please be aware
others
> have tried ( myself included ) and we have given up.

I haven't.

>Not worth the time.

Sad, but true.

/Jesper



>
> donaldV
>
>
> avr-gcc-list at http://avr1.org
>


avr-gcc-list at http://avr1.org

avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]