Trying to use Message Dialogs

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

Moderators: cheriff, TyRaNiD

Post Reply
3r Ch4mp1
Posts: 4
Joined: Sat Aug 11, 2007 10:19 am

Trying to use Message Dialogs

Post by 3r Ch4mp1 »

Hi, i'm trying to implement message dialogs to my cf plugin, but as I read user functions cannot be used from kernel modules in 3.XX firmwares.

I saw an utility.prx kernel module which has the message dialog fucntions I want, such as sceUtilityMsgDialogInitStart.

How can access to them? If the only reachable are the user ones, doing a user thread should be enough to use them inside the plugin?

Thanks in advance, hope you all understood my questions.
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

Post by KickinAezz »

-Nuh-in-
Last edited by KickinAezz on Mon Mar 10, 2008 4:49 am, edited 1 time in total.
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

There's an example in samples, but as posted above, no go with CFW.

A good example, PSPUAE. Tries to use message dialogue, works with some
fw, not others. Then it sux that FOL even tried to use it becuase some users
won't see the message.
Art.
3r Ch4mp1
Posts: 4
Joined: Sat Aug 11, 2007 10:19 am

Post by 3r Ch4mp1 »

Thanks guys you confirmed my suspects.
Side note: Lets stop the PRX madness. Now, shall we?
I develop a PRX because I wan't to do it and know how to do it, not like other people who wants to start programming with kernel modules when the logic step is beginning with EBOOTS
User avatar
F0L
Posts: 8
Joined: Sun Mar 09, 2008 5:06 am
Location: Wales, United Kingdom
Contact:

Post by F0L »

Art wrote:There's an example in samples, but as posted above, no go with CFW.

A good example, PSPUAE. Tries to use message dialogue, works with some
fw, not others. Then it sux that FOL even tried to use it becuase some users
won't see the message.
Art.
Seen this thread a few times, but was never registered to answer. If you look at the source, you will see that I never used them, RIC added them.
adrahil
Posts: 274
Joined: Thu Mar 16, 2006 1:55 am

Post by adrahil »

KickinAezz wrote:Edit: Not possible w/ current CFW's but <= 3.1.

Side note: Lets stop the PRX madness. Now, shall we?
Uhm.... the sample DOES work on 3.71 - for me at least... Just add BUILD_PRX=1 and EXTRA_TARGETS=EBOOT.PBP to Makefile.
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

I updated the sample (and the other utility samples) to work under the 3xx kernel a while ago.
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

Post by KickinAezz »

adrahil wrote:
KickinAezz wrote:Edit: Not possible w/ current CFW's but <= 3.1.

Side note: Lets stop the PRX madness. Now, shall we?
Uhm.... the sample DOES work on 3.71 - for me at least... Just add BUILD_PRX=1 and EXTRA_TARGETS=EBOOT.PBP to Makefile.
I know it works... I posted it back when FW 3.10OE's where we had a problem with kernel user module sepearation etc.

BTW, I am using one already and can confirm too that it works
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Post Reply