implementing 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
redDot
Member
Member
Posts: 29
Joined: Sat Jan 26, 2008 2:48 am

implementing FAT12

Post by redDot »

hello friends,
I have an initial kernel, with the description tables, paging and kmalloc implemented. I now wish to implement some basic file system so that i may be able to write and read from the storage location. I believe FAT12 is the easiest one to start with. Could u guys please suggest me how to go about it, and which file system should i start with.

Thanks
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
jerryleecooper
Member
Member
Posts: 233
Joined: Mon Aug 06, 2007 6:32 pm
Location: Canada

Post by jerryleecooper »

http://www.osdev.org/wiki/FAT
I didnt know it existed. better than the article I wrote for the magazine. :oops:
redDot
Member
Member
Posts: 29
Joined: Sat Jan 26, 2008 2:48 am

Post by redDot »

thank you friends,
your criticism and appreciation is humbly accepted.
eddyb

Post by eddyb »

have u a floppy/HDD driver? if u haven't, i saw a thread with a tut.. I'll give u the link

if u has such a driver, search in the wiki(have already links) docs about fs's. well, for floppy, fat12 is good for begin. if u want to work on a HDD, i recommend, something like SFS
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Post by neon »

I guess I can also point you here as well, as it covers fat12 at the assembly level. You can use it for better understanding of how fat12 works.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

neon wrote:I guess I can also point you here as well, as it covers fat12 at the assembly level. You can use it for better understanding of how fat12 works.
Wow!, are they your tut's neon ?, i wish they had tuts like that when i first started OS Dev.
Anyway great job.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Post by neon »

Dex wrote:Wow!, are they your tut's neon ?, i wish they had tuts like that when i first started OS Dev.
Anyway great job.
I wish they did too, else I wouldnt be writing them. :) Thanks for your support :D
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Post Reply