> A filesystem is not necessary but it surely will make things simpler That's true. All very well when you start off with a clean card but as files are replaced, added or deleted you need something to track the useage > Your code will check if 0xBAE000 is occupied or not, give it a try Sure, the first draft is a little simpler than it should be, but it did work, so that's something to build on. I've added quite a few more lines in the last couple of hours to eliminate static values, begin covering the "what ifs" etc Joe -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .