Search found 192 matches

by sakya
Tue Dec 22, 2009 9:10 pm
Forum: PSP Development
Topic: Media Engine Questions?
Replies: 3
Views: 2163

Hi! :) OSLib initializes the ME this way: void initME(){ if (sceKernelDevkitVersion() == 0x01050001) { LoadStartAudioModule("flash0:/kd/me_for_vsh.prx", PSP_MEMORY_PARTITION_KERNEL); LoadStartAudioMod...
by sakya
Thu Nov 12, 2009 7:32 pm
Forum: PSP Development
Topic: Problems with sceNetResolverStartNtoA()
Replies: 3
Views: 2188

Hi! :)

I had the same problem, I didn't solve it, but using the standard

Code: Select all

struct hostent *host;
host = gethostbyname(address);
seems to work.

Ciaooo
Sakya
by sakya
Thu Nov 05, 2009 6:51 pm
Forum: PSP Development
Topic: Global Exception handler plugin
Replies: 6
Views: 5740

Hi! :)
jojojoris wrote:wasn't pspDebugInstallErrorHandler kernel 1.50 only???
So it seem (I didn't test it):
http://forums.ps2dev.org/viewtopic.php? ... on+handler

Ciaooo
Sakya
by sakya
Wed Oct 07, 2009 4:01 am
Forum: PSP Development
Topic: Difference between sceIoLseek32 and sceIoLseek
Replies: 2
Views: 3776

Hi! :)

Many thanks. ;)

Ciaooo
Sakya
by sakya
Tue Oct 06, 2009 10:24 pm
Forum: PSP Development
Topic: Difference between sceIoLseek32 and sceIoLseek
Replies: 2
Views: 3776

Difference between sceIoLseek32 and sceIoLseek

Hi! :)

Can someone explain me the difference between sceIoLseek32 and sceIoLseek?
What does it mean to seek in 32 bit mode?
Are there performance differences between the two functions?
When should I use one instead of the other?

Many thanks.

Ciaooo
Sakya
by sakya
Tue Oct 06, 2009 12:13 am
Forum: PSP Development
Topic: triEngine problem(?)
Replies: 11
Views: 3499

Hi! :)
Producted wrote:Btw, thanks sayka for your research, too bad it wasn't really the solution.
Are you saying you can connect to an access point with WPA security using that code?
I thought this wasn's possible using pspSdkInetInit.

Ciaooo
sakya
by sakya
Mon Oct 05, 2009 6:33 pm
Forum: PSP Development
Topic: triEngine problem(?)
Replies: 11
Views: 3499

Hi! :) Probably you're right: the last used connection is stored in config[0]. I had a look to triEngine source code here: http://trac2.assembla.com/openTRI/browser/trunk/src/triNet.c Can you try to connect to an access point without security or with WEP? I think the problem is this: err = pspSdkIne...
by sakya
Mon Oct 05, 2009 5:24 am
Forum: PSP Development
Topic: triEngine problem(?)
Replies: 11
Views: 3499

Hi! :)

As far as I know the first config (index=0) is a "special" one used to store the configurations before saving it or something like this.
The first configuration saved in your psp is the one with index=1

Ciaooo
Sakya
by sakya
Sat Sep 26, 2009 11:33 pm
Forum: PSP Development
Topic: Note, Vol Up, Vol Down Button Input?
Replies: 9
Views: 3075

Hi! :)

To use a kernel function in 3.x code you need to put the kernel calls in a prx.
See here for a sample:
http://forums.ps2dev.org/viewtopic.php?t=12441

Ciaooo
Sakya
by sakya
Wed Sep 23, 2009 10:16 pm
Forum: PSP Development
Topic: How to use sceDisplayDisable on newer firmware?
Replies: 8
Views: 3161

Hi! :) How to know these addresses in: STUB_FUNC 0xAC18FDEC,displayEnable STUB_FUNC 0xDA2E4C8C,displayDisable or IMPORT_FUNC "sceDisplay_driver",0x946155FD,sceDisplayEnable371 IMPORT_FUNC "sceDisplay_driver",0x32B67781,sceDisplayDisable371 The supportlib.S file is generated with ...
by sakya
Wed Sep 23, 2009 1:52 am
Forum: PSP Development
Topic: How to use sceDisplayDisable on newer firmware?
Replies: 8
Views: 3161

Hi! :)

Here you can find a kernel prx sample:
http://www.sakya.it/downloads/testPer352.rar

The sample is about sceDisplayGetBrightness and sceDisplaySetBrightness
It shouldn't be difficult to modify it. ;)

Ciaooo
Sakya
by sakya
Tue Sep 22, 2009 8:23 am
Forum: PSP Development
Topic: How to use sceDisplayDisable on newer firmware?
Replies: 8
Views: 3161

Hi! :)
liberty wrote:
Torch wrote:Call it from a kernel module.
How to? Is there a sample?
Yes, the prx you are using in your cueplayer. :D

Code: Select all

PSP_EXPORT_FUNC(displayEnable)
PSP_EXPORT_FUNC(displayDisable)
Ciaooo
Sakya
by sakya
Mon Sep 21, 2009 9:57 pm
Forum: PSP Development
Topic: [OSLib] .pgf Fonts and Virtual File System
Replies: 5
Views: 1846

Hi! :)
coolkehon wrote:he/she doesn't always include the virtual filesystem implementation when doing stuff like font or jpeg images.
You're right, I didn't modify intraFontLoad to include the virtual filesystem. :P
I'll have a look at it...

Ciaooo
Sakya
by sakya
Sun Sep 20, 2009 5:45 pm
Forum: PSP Development
Topic: Cue sheet supported player for PSP (ver 0.20)
Replies: 6
Views: 4306

Re: Cue sheet supported player for PSP (0.05, Major bug fixe

Hi! :)
liberty wrote:I hope you can support cuesheet in the further release.
Many thanks for the idea and for your help.
I'll see if I can find the time to include the support to cuesheet in some next release. ;)

Ciaooo
Sakya
by sakya
Wed Sep 16, 2009 11:43 pm
Forum: PSP Development
Topic: libFLAC seeking problem, please help!(Solved, Code Included)
Replies: 8
Views: 2932

Hi! :) You need to replace the FLAC__stream_decoder_process_until_end_of_stream with FLAC__stream_decoder_process_single in a loop. Something like: while (FLAC__stream_decoder_process_single(decoder) != false){ //Write here the code using FLAC__stream_decoder...
by sakya
Sat Sep 12, 2009 6:49 am
Forum: PSP Development
Topic: SQLite for PSP
Replies: 34
Views: 22750

Hi! :)
Criptych wrote:I'm having some trouble getting it to work right.
I had some problem with current dir.
Try to chdir to the directory containg the database before trying to open it.

Ciaooo
Sakya
by sakya
Wed Sep 02, 2009 4:58 am
Forum: PSP Development
Topic: Warning: setting incorrect section attributes for .rodata.sc
Replies: 16
Views: 5270

Hi! :) No idea, as ab5000 says the "const" tag should prevent it from being marked writable. Could you post the full source, so we can try to reproduce the problem? I have this problem with the Stackless Python PSP source, you can find it here: http://code.google.com/p/pspstacklesspython/ ...
by sakya
Sun Aug 30, 2009 5:07 pm
Forum: PSP Development
Topic: Warning: setting incorrect section attributes for .rodata.sc
Replies: 16
Views: 5270

Hi! :)

Sorry for the doule post.

I reinstalled all the toolchain on Ubuntu but when I try to compile the project I get the same exact warning...
Does someone have an idea to solve this?

Many thanks
Ciaooo
Sakya
by sakya
Sun Aug 30, 2009 12:37 am
Forum: PSP Development
Topic: Warning: setting incorrect section attributes for .rodata.sc
Replies: 16
Views: 5270

Hi! :)
ab5000 wrote:is seem a binutils bug.
try to reinstall the psptoolchain from svn.
I'm reinstalling the full cygwin+psptoolchain. :)
I'll let you know if this solves the problem.

Btw it's a strange bug: this is the only source which gives me this warning...

Ciaooo
Sakya
by sakya
Sat Aug 29, 2009 9:48 pm
Forum: PSP Development
Topic: Warning: setting incorrect section attributes for .rodata.sc
Replies: 16
Views: 5270

