flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > OS Construction > FAT32 driver ready for porting fasm

Author
Thread Post new topic Reply to topic
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6266
Location: Kraków, Poland
FAT32 driver ready for porting fasm
I decided to share a small forgotten piece of code that I wrote back in 2002-2004 in order to port fasm to a custom operating systems working on FAT32 partition. It provides a basic file system access and implements an API exactly as needed by fasm core (the functions: create, open, lseek, read, write, close). It uses many simplifying assumptions - it handles only one disk partition (MBR scheme, there was no GPT back then), and does not support long file names. It also most likely has some bugs, because it was never used much and so it was not thoroughly tested. But perhaps someone might still find it useful.

I have personally used it as a helper tool in some of my closed projects, but I really feel that I should have shared it with you back when I created it, as I feel I did not really make a good use of this code while it could serve as a nice example for OS development. If you use FAT32 partition, then you can easily port fasm to a custom OS with a little driver like this one.


Description:
Download
Filename: FASMFAT32.ZIP
Filesize: 4.15 KB
Downloaded: 50 Time(s)

Post 31 Mar 2016, 21:29
View user's profile Send private message Visit poster's website Reply with quote
Mike Gonta



Joined: 26 Dec 2010
Posts: 189
Re: FAT32 driver ready for porting fasm

Tomasz Grysztar wrote:
I decided to share a small forgotten piece of code that I wrote back in 2002-2004

Hi Tomasz,
What is the license?

_________________
Mike Gonta
look and see - many look but few see

http://mikegonta.com
Post 03 Apr 2016, 17:49
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6266
Location: Kraków, Poland
I put a note in the source that it is a part of flat assembler project, and my intention was that it should be treated as it was under the same license as fasm. But the strict use of such license it is not important to me - I only ask anyone using my code to acknowledge it somewhere in the documentation or comments.

I do not treat this code as something really valuable, it was never really completed even in its basic functionality (note how it uses a variable to track current directory, but does not have a function to change that directory to something other than root, and does not parse paths).
Post 03 Apr 2016, 18:38
View user's profile Send private message Visit poster's website 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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.