Fat12

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
rooper
Posts: 8
Joined: Tue Jul 05, 2011 9:14 pm

Fat12

Post by rooper »

This doesn't seem to be a hot topic so I'll ask about it, I have been reading the articles on file systems, but they haven't been much help I was wondering if you could give me a good tutorial on how to implement file systems preferably something easy like fat12 (if it's easy). Thankyou!
Root -- With great power comes great responsibility
User avatar
thepowersgang
Member
Member
Posts: 734
Joined: Tue Dec 25, 2007 6:03 am
Libera.chat IRC: thePowersGang
Location: Perth, Western Australia
Contact:

Re: Fat12

Post by thepowersgang »

FAT12 is a simple filesystem, if you can't figure out how to access it yourself, you are not ready for OSDev.

(Although, you could read the VFS article to get an idea on general filesystem driver theory)
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
OSwhatever
Member
Member
Posts: 595
Joined: Mon Jul 05, 2010 4:15 pm

Re: Fat12

Post by OSwhatever »

rooper wrote:This doesn't seem to be a hot topic so I'll ask about it, I have been reading the articles on file systems, but they haven't been much help I was wondering if you could give me a good tutorial on how to implement file systems preferably something easy like fat12 (if it's easy). Thankyou!
Fatgen103.doc is usually a good start. Written by Microsoft themselves.

http://www.google.se/url?sa=t&source=we ... pA&cad=rja
M-Saunders
Member
Member
Posts: 155
Joined: Fri Oct 27, 2006 5:11 am
Location: Oberbayern
Contact:

Re: Fat12

Post by M-Saunders »

I used this to implement FAT12 in my OS:

http://www.disc.ua.es/~gil/FAT12Description.pdf

It has everything you need. FAT12 is rather simple and not difficult to implement. My OS (see sig) has a well-commented FAT12 floppy driver (real mode x86 asm) in source/features/disk.asm.

Don't look for hand-holding step-by-step tutorials for everything -- try reading specs and coding things yourself, to see what you're capable of. Good luck!

M
MikeOS -- simple, well-documented x86 real-mode OS written in assembly language
http://mikeos.sourceforge.net
Post Reply