Quote:
Originally Posted by WIZARD
To run the apps from microSD card in my player, I must create the GAME folder.
And I can't run the apps from the player's explorer.
Performance: Wolf3D's FPS is nearly the same (sometimes even higher)
|
Yeah, I get the same, folder GAME must be placed just like on flash memory.
Quote:
Originally Posted by knob
Yeah it works that way on my player too.(but I never tried before today!)
What you've done with the file access is awesome!.
What we could do with is a library of routines to enable us to port games and apps. I was looking at porting and found it limiting working in Ansi C only.
We need extra libraries for screen and graphics too, but it looks like you have already worked out the file handle bit which is brilliant. 
|
Yeah, I am thinking of savedialog and opendialog.
Here is the sample of this. If you run this from flash memory the player will hang. If you run this from SD Card it will list all the files in the root dir.
SDCARD.rar
BTW. I have problems with getting long names of files. FatFS lib includes long file name support, but I get troubles in assigning pointer to unicode string, I will keep trying with this. And look at the size of this rkp. Including this lib from SDK to access SDCard caused a lot of unnecessary code to be included in rkp, also a lot of warnings about overleap of memory regions are raised - though we have nothing to worry about, as we use only two functions from there.