Hi! :) check if in pspdev/psp/sdk/include/pspmoduleinfo.h Yes, here it is: typedef struct _scemoduleinfo { unsigned short modattribute; unsigned char modversion[2]; char modname[27]; char terminal; void * gp_value; void * ent_top; void * ent_end; void * stub_...
by sakya
Sat Aug 29, 2009 9:00 pm
Forum: PSP Development
Topic: Warning: setting incorrect section attributes for .rodata.sc
Replies: 16
Views: 5270

ab5000 wrote:wich pspsdk are you using?
I updated it a pair of weeks ago (don't remember the svn version)

EDIT: If this is the problem I can reinstall cygwin+pspsdk (but I'd be happy to avoid it). :)

Ciaooo
Sakya
by sakya
Sat Aug 29, 2009 8:37 pm
Forum: PSP Development
Topic: Warning: setting incorrect section attributes for .rodata.sc
Replies: 16
Views: 5270

Hi! :) Many thanks. :) Here's the full main.c #include <pspkernel.h> #include <pspdebug.h> #include <pspctrl.h> #include <pspsdk.h> #include <pspiofilemgr.h> #include <psppower.h> #include <psputility_netmodules.h> #include <psputility_sysparam.h> #include <pspnet.h> #include <pspnet_inet.h> #includ...
by sakya
Wed Aug 26, 2009 8:55 pm
Forum: PSP Development
Topic: Warning: setting incorrect section attributes for .rodata.sc
Replies: 16
Views: 5270

Hi! :) Sorry to reply so late (and thanks for your help). The error is main.s&#58;712&#58; Warning&#58; setting incorrect section attributes for .rodata.sceModuleInfo And line 712 is: .section .rodata.sceModuleInfo,"aw",@progbits Here's the main.s http://www.megaupload.com/?d=C...
by sakya
Fri Aug 07, 2009 8:12 pm
Forum: PSP Development
Topic: Warning: setting incorrect section attributes for .rodata.sc
Replies: 16
Views: 5270

Hi! :) Sure: # Default build&#58; psp2d, pspnet, pspsnd # If using OSLIB disable PSP2D and PSPSND # If using OSLIB MOD disable PSP2D and PSPSND, enable OSLIB and OSLIB_MOD # # The exception handler is useful only while developing and testing the interpreter. # To enable it set to 1 WITH_EXPCETIO...
by sakya
Fri Aug 07, 2009 8:00 pm
Forum: PSP Development
Topic: Warning: setting incorrect section attributes for .rodata.sc
Replies: 16
Views: 5270

Warning: setting incorrect section attributes for .rodata.sc

Hi! :) I receive this warning when compiling a project: Warning&#58; setting incorrect section attributes for .rodata.sceModuleInfo This is how module info is set: #define VERS 2 #define REVS 52 PSP_MODULE_INFO&#40;"StacklessPython", 0, VERS, REVS&#41;; PSP_MAIN_THREAD_ATTR&...
by sakya
Thu Jul 30, 2009 10:21 pm
Forum: PSP Development
Topic: Multiplayer
Replies: 14
Views: 3678

Hi! :) From pspnet_apctl.h /** * Get the apctl information. * * @param code - One of the PSP_NET_APCTL_INFO_* defines. * * @param pInfo - Pointer to a &#58;&#58;SceNetApctlInfo. * * @return < 0 on error. */ int sceNetApctlGetInfo&#40;int code, union SceNetApctlInfo *pInfo&#41;; Ciaoo...
by sakya
Fri Jan 23, 2009 5:50 am
Forum: PSP Development
Topic: How To: Install PSPTOOLCHAIN **Updated**
Replies: 13
Views: 6289

Hi! :) This is the readme-ubuntu.txt file found in the psptoolchain directory...it's not very different... :) ## Install the required packages. sudo apt-get install build-essential autoconf automake bison flex \ libncurses5-dev libreadline-dev libusb-dev texinfo libgmp3-dev \ libmpfr-dev subversion ...
by sakya
Fri Nov 21, 2008 8:01 pm
Forum: PSP Development
Topic: JGE++ 1.0: Hardware accelerated 2D game SDK for PSP
Replies: 6
Views: 5851

Hi! :) Many thanks. Btw I read from the svn: - Fixed MP3 play bug on the psp. MP3 files need to have NO Id3v2 tag, or they won't play. Also, volume control is broken To fix the id3v2 tag problem you can just seek past the tag (I don't use the new mp3 playback code but maybe you just have to set the ...
by sakya
Thu Nov 13, 2008 1:01 am
Forum: PSP Development
Topic: Need help in toolchain
Replies: 10
Views: 4387

Hi! :) I've reverted back libcglue.c to how it was before the recent patch. I tried to compile the toolchain today and I got the error reported by AJ-829. I fixed it changing /usr/local/pspdev/psp/include/sys/time.h this way: //int _EXFUN&#40;gettimeofday, &#40;struct timeval *__p, void *__t...
by sakya
Fri Oct 03, 2008 7:21 pm
Forum: PSP Development
Topic: SDK Updated with sceMp3 stubs+headers
Replies: 30
Views: 15269

Hi! :)
wxnlyq wrote:1&#12289;Why I can't use a relative path to open a file?
Did you try to change the current dir with sceIoChdir to be sure that the current directory is what you think?

Ciaooo
Sakya