flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > FAT32 driver ready for porting fasm |
Author |
|
Tomasz Grysztar 31 Mar 2016, 21:29
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.
|
|||||||||||
31 Mar 2016, 21:29 |
|
Mike Gonta 03 Apr 2016, 17:49
Tomasz Grysztar wrote: I decided to share a small forgotten piece of code that I wrote back in 2002-2004 What is the license? |
|||
03 Apr 2016, 17:49 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.