Shop OBEX P1 Docs P2 Docs Learn Events
File System creation on eeprom — Parallax Forums

File System creation on eeprom

Erik FriesenErik Friesen Posts: 1,071
edited 2008-07-28 01:02 in Propeller 1
I am making a handheld input device that has a small lcd and keypad.· I have it arranged to keep the current project opened and backed up to a fram.· When it comes time to save the data, I want to·save the file to the upper 32K of a 24lc512.· I will use a new,open,save,save as, and delete menu.· Each project fits within 256 bytes.·

Can someone give me some pointers on how to create a File system that automatically finds a blank spot or creates an index that also can alphebatize itself?

·

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-07-27 22:55
    Some time ago I wrote a simple "operating system" for the Propeller that included a "file system" that resided in EEPROM complete with file names and routines that kept track of what was used and not used. It used 32K "files", but these could be made smaller. The last 16 bytes of each area were used for a 12 byte file name plus some checksums. Anyway, here's the thread. The "OS_filesystem" file has most of the routines used for maintaining the "file system".

    http://forums.parallax.com/showthread.php?p=598350
  • Erik FriesenErik Friesen Posts: 1,071
    edited 2008-07-28 01:02
    Thanks Ill check it out.
Sign In or Register to comment.