better vram manager

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
coolkehon
Posts: 355
Joined: Mon Oct 20, 2008 5:44 am

better vram manager

Post by coolkehon »

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
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Post by jojojoris »

Of course there is a better method.

Write your own memory manager.

Code: Select all

int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
coolkehon
Posts: 355
Joined: Mon Oct 20, 2008 5:44 am

Post by coolkehon »

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
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

There's libpspvram on the svn.
coolkehon
Posts: 355
Joined: Mon Oct 20, 2008 5:44 am

Post by coolkehon »

thanks already had it installed is there any doc to it because i looked at but dont quit get these functions

Code: Select all

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
Post Reply