It is currently Tue Oct 24, 2017 4:35 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: PowerPak CF reading demo
PostPosted: Wed Jul 06, 2011 1:38 pm 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 2963
Location: Tampere, Finland
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: http://kkfos.aspekt.fi/downloads/fat32-lib-test-v1.zip


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group