Coder Social home page Coder Social logo

vinxfs's Introduction

It is an open source software to implement FAT file system to small embedded systems. This is a free software and is opened for education, research and commercial developments under license policy of following trems.

(C) 2013 vinxru

(C) 2010, ChaN, all right reserved.

*** Features ***

  • Very small RAM consumption (64 bytes work area + 33 bytes for second opened file + certain stack)
  • 512 byte temporary buffer. Used only while the function run.
  • Very small code size. Full version ~6400 bytes (80% of FLASH AMEGA8),
  • Single volume and two opened files.
  • File write function with out restrictions.
  • Can create, delete, rename, resize, move, file and directory

*** Application Interface ***

VinxFS module provides following functions:

  • fs_init - Mount a volume
  • fs_check - If user changed a drive, when mount it
  • fs_opendir - Open a directory
  • fs_readdir - Read a directory item
  • fs_delete - Delete a file or directory
  • fs_open - Open a File
  • fs_openany - Open a file or directory
  • fs_create - Create a file;
  • fs_createdir - Create a directory
  • fs_move0, fs_move - Move or rename a file or directory
  • fs_lseek - Move read/write pointer
  • fs_tell - Get read/write pointer
  • fs_getfilesize - Get file size
  • fs_read0, fs_read - Read file
  • fs_write - Write File
  • fs_write_eof - Truncate file
  • fs_write_start, fs_write_end - Write temporary buffer to a file
  • fs_swap - Swap opened files (work with two files)
  • fs_gettotal - Get total drive space
  • fs_getfree - Get free drive space

*** Drive I/O Interface ***

Since the VinxFS module is completely separated from disk I/O layer, it requires following functions to lower layer to read the physical disk.

  • sd_init - Initialize disk drive
  • sd_check - Check if user changed a drive
  • sd_read - Read partial sector
  • sd_write512 - Write sector

The module contains driver SD Card connected at ATMega8

vinxfs's People

Contributors

alemorf avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.