Simplest Filesystem
Simplest Filesystem
I really need an image or spec for the SIMPLEST filesystem. It doesn't have to support media > 1.44 Mb, but it can.
RE:Simplest Filesystem
Well, for a read-only filesystem, you just lay out an index at the start of the disk with the filename, the filesize, and the starting position on the disk, followed by the file data in sequential blocks. Dead simple. Only thing that could be simpler is to not have filenames at all and just refer to data by block number.
Alternatively, steal any disk format for any 8-bit computer (hint: FAT12 was used on the MSX, so it counts). It shouldn't be too hard to find specs with google or by poking around the links from this site or any of the major indices.
Alternatively, steal any disk format for any 8-bit computer (hint: FAT12 was used on the MSX, so it counts). It shouldn't be too hard to find specs with google or by poking around the links from this site or any of the major indices.
RE:Simplest Filesystem
>> Alternatively, steal any disk format for any 8-bit computer
>> (hint: FAT12 was used on the MSX, so it counts).
Fat12 doesn't count as simple in my book...all that annoying bit shifting to sort through that file allocation tables...shudder..
-Chase
>> (hint: FAT12 was used on the MSX, so it counts).
Fat12 doesn't count as simple in my book...all that annoying bit shifting to sort through that file allocation tables...shudder..
-Chase
RE:Simplest Filesystem
Hello,
bit shifting is in fact the only problematic point of FAT12. It is worth of considering.
If you want to see some fs specs, go to http://www.nondot.org/sabre/os/articles/FileSystems/.
Do you want to it in pmode or in rmode?
My rmode implementation is somekind simplified by having hardcoded the sector numbers of the FAT, root dir, etc.
Regards and good luck,
Adrian.
bit shifting is in fact the only problematic point of FAT12. It is worth of considering.
If you want to see some fs specs, go to http://www.nondot.org/sabre/os/articles/FileSystems/.
Do you want to it in pmode or in rmode?
My rmode implementation is somekind simplified by having hardcoded the sector numbers of the FAT, root dir, etc.
Regards and good luck,
Adrian.