English Amiga Board Home Mobile Skin      


Go Back   English Amiga Board > Support > support.Hardware

Reply
 
LinkBack Thread Tools
Old 28 May 2009, 14:55   #1
Precious & fragile things
 
Join Date: Feb 2009
Location: Victoria, Australia
Posts: 1,612
Floppy Drives & Damned Complex

Greetings,
This thread is not for the faint hearted!

I was doing some research today on floppy drives, read about their signals and alike, but there's several points which I couldn't get proper answers for, so if anyone can answer them, I would be grateful.

1. Modern FDD contain a magnetic sensor for drive revolutions and sector starting points, what signal comes from the drive to signify that the index point has been reached?

2. Data is read or written to the disk as serial data, but unlike RS232 which can have start / stop bits, what signifies to the controller that it has indeed written or read the right data, what does it use as a syncronising indication, as the drive is only as good as its last revolution / index read and the precision of the 300 RPM / 150 RPM?

3. How does the chip inside the Amiga determine if indeed it has to read a long track, surely it has a set amount of data it 'expects' from one track to another, or does something signify that it will receive additional bits, is there something written in the sector header?

4. Is track 82 the absolute most upper track ever written?

Paul
Loedown is offline   Reply With Quote
AdSense AdSense  
Advertisement:
Old 28 May 2009, 15:01   #2
CaptainM68K-ExtADF
 
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 35
Posts: 4,600
Send a message via MSN to dlfrsilver
track 83 is the most upper track written.

Example : Scooby doo and scrappy doo from Hi-tech. Most of their games are using track
1 to 83.
__________________
Denis
dlfrsilver is offline   Reply With Quote
Old 28 May 2009, 15:06   #3
Precious & fragile things
 
Join Date: Feb 2009
Location: Victoria, Australia
Posts: 1,612
Then I can assume you mean 0 - 83, or do you mean 0 - 82, based upon the logic of calling the first track, track 0 as track 1?

Paul
Loedown is offline   Reply With Quote
Old 28 May 2009, 21:24   #4
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 8,783
Quote:
Originally Posted by Loedown View Post
Then I can assume you mean 0 - 83, or do you mean 0 - 82, based upon the logic of calling the first track, track 0 as track 1?

Paul
It's 0 - 82, Paul, (or 1 - 83, as Denis says above).
prowler is offline   Reply With Quote
Old 28 May 2009, 21:52   #5
IFW
Moderator
 
IFW's Avatar
 
Join Date: Jan 2003
Location: ...
Age: 41
Posts: 1,680
1, index
2, self-clocking formats, data separator, address mark detectors
3, short version: cell width changes and the hardware adjusts to cell width
4, you could write 0...83 on some models, 0...81 is more common. Anything from 80 is unsafe but generally should work until 81.
IFW is offline   Reply With Quote
Old 28 May 2009, 22:32   #6
Precious & fragile things
 
Join Date: Feb 2009
Location: Victoria, Australia
Posts: 1,612
Quote:
Originally Posted by IFW View Post
1, index
2, self-clocking formats, data separator, address mark detectors
3, short version: cell width changes and the hardware adjusts to cell width
4, you could write 0...83 on some models, 0...81 is more common. Anything from 80 is unsafe but generally should work until 81.
Point 2, what determines the clock, is there a specific signal from the drive to indicate that the sector end has been released, what is the signal for data separation and how does the controller determine the address marks?

Could I have the long version of point 3, please?

I know I'm asking plenty of questions, but I believe I may be able to make a perfect copy of any floppy, regardless of the format, including all errors.

Paul
Loedown is offline   Reply With Quote
Old 29 May 2009, 01:20   #7
IFW
Moderator
 
IFW's Avatar
 
Join Date: Jan 2003
Location: ...
Age: 41
Posts: 1,680
You are just about to enter Wonderland...!

1, Self-clocking formats always have a clock pulse embedded helping to adjust to the current clock rate. That and the reference clock together aligns the data.
A data separator separates clock signals and data signals from a single stream of mixed clock and data - as it is recorded on the disk.
The logical layout of data is a completely different thing.
Address marks are being detected through various methods, it depends on the design. Usually data that cannot be recorded by normal encoding rules is the address mark. Controllers have various components that can detect this and once such mark has been encountered determine which part of the data is clock and which is data in the case of MFM recording.

2, Long version: see above. The keyword is continuously adjusting the data window to the clock speed derived.
This is necessary as neither drive speed is really constant, nor cell width is for real.

3, er... good luck with that. Yes you can, but data you should write to a disk is quite often not the data you read from the disk...
You can make an analogue copier that way that works reasonably well and quality degrades depending on the location on the disk as well as the source material.
But this has been done 20 years ago...
IFW is offline   Reply With Quote
Old 29 May 2009, 01:26   #8
Precious & fragile things
 
Join Date: Feb 2009
Location: Victoria, Australia
Posts: 1,612
Quote:
Originally Posted by IFW View Post
You are just about to enter Wonderland...!

1, Self-clocking formats always have a clock pulse embedded helping to adjust to the current clock rate. That and the reference clock together aligns the data.
A data separator separates clock signals and data signals from a single stream of mixed clock and data - as it is recorded on the disk.
The logical layout of data is a completely different thing.
Address marks are being detected through various methods, it depends on the design. Usually data that cannot be recorded by normal encoding rules is the address mark. Controllers have various components that can detect this and once such mark has been encountered determine which part of the data is clock and which is data in the case of MFM recording.

2, Long version: see above. The keyword is continuously adjusting the data window to the clock speed derived.
This is necessary as neither drive speed is really constant, nor cell width is for real.

3, er... good luck with that. Yes you can, but data you should write to a disk is quite often not the data you read from the disk...
You can make an analogue copier that way that works reasonably well and quality degrades depending on the location on the disk as well as the source material.
But this has been done 20 years ago...
I had something a little more radical in mind. Using a BBD and PIC, if I can read data off a disk exactly as it's laid down, then as long as the destination drive is perfectly synced, data can be put back exactly, this way avoiding the whole weak bits / long tracks issue, if the controller simply doesn't care what format the disk geometry is apart from having designated tracks, then in theory, the whole thing should work.

Time to crack out the data analyzer and breadboard.

Paul
Loedown is offline   Reply With Quote
AdSense AdSense  
Advertisement:
Old 29 May 2009, 09:42   #9
IFW
Moderator
 
IFW's Avatar
 
Join Date: Jan 2003
Location: ...
Age: 41
Posts: 1,680
Yes, that's what analogue copiers do without buffering the data.
Again, what you read is not always what you need to write to read back the same data...
IFW is offline   Reply With Quote
Old 29 May 2009, 12:19   #10
Precious & fragile things
 
Join Date: Feb 2009
Location: Victoria, Australia
Posts: 1,612
Greetings,

So similar to having like a sync separator in TV transmission, you need to know what to strip out to write the data back correctly?

From what you've told me, IFW, I will still go ahead and start experimenting, as this is one of the biggest bugbears that ancient computer operators face and to be more honest, I have more interest in most, copying proprietry disks, ask me about Roland MC-300 system / library disks.

Paul
Loedown is offline   Reply With Quote
Old 29 May 2009, 14:32   #11
IFW
Moderator
 
IFW's Avatar
 
Join Date: Jan 2003
Location: ...
Age: 41
Posts: 1,680
You need to know how to change the data so that after writing it would read back as the expected values.
IFW is offline   Reply With Quote
Old 29 May 2009, 14:34   #12
IFW
Moderator
 
IFW's Avatar
 
Join Date: Jan 2003
Location: ...
Age: 41
Posts: 1,680
An old cyclone or similar hardware assisted copier would do the exact same thing for you.
As long as it's a first generation copy you should be fine.
IFW is offline   Reply With Quote
Old 29 May 2009, 15:08   #13
Precious & fragile things
 
Join Date: Feb 2009
Location: Victoria, Australia
Posts: 1,612
Greetings,
Now this becomes really perplexing, why would a disk not contain exactly what was written to it, why does it need to be modified to be understood? Does this have something to do with MFM, are drives so low level that the conversion of MFM isn't done by the FDD controller?

I would still question why an analogue approach wouldn't work, as even if the data coming off the reading drive is encoded, as long as it's written back to the second drive EXACTLY as it was, then why doesn't this method work in all cases?

I know I'm a pain in the arse

Paul
Loedown is offline   Reply With Quote
Old 29 May 2009, 21:42   #14
IFW
Moderator
 
IFW's Avatar
 
Join Date: Jan 2003
Location: ...
Age: 41
Posts: 1,680
Please do some research on magnetic recording and pre-compensation. Basically, certain sequence of cells are known to take a different position from the intended one. Now if you read that back, it can get to the point that it gets different values from the ones you'd read from the original source.
You need to compensate for that.
IFW is offline   Reply With Quote
Old 29 May 2009, 22:39   #15
Precious & fragile things
 
Join Date: Feb 2009
Location: Victoria, Australia
Posts: 1,612
Quote:
Originally Posted by IFW View Post
Please do some research on magnetic recording and pre-compensation. Basically, certain sequence of cells are known to take a different position from the intended one. Now if you read that back, it can get to the point that it gets different values from the ones you'd read from the original source.
You need to compensate for that.
I will, magnetic media was but a short course many years ago, I just recall some of the terms and have a vague idea about how it works.

From C64 days, I recall that certain tracks had certain sector counts, but in the case of more modern drives, they used a fixed set of sectors, perhaps not so much the Amiga, most likely the reference to long tracks.

IFW, you've been a great source of information, thankyou.

Paul
Loedown is offline   Reply With Quote
AdSense AdSense  
Advertisement:
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Floppy drives brokenangel support.WinUAE 3 18 May 2009 14:40
PC Floppy Drives adewakd support.Hardware 1 14 March 2008 18:36
replacing amiga floppy drives with hard drives Gordon support.Hardware 2 06 March 2007 00:44
A2000 & A1000 Internal Floppy drives! ElectroBlaster MarketPlace 1 03 July 2006 17:07
Floppy Drives Dave_wb support.Hardware 4 06 October 2005 00:06


All times are GMT +2. The time now is 16:19.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO ©2011, Crawlability, Inc.
Page generated in 0.39978 seconds with 9 queries