forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

better vram manager

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
coolkehon



Joined: 20 Oct 2008
Posts: 355

PostPosted: Mon Jul 06, 2009 8:34 am    Post subject: better vram manager Reply with quote

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
View user's profile Send private message MSN Messenger
jojojoris



Joined: 30 Mar 2008
Posts: 261

PostPosted: Mon Jul 06, 2009 9:34 pm    Post subject: Reply with quote

Of course there is a better method.

Write your own memory manager.
_________________
Code:
int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
Back to top
View user's profile Send private message
coolkehon



Joined: 20 Oct 2008
Posts: 355

PostPosted: Mon Jul 06, 2009 10:34 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Mon Jul 06, 2009 11:04 pm    Post subject: Reply with quote

There's libpspvram on the svn.
Back to top
View user's profile Send private message
coolkehon



Joined: 20 Oct 2008
Posts: 355

PostPosted: Mon Jul 06, 2009 11:33 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group