File Systems

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
DRF

File Systems

Post by DRF »

Ok ok I know I have asked this before in a more general message a few days ago but I'm getting desperate lol.

I'm trying to find a decent tutorial / documentation about implementing a fat12 filesystem in the bootloader.
(Well either that or I make my own filesystem but I imagine that to be even harder, though other ideas are as always welcome)

This is quite an important task of the bootloader so any help would be greatly appreciated.

(It is also quite hard to grasp and is difficult hence me asking for help)
All I seem to find is technical information from Microsoft or the likes.
But not much in the way of functional simple tutorials which explain the important relevant parts. :-(

So any recommendations as to websites, tutorials, examples etc would be appreciated

Thanks in advance
Daniel
geezer

RE:File Systems

Post by geezer »

This isn't really a tutorial, but I've written my own FAT12 bootsector which you can use:
http://www.execpc.com/~geezer/temp/fat12.asm

There are some other bootloaders (FAT16 and ext2) in the same directory. These loaders load the file "load.bin" (usually a second-stage bootloader) from the root directory and jump to it.
DRF

RE:File Systems

Post by DRF »

Thank you geezer, I'll look it over.
My problem is however that I like to understand how something works before using it.
Else I feel like I've just stolen some other guys work and that it's not my own.
(Which does take the fun and sense of acheivement out of it)
If I can understand the code and know how to modify it and I know what each line does I'm happy,
however this seems to be such a big task and getting my head round it is seriously taking a lot of time.
And getting my head in knots.

Still I'll continue to try and stumble through it.
Thanks

Daniel
Post Reply