>I am looking for an example (preferably in C) that implements a DOS >directory and file structure suitable for use in conjunction with a >PIC16F876 and FLASH memory. >(ie. I want to write files to the FLASH memery from the PIC and view, move, >delete etc as you would in DOS on a PC). If you have not already got it, go to the Microsoft website and download the file fatgen102.pdf. this is the official description of the FAT system, including sample code in C which is supposed to be the way it is done in the MS disk drivers. It also talks about some of the "gotchas" of the shortcuts other driver writers use. The file is about 100kb. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads