English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 17 June 2013, 01:53   #1
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
Any Disk experts?

Hi,
Information on the way information is stored on floppies is difficult to find.
Even the articles from "How Stuff Works" and Wikipedia neglect the details
of how the data is recorded (if you want actual numbers).

Relating only to the DD 3.5 inch floppies (Amiga 500), So far am I correct:

A total of 80 tracks addressed by the Amiga and UAE as tracks 0-79.

40 tracks on one side, 40 on the other, 8 sectors on each side.

Tracks 0 and 40 both being the largest circles on each side of the outer
edge of the disk.

If I'm right so far, then questions:

Which side of the disk is track 0... the side with the spindle opening?

Where is sector 0, and are sectors addressed in clockwise fashion
from the side you are looking at so sector 0 is not sector 0 on the opposite side of the disk?
I assume sectors can be addressed because the spindle only has one hole in it for the drive to spin the disk with.
Cheers, Art.
xArtx is offline  
Old 17 June 2013, 02:00   #2
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
Most images look like this:


but I suspect it's really a case of this:


So that the lowest addressable area is of the same density.
xArtx is offline  
Old 17 June 2013, 02:08   #3
Sandro
Banned
 
Join Date: Feb 2013
Location: spain
Posts: 897
to understand better where the sectors are located on the disk use x-copy and 1 floppy

play a bit with the disk..format,erase etc
of course leave the floppy drive' cover open to see the floppy head working through the disk
Sandro is offline  
Old 17 June 2013, 03:24   #4
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
I don't have an Amiga, just UAE, so I can't see the drive.
My aim is to change that.

So far I have a live graphic representation of which track the
Amiga is currently accessing by drawing any of 40 concentric circles
over an image of a 3.5 floppy disk.
(different colour circles depending on which side of the disk)

I would like to further break that down into sectors, and just
draw arcs on the screen instead of circles.

I am in the end, going to have to get an Amiga again,
but this sort of information should be available.
xArtx is offline  
Old 17 June 2013, 03:43   #5
mc6809e
Registered User
 
Join Date: Jan 2012
Location: USA
Posts: 373
Amiga formatted disks don't have sectors. Entire tracks are read and written. A special pattern (sync) is used to mark the beginning of a track.

The drive is a constant angular velocity drive and not a constant linear velocity drive. In other words, each track is as long as the others regardless of the track number.
mc6809e is offline  
Old 17 June 2013, 03:59   #6
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
Quote:
Originally Posted by mc6809e View Post
Amiga formatted disks don't have sectors. Entire tracks are read and written. A special pattern (sync) is used to mark the beginning of a track.

The drive is a constant angular velocity drive and not a constant linear velocity drive. In other words, each track is as long as the others regardless of the track number.
Would you explain the last part further?
When you say each track is the same length, do you mean in bytes?
and does that mean an inner track would be more error prone for the
same reason a vinyl music record is of better quality sound toward the outer edge?

Do you also know which side is side 0 ?

That would explain why I can't see sector variables in the disk reading source code.
xArtx is offline  
Old 17 June 2013, 04:55   #7
mc6809e
Registered User
 
Join Date: Jan 2012
Location: USA
Posts: 373
Quote:
Originally Posted by xArtx View Post
Would you explain the last part further?
When you say each track is the same length, do you mean in bytes?
and does that mean an inner track would be more error prone for the
same reason a vinyl music record is of better quality sound toward the outer edge?

Do you also know which side is side 0 ?

That would explain why I can't see sector variables in the disk reading source code.
Constant angular velocity means that the disk rotates at the same rate for all tracks. The angular velocity, say in radians per second, does not change. This means outer tracks move more quickly under the head than inner tracks. Constant linear velocity drives, old CD players, for example, varied their angular velocity so as to keep each track moving at a constant speed under the head.

Since the number of bits that can be written to a track depends in part on how closely they can be to one another, CLV increases the total number of bits on a surface.

Today, disks rotate at a constant velocity, but the rate at which bits can be read or written varies with the track and this provides the same advantages as a CLV arrangement.

On the Amiga, tracks are typically all the same length, but they don't have to be.

Error rates depend on a lot of things. It's true that the data stored in outer tracks occupies more space, so its possible that bits are less likely to be corrupted. Even so, the track moves more quickly under the head when being written so perhaps the magnetic pattern impressed onto the disk is weaker. I don't know.

I think the top side of the disk is side 0.
mc6809e is offline  
Old 17 June 2013, 05:47   #8
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
Ok, thanks that is clearer.
That makes the job of visually representing what's happening quite easy,
since the variable for the current track number is there.
I really just have to draw circles then.
xArtx is offline  
Old 17 June 2013, 07:24   #9
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
Still needs some touch ups, but the basic idea:

[ Show youtube player ]

I should turn the circle off when the motor is off,
and also, although df0 is the only drive populated,
the Amiga's check of other drives is still interfering, but all easy fixes.

Until a few days ago, I was living in 2013, so don't have any floppies.
If anyone wouldn't mind measuring the radius of a worn disk that is
actually read by the head that would be helpful.. I imagine it's
slightly less then the opening for the head on the disk shutter.

Think I need some noise or music there too.
xArtx is offline  
Old 17 June 2013, 10:01   #10
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,637
Quote:
Originally Posted by xArtx View Post
Hi,
Relating only to the DD 3.5 inch floppies (Amiga 500), So far am I correct:

A total of 80 tracks addressed by the Amiga and UAE as tracks 0-79.

40 tracks on one side, 40 on the other, 8 sectors on each side.
Some of this is not completely right - you have 80 cylinders on a disk, where each cylinder is made up of the track on each side, hence 160 tracks.. each track has 11 sectors on a 880kb formatted disk (512bytes*11*80*2=880k)..

Cylinders are sometimes referred to as tracks..
hooverphonique is offline  
Old 17 June 2013, 11:39   #11
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
Quote:
Originally Posted by hooverphonique View Post
Some of this is not completely right - you have 80 cylinders on a disk, where each cylinder is made up of the track on each side, hence 160 tracks.. each track has 11 sectors on a 880kb formatted disk (512bytes*11*80*2=880k)..

Cylinders are sometimes referred to as tracks..
UAE source call them cylinders, and they don't go over 80 (or 79),

So I need 80 concentric circles on each side of the disk,
and another way to tell which side it's currently reading?
and I spend so much effort making it nice..
[ Show youtube player ]

It would be great if I had an Amiga, I could boot the same disk, and watch the drive.
xArtx is offline  
Old 17 June 2013, 11:48   #12
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
ok so you call it a cylinder instead of a circle because it has the width of the disk itself,
and then get to refer to both sides as a single unit
xArtx is offline  
Old 17 June 2013, 11:50   #13
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,025
Quote:
Originally Posted by xArtx View Post
It would be great if I had an Amiga, I could boot the same disk, and watch the drive.
You won't see which side is read on a real drive, either, because the heads are fixed to each other. If the top head is positioned over track 40 of the top side, then the bottom head is positioned over track 40 of the bottom side, too.

Tracks are numbered from 0 to 79 on each side as are cylinders. All tracks with the same number combined form the cylinder with that number.
thomas is offline  
Old 17 June 2013, 12:15   #14
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
Quote:
Originally Posted by thomas View Post
You won't see which side is read on a real drive, either, because the heads are fixed to each other. If the top head is positioned over track 40 of the top side, then the bottom head is positioned over track 40 of the bottom side, too.

Tracks are numbered from 0 to 79 on each side as are cylinders. All tracks with the same number combined form the cylinder with that number.
But I would have figured out there are 80 circles instead of 40.
I will get to see which side is being read by the seek position in the adf file.
if every adf file is the same size, it must contain the whole disk structure
including what is still blank.

EDIT,,,

ok, pretty obvious now.. this time the disk faces forward when the motor isn't spinning
[ Show youtube player ]

Last edited by xArtx; 17 June 2013 at 12:42.
xArtx is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
LCDaemon - any experts here? spotUP Amiga scene 0 25 June 2013 18:59
Need hardware experts help AmigaDave Hardware mods 0 16 October 2011 05:55
Any C2P experts here? oRBIT Coders. General 36 27 April 2010 07:26
Buying an A1200 - HELP EXPERTS! SWOS Retrogaming General Discussion 27 03 June 2007 22:38
Protection experts out there? NOB support.Games 5 13 September 2005 17:38

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

Forum Jump


All times are GMT +2. The time now is 02:03.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10444 seconds with 13 queries