Quick - Safe sectors

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
seph

Quick - Safe sectors

Post by seph »

Just to make sure.
If you load something into sector 1 of a floppy disk, it won't mess up the filesystem, right?
Will the second FAT be loaded automatically or do I have to do something about it?
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:Quick - Safe sectors

Post by Candy »

seph wrote: Just to make sure.
If you load something into sector 1 of a floppy disk, it won't mess up the filesystem, right?
Will the second FAT be loaded automatically or do I have to do something about it?
Try marking a few as bad in the FAT and use them. Or, give up windows compatibility :)
seph

Re:Quick - Safe sectors

Post by seph »

Ok.
So how do I mark sectors as "bad"?
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:Quick - Safe sectors

Post by Candy »

By reading the FAT file system specification and doing what is said there to mark one bad.


Or, put simple, by writing the value 0xFF8 in the FAT.
Post Reply