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 

Message Dialog SDK samples locking up my PSP...

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



Joined: 13 May 2007
Posts: 9

PostPosted: Sun May 13, 2007 5:39 am    Post subject: Message Dialog SDK samples locking up my PSP... Reply with quote

I've been trying to get message dialogs working in my game off and on for some time now, but when I tried to init them they always froze my PSP. Never fear, there are samples in the SDK, right? Well they freeze, too, presumably during the for(;;) status loop because I'm able to actually see the cube move for about half a second and I get a hard lock. Has anyone else encountered this or know what to do about it?

I'm specifically referring to sceUtilityMsgDialogInitStart and that family of functions.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun May 13, 2007 6:12 am    Post subject: Reply with quote

I get the same thing. I commented out the DrawStuff() and it still locks, so it's something about the dialog calls that's hanging.
Back to top
View user's profile Send private message AIM Address
BigNastyCurve



Joined: 13 May 2007
Posts: 9

PostPosted: Sun May 13, 2007 12:05 pm    Post subject: Reply with quote

Yep, that's what I saw as well. Technically I'm running on 1.50 since I'm kxploiting, correct? So nothing should have changed even though I'm running 3.30 OE-A'?

EDIT:

As a follow-up, I have a dump of the crash from psplink. I'm new to psp development, so it doesn't make much sense yet:

s0:/psp/game150/hello/> Usage: (null)
Exception - Address load/inst fetch
Thread ID - 0x017D797B
Th Name - SceModmgrStartVSH
Module ID - 0x04D47367
Mod Name - sceDialogmain_Module
EPC - 0x0878B7A0
Cause - 0x10000010
BadVAddr - 0x882C8EEC
Status - 0x20008613
zr:0x00000000 at:0x0008FF00 v0:0x882C8EE0 v1:0x08790000
a0:0x0879272C a1:0x08790000 a2:0xFFFFFFFF a3:0x00000001
t0:0xFFFFFFFF t1:0xD3100000 t2:0x00000018 t3:0x0000000C
t4:0x087FFE90 t5:0x00000E00 t6:0x0878B780 t7:0x00008600
s0:0xDEADBEEF s1:0xDEADBEEF s2:0xDEADBEEF s3:0xDEADBEEF
s4:0xDEADBEEF s5:0xDEADBEEF s6:0xDEADBEEF s7:0xDEADBEEF
t8:0x8826A2F8 t9:0x00000030 k0:0x087FFF00 k1:0x00000000
gp:0x0879B790 sp:0x087FFE90 fp:0x087FFEC0 ra:0x0878B780
Back to top
View user's profile Send private message
Harriskaver



Joined: 04 May 2007
Posts: 3

PostPosted: Sun May 13, 2007 6:57 pm    Post subject: Reply with quote

I get the same problem on 3.40 OE. I've played around with the code a bit but I can't seem to get it to work.
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sun May 13, 2007 7:09 pm    Post subject: Reply with quote

I think the message dialogs require VSH. Under OE firmwares, you can run homebrew using the 1.50 kernel, but the 1.50 VSH isn't present.
Back to top
View user's profile Send private message
BigNastyCurve



Joined: 13 May 2007
Posts: 9

PostPosted: Mon May 14, 2007 11:52 am    Post subject: Reply with quote

Wait, as I mentioned I'm kinda new to this...why isn't the VSH there? Did he need the space? Does that mean the OSK and savedata dialogs won't work either? How about things like Ad-hoc connections, etc?

EDIT: nm about the ad-hoc question part, as I just got those working. I am, though, still concerned about the OSK, etc.
Back to top
View user's profile Send private message
weltall



Joined: 20 Feb 2004
Posts: 310

PostPosted: Mon May 14, 2007 3:39 pm    Post subject: Reply with quote

they wont work till you put vsh files on the flash.
they aren't there because they are almost unnedded (except for some homebrews) and there isn't space enough to keep 3.x features and 1.5 vsh
Back to top
View user's profile Send private message Visit poster's website
BigNastyCurve



Joined: 13 May 2007
Posts: 9

PostPosted: Mon May 14, 2007 10:18 pm    Post subject: Reply with quote

Ok, got it. I tried the OSK examples with the same result...lockups. I'll just have to roll my own dialogs and OSK equivalent or find something out there like it.
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