I have recently been working on viper gc / extreme support for some applications (mainly usb related things -> viper usb adapter).
I think of ViperGC Extreme flash file system support in swiss (like the qoob pro file system) and accessing the loader from my vua_receiver(tbr) stub.
But I have problems getting the contents of the flash.
Anyone here with some working vipergc source code?
ViperGC Extreme flash file system access
Re: ViperGC Extreme flash file system access
infact, at the start of the application I recall you have to call up some methods of theirs in their "SDK". Also, if you look at "Previously undocumented ViperGC/Extreme functions" here (I assume you have already) it might help you.
Re: ViperGC Extreme flash file system access
Yeah, I'm doing all the ViperInit() stuff, but when I access the flash, I only get garbage or exceptions.
Maybe it is related to some other stuff that is included in my program (usb, dol launcher, etc.)
Will start from scratch tomorrow.
Maybe it is related to some other stuff that is included in my program (usb, dol launcher, etc.)
Will start from scratch tomorrow.
Re: ViperGC Extreme flash file system access
I'm getting a error saying CONFIG_FILE_NBSECTORS is undeclared
Do you know it's definition?
Do you know it's definition?
Re: ViperGC Extreme flash file system access
look again at the line in the file and guess
viper-undocumented.c wrote: FLASH_FILE_TYPE files[CONFIG_FILE_NBSECTORS]; // 32 files max
Re: ViperGC Extreme flash file system access
#define CONFIG_FILE_NBSECTORS 32
???
???
Re: ViperGC Extreme flash file system access
clearly yes.
Re: ViperGC Extreme flash file system access
lol... now I feel kinda stupid
in function ViperGetVersionInit();
I think it said ViperVersion(), I changed that to version (wich refers to struct{}CONFIG_TYPE) is that the right one?
Or am I doing something clearly wrong now?
in function ViperGetVersionInit();
I think it said ViperVersion(), I changed that to version (wich refers to struct{}CONFIG_TYPE) is that the right one?
Or am I doing something clearly wrong now?