| View previous topic :: View next topic |
| Author |
Message |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Mon Jul 06, 2009 8:34 am Post subject: better vram manager |
|
|
| i'm trying to learn the gu and i looked at allocating memory from vram i see how its done in the sdk but that means there will be gaps in left over memory is there a better manager for vram that i can use |
|
| Back to top |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Mon Jul 06, 2009 9:34 pm Post subject: |
|
|
Of course there is a better method.
Write your own memory manager. _________________
| Code: | int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
} |
|
|
| Back to top |
|
 |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Mon Jul 06, 2009 10:34 pm Post subject: |
|
|
| i was hoping there was a library because i'm not to good with this at the moment i think i should learn more and i'm learning gu right now |
|
| Back to top |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Mon Jul 06, 2009 11:04 pm Post subject: |
|
|
| There's libpspvram on the svn. |
|
| Back to top |
|
 |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Mon Jul 06, 2009 11:33 pm Post subject: |
|
|
thanks already had it installed is there any doc to it because i looked at but dont quit get these functions
| Code: | void* vrelptr( void *ptr ); // make a pointer relative to memory base address (ATTENTION: A NULL rel ptr is not illegal/invalid!)
void* vabsptr( void *ptr ); // make a pointer absolute (default return type of valloc) |
could some please explain these |
|
| Back to top |
|
 |
|