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 

How to use GU in the XMB?

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



Joined: 24 Jul 2007
Posts: 37

PostPosted: Thu Aug 16, 2007 9:16 am    Post subject: How to use GU in the XMB? Reply with quote

I'm having problems getting GU to load in the XMB, I'm just playing around at the moment, but I always crash the XMB, everytime...

I've tried using the Logic source code from the toolchain (seeing as it was made by a fully competant programmer), but alas, same problem. The crash occurs in the SCE_VSH_GRAPHICS thread, and when this thread is suspended, the GU can run without crashing, but when resuming again (even if the GU is no longer running) causes a crash.

I've found that when commenting this line
Code:
sceGuDispBuffer(SCR_WIDTH,SCR_HEIGHT,fbp1,BUF_WIDTH);
the crash no longer occurs, but obviously, nothing is drawn onscreen correctly. All of my attempts thus far to try and sort this out have led to very messy code, and no success what so ever.

I'm pritty sure its possible to do it, seeing as the DSX library can draw on the XMB, and using the graphics.c also allows for things to be drawn on screen, but neither has proved very helpful to me for solving this problem. No doubt theres some easy answer that I've completely overlooked, but seeing as my GU knowledge is in the same leauge as a mules, I'm really not sure what I can and can't do.

This has been driving me mental for a while, and any help would be really appreciated.

Thanks.
-Aura

_________________
Live. Love. Be. Believe.

Free downgrading/unbricking service list!
Back to top
View user's profile Send private message
Aura



Joined: 24 Jul 2007
Posts: 37

PostPosted: Wed Aug 29, 2007 10:01 am    Post subject: Reply with quote

Does no-one know what needs to be changed specifically to do this?

-Aura

_________________
Live. Love. Be. Believe.

Free downgrading/unbricking service list!
Back to top
View user's profile Send private message
flatmush



Joined: 07 Aug 2007
Posts: 28
Location: Here

PostPosted: Wed Aug 29, 2007 10:24 am    Post subject: Reply with quote

Check this thread out http://www.psp-programming.com/forums/index.php?topic=2624.0
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
rz950



Joined: 27 Jun 2005
Posts: 10

PostPosted: Thu Aug 30, 2007 11:23 am    Post subject: Reply with quote

Maybe it could be other things that are wrong with it and not just sceGuDispBuffer but I know this one should work,

sceGuDispBuffer(SCR_WIDTH,SCR_HEIGHT,(void*)0x88000,BUF_WIDTH);
same thing as
sceGuDispBuffer(SCR_WIDTH,SCR_HEIGHT,(void*)(512 * 272 * 4),BUF_WIDTH);

buf_width should be 512

a but more of your code would be useful and helping :)
Back to top
View user's profile Send private message AIM Address
Aura



Joined: 24 Jul 2007
Posts: 37

PostPosted: Thu Aug 30, 2007 10:40 pm    Post subject: Reply with quote

Theres no code really to post that you shouldn't already have, all I'm trying to do is get any of the GU examples to work in the XMB, the link I was sent seemed good at first, but only appears to work during the bootscreen at the start, I've tried working from there but still no luck.

-Aura

_________________
Live. Love. Be. Believe.

Free downgrading/unbricking service list!
Back to top
View user's profile Send private message
Aura



Joined: 24 Jul 2007
Posts: 37

PostPosted: Thu Aug 30, 2007 10:41 pm    Post subject: Reply with quote

*Ignore double posted for some reason*
_________________
Live. Love. Be. Believe.

Free downgrading/unbricking service list!
Back to top
View user's profile Send private message
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