PDA

View Full Version : List root directory files with FAT32 Full File System Driver?



benheck
11-17-2011, 09:19 PM
It's probably at the tip of my nose, but what's the best way for one to display all the files on the root directory using the new Full File System Driver?

Need to display them using the TV driver, let user select one, then open it.

Is there some code anyone knows of they could point me to?

Thanks, and looking forward to Prop 2!

Oldbitcollector (Jeff)
11-17-2011, 09:48 PM
@benheck,

You could probably rip out 90% of what you need out of my SIDplayer code.

http://dl.dropbox.com/u/7557533/Propellerpowered/sidplayer.zip

You find some other stuff that might be useful here:
http://dl.dropbox.com/u/7557533/temp/menu.zip

OBC

Kye
11-17-2011, 10:22 PM
Please read the PDF for the full file system driver here: http://www.parallaxsemiconductor.com/an006

In the document it mentions how to list files and folders. The listing methods return C strings.

Dr_Acula
11-17-2011, 10:26 PM
I took Kye's driver and turned it into an operating system, and then Jeff Ledger took my VGA code and made it work on a TV screen.

There is a screenshot of a directory listing and code here http://forums.parallax.com/showthread.php?133558-KyeDos-TV-version-for-small-screens