2
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by sDJh
0

FDisk should work. A floppy is a normal FAT32-partition.

If not, I believe, you can find good codes for formating disks in FAT.

0

Yes but, assembly has some interrupts for floppy, the program i need must use these interrupts and i have to improve an algorithm and explain step by step can you help me because i know nothing about assembly programming.

0

Is it for an examination?

1) Go to microsoft.com and look for the official FAT32-documentation (it's quite good for microsoft-standart).

2) Some basic information:
The first sector which identifies the filesystem, size, etc is at the position (CMS) 0,0,0 or at the first cylinder (CMS) 1,0,0. Read it with INT13 (http://www.ctyme.com/intr/rb-0607.htm, http://www.ctyme.com/intr/int-13.htm).
Now dump these data and try to figure out the structures as promised in the docs.

Then you need to look for the table that saves which sectors are free (CMS/LBA). Should be given in the doc as well.

When you are lucky than that's all. Reading and writing the files/dirs to the disk can then be done by the OS.

When you have some stuff it would be nice if you drop me a line. I'm also interested in FAT.

Regards.
Simon

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.