flat assembler
Message board for the users of flat assembler.

Index > OS Construction > FS - FileSystem

Author
Thread Post new topic Reply to topic
joachim_neu



Joined: 22 Dec 2003
Posts: 139
joachim_neu 24 Apr 2004, 10:55
hello,

does anybody know some code in the web to use FAT12? I don't understand the system and so I can't implement it, but I want to use it for my OS...
Post 24 Apr 2004, 10:55
View user's profile Send private message Visit poster's website Reply with quote
neonz



Joined: 02 Aug 2003
Posts: 62
Location: Latvia
neonz 24 Apr 2004, 16:11
joachim_neu wrote:
hello,

does anybody know some code in the web to use FAT12? I don't understand the system and so I can't implement it, but I want to use it for my OS...


http://www.nondot.org/sabre/os/articles/FileSystems/
Post 24 Apr 2004, 16:11
View user's profile Send private message Visit poster's website Reply with quote
joachim_neu



Joined: 22 Dec 2003
Posts: 139
joachim_neu 26 Apr 2004, 12:13
you can belive my, i've read all the tuts I found, but I don't know it yet...
Post 26 Apr 2004, 12:13
View user's profile Send private message Visit poster's website Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu 26 Apr 2004, 17:14
We do believe you...

But however, unfortunately we can not learn for you... it is a process that you must take yourself.

I would advice you to use a technique called: "streamlineing" or simplification ("divide et impera") etc --

I.e. quit asking big / huge questions. Instead divide each question into much smaller and simpler questions until things become very simple and basic

Then either atempt to answer those questions yourself and/ or ask them here and with patience learning and realization will arrise... it is a natural mind build up process...

So:
-What are the most basic and simple problems you have with FAT12?
-Do you understand how the HDD is organized at very low level, aka before any filesystem is used on it?

_________________
"Any intelligent fool can make things bigger,
more complex, and more violent.
It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."
Post 26 Apr 2004, 17:14
View user's profile Send private message Visit poster's website Reply with quote
joachim_neu



Joined: 22 Dec 2003
Posts: 139
joachim_neu 26 Apr 2004, 18:11
Ok, I'll try again...

I know how a FDD ist organized. It is parted in heads, tracks and sectors.
My biggest problem is to cut the 12 bits out of the others. And I don't know, where I can find the root-dir. I know:

There are often 2 FATs who have for every cluster (often a sector) 12 bits. there the cluster-number is written, and if its free or if there is something. then there is the root-dir, where 12 Bytes are for the name, some bytes for the time and the date and the first cluster of the file. and then is the next problem: how my I take the sector an track and head out of the 12bit-number? and then I know: of you search in the FAT, you'll find at the position (from_dir_given_cluster_number * 12bit)/8 the cluster of the next part of the file, or something to show the end of the file. Then there comes the next problem: how may I make some new dirs and so on... You see I don't understand very much, cause by my age and my grade in English, too...
Post 26 Apr 2004, 18:11
View user's profile Send private message Visit poster's website Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4 28 Apr 2004, 03:47
This is a well commtated fat12 boot sector for loading exe/com file's form a floppy, Comes with nasm source code ,it may help you understand,it's called "bootprog.zip"
and you can get it from here: http://alexfru.chat.ru/epm.html

ASHLEY4.
Post 28 Apr 2004, 03:47
View user's profile Send private message Reply with quote
Gomer73



Joined: 29 Nov 2003
Posts: 151
Gomer73 28 Apr 2004, 18:01
Probably the best thing you can do is get a disk editor and actually look at a disk. The docs will help you understand, but the real life thing will help you understand.

Norton is one of the best because it will translate the information for you, then you can switch back to raw mode to see how it translated it.
Post 28 Apr 2004, 18:01
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.