The number of tracks in a floppy disk!?

If you are new to development, plan on spending some time here before visiting the other forums.

Moderator: Moderators

The number of tracks in a floppy disk!?

Postby pySnake » Tue Feb 02, 2010 12:33 pm

I have read this from tutorial 5 of OS Development series: http://www.brokenthorn.com/Resources/OSDev5.html
There is 18 sectors per track. There is 63 tracks total on floppy disks.


According to this: I think it's should be 80 tracks?

Regard,
pySnake.
pySnake
 
Posts: 2
Joined: Tue Feb 02, 2010 12:13 pm

Re: The number of tracks in a floppy disk!?

Postby Andyhhp » Tue Feb 02, 2010 4:00 pm

You are correct in that 63 is wrong - it should be 83.

Yes - 1.44MB floppy disks have 80 tracks (technically cylinders if you have more than 1 platter) * 18 sectors per track * 512 bytes per sector * 2 heads per platter = 1.44MiB

However, when writing your own Floppy disk controler, it is possible to tweak parameters and get 83 cylinders, giving you a 1.49MiB floppy disk (Windows 95 distrobution is an example of this)

~Andrew
Image
Andyhhp
Moderator
 
Posts: 387
Joined: Tue Oct 23, 2007 10:05 am
Location: 127.0.0.1

Re: The number of tracks in a floppy disk!?

Postby Mike » Tue Feb 02, 2010 11:23 pm

Hello,

Yes I believe it is an error in the tutorial. There are several other errors with that tutorial and it is planned for an update. Sense some of the later FDC tutorials include the same content for completeness, they seem to also contain the same errors as well.

It will be corrected as soon as possible.
Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com
User avatar
Mike
Site Admin
 
Posts: 463
Joined: Sat Oct 20, 2007 7:58 pm

Re: The number of tracks in a floppy disk!?

Postby pySnake » Wed Feb 03, 2010 4:15 pm

Andyhhp wrote:However, when writing your own Floppy disk controler, it is possible to tweak parameters and get 83 cylinders, giving you a 1.49MiB floppy disk (Windows 95 distrobution is an example of this)

Tks a lot about this information, it's very helpful :).

pySnake.
pySnake
 
Posts: 2
Joined: Tue Feb 02, 2010 12:13 pm


Return to Beginners

Who is online

Users browsing this forum: No registered users and 1 guest

cron