nesdev.com
http://forums.nesdev.com/

PowerPak CF reading demo
http://forums.nesdev.com/viewtopic.php?f=2&t=7948
Page 1 of 1

Author:  thefox [ Wed Jul 06, 2011 1:38 pm ]
Post subject:  PowerPak CF reading demo

Here's a little proof of concept that I whipped up yesterday and today about how to read files from the CF card on PowerPak. It uses an open source FAT32 library (http://www.robs-projects.com/filelib.html) and was written in C. fat32-lib-test.nes, when executed on PowerPak, reads 3 files (image.*) from the card and copies them to PPU memory to display an image.

The library also supports creating new files and removing them, etc (unfortunately creation of new files seems to be pretty slow when there are a lot of files on the card). Something like this can be a big help in making a new menu system in the future. Naturally there's an endless amount of other applications for it as well. :)

It uses MMC1 because the default NROM mapper shipped on PowerPak doesn't seem to have WRAM enabled (the library uses > 2KB RAM).

Download:
Attachment:
fat32-lib-test-v1.zip [15.73 KiB]
Downloaded 21 times

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/