Search found 26 matches

by Slash
Sat Oct 20, 2007 10:55 am
Forum: PSP Development
Topic: Unassign/Assign flash0/1 problem on Slim PSP
Replies: 6
Views: 2866

Cpasjuste wrote:Same here, can't reassign flash0 in write mode on psp slim while the same code is working on 1.50 kernel.

Edit : Was again an error in my code it's working :x
If you're doing a plugin, try putting the flash0/1 assigning to the very top of your code. This works for me.
by Slash
Tue Oct 09, 2007 10:18 pm
Forum: PSP Development
Topic: Delaying XMB load
Replies: 4
Views: 1982

If you don't necesarily need a thread, you can always do all your stuff in the module start, the next module will not be loaded until yours. If you really need a separate thread, you could use the sctrlHENSetStartModuleHandler, and wait until vsh_module loaded using synchronization functions such a...
by Slash
Tue Oct 09, 2007 8:26 am
Forum: PSP Development
Topic: Delaying XMB load
Replies: 4
Views: 1982

KickinAezz wrote:Suspend VSHmain thread then resume[when needed].
Thanks but how do you suspend it? I can suspend my own plugin thread but that also suspends the following modules.
by Slash
Mon Oct 08, 2007 1:51 pm
Forum: PSP Development
Topic: Delaying XMB load
Replies: 4
Views: 1982

Delaying XMB load

Is there a way to delay the load of XMB in a plugin? I mean, let the plugin finish its work before letting the XMB to load?
by Slash
Mon Oct 08, 2007 1:50 pm
Forum: PSP Development
Topic: Unassign/Assign flash0/1 problem on Slim PSP
Replies: 6
Views: 2866

moonlight wrote:I have not had any problems in doing so.
You of course need the privileges to do it: vsh mode or kernel mode, user mode can't.
I see. I'm trying to reassign flash0 and flash1 on a plugin so sometimes it works and sometimes it does not.
by Slash
Sun Oct 07, 2007 10:22 am
Forum: PSP Development
Topic: Unassign/Assign flash0/1 problem on Slim PSP
Replies: 6
Views: 2866

Unassign/Assign flash0/1 problem on Slim PSP

I've heard problems about reassigning flashes on Slim PSP. Is this true? If so, is there a solution?
by Slash
Fri Oct 05, 2007 9:57 pm
Forum: PSP Development
Topic: sceRtcGetCurrentClockLocalTime on 3.71
Replies: 2
Views: 1545

SilverSpring wrote:nid has changed for that function: sceRtcGetCurrentClockLocalTime is now 0x6A06446A in 3.71
EDIT: Got it. Thanks alot silverspring! :)
by Slash
Fri Oct 05, 2007 11:07 am
Forum: PSP Development
Topic: sceRtcGetCurrentClockLocalTime on 3.71
Replies: 2
Views: 1545

sceRtcGetCurrentClockLocalTime on 3.71

I'm trying to port my plugin from 3.52 to 3.71. Everything works well under 3.52, however, sceRtcGetCurrentClockLocalTime returns an error on 3.71. Can anyone give me some advice on what to do?

I've tried prxtool but I can't seem to use it in decrypted PRXes. Returns an error.

Thanks in advance
by Slash
Mon Aug 27, 2007 12:28 am
Forum: PSP Development
Topic: Custom IPL sample (and bit of IPL info)
Replies: 29
Views: 23030

So that's what you meant by saying retiring from cfw development. :)

As for me, it gets really tiring to do the same thing over and over. Its more fun to do and research something new.
by Slash
Fri Aug 17, 2007 9:14 am
Forum: PSP Development
Topic: sceUtilityGetSystemParamInt (kernel mode)
Replies: 0
Views: 1163

sceUtilityGetSystemParamInt (kernel mode)

Is there a way to run it in kernel mode? My program that will run on 3.xx can't use user mode functions.
by Slash
Wed Aug 15, 2007 6:32 pm
Forum: PSP Development
Topic: Can't use tzset() in prx?
Replies: 0
Views: 1055

Can't use tzset() in prx?

I've created a program with only tzset() function in main thread but this error always come up upon compilation... /usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libc.a(_sbrk.o): In function `_sbrk':../../../../../../newlib/libc/sys/psp/libcglue.c:524...
by Slash
Tue Aug 14, 2007 11:32 am
Forum: PSP Development
Topic: (plugin) sceRtcGetCurrentClockLocalTime problem
Replies: 4
Views: 2203

http://forums.ps2dev.org/viewtopic.php?t=3587&highlight=timezone Shine shows you haow to get timezone from sysparams, and adjust it yourself. Thanks alot but I'm having a trouble compiling it. The program compiles fine but if I add the tzset(), it gives me an error... /usr/local/pspdev/lib/gcc/...
by Slash
Sun Aug 12, 2007 12:59 pm
Forum: PSP Development
Topic: (plugin) sceRtcGetCurrentClockLocalTime problem
Replies: 4
Views: 2203

Your problem is very simple. You are using the rtc library, which is an user mode library, and in 3.XX kernel modules cannot use user functions. The solution is to change this in the makefile: from: -lpsprtc to: -lpsprtc_driver Thanks a lot! I love you! Lol. :D EDIT: One problem though, the timezon...
by Slash
Sat Aug 11, 2007 11:46 pm
Forum: PSP Development
Topic: (plugin) sceRtcGetCurrentClockLocalTime problem
Replies: 4
Views: 2203

(plugin) sceRtcGetCurrentClockLocalTime problem

I have a code in my program... pspTime cTime; int errCode = sceRtcGetCurrentClockLocalTime(&cTime); which works perfectly as an EBOOT.PBP. But when I've tried it as a plugin, it does not work. If I remove that code, the plugin works fine. Could it be that the rtc module is not ye...
by Slash
Sat Aug 11, 2007 11:42 pm
Forum: PSP Development
Topic: svn update problem
Replies: 3
Views: 1777

thanks
by Slash
Fri Aug 10, 2007 5:14 pm
Forum: PSP Development
Topic: svn update problem
Replies: 3
Views: 1777

svn update problem

I want to update my sdk files but everytime I tried to use the svn update command it always returns "Skipped .". How can I solve this one or anyone does have an idea how can I update my sdk files without reinstalling cygwin and redo the ./toolchain.sh afterwards? Thanks in advance.
by Slash
Thu Aug 09, 2007 6:30 pm
Forum: PSP Development
Topic: Can't use a function more than once
Replies: 7
Views: 2753

Re: Can't use a function more than once

Hi all, I am new to the forum and have just started development for the PSP. I am using devkitpro to develop for the PSP. I have created a function and if I call that function more than once, when trying to compile I get the error: .ent or .aent not in text section .end not in text section operatio...
by Slash
Thu Aug 09, 2007 3:27 pm
Forum: PSP Development
Topic: How to make 3.03 plugin compatible to 3.40-3.52?
Replies: 0
Views: 1006

How to make 3.03 plugin compatible to 3.40-3.52?

Anyone can give me a tip on how to make 3.03 plugin compatible to 3.40-3.52? Thanks in advance.
by Slash
Wed Aug 08, 2007 3:18 pm
Forum: PSP Development
Topic: Iterate all files from a directory?
Replies: 2
Views: 1430

thanks alot! :)
by Slash
Wed Aug 08, 2007 2:10 pm
Forum: PSP Development
Topic: Iterate all files from a directory?
Replies: 2
Views: 1430

Iterate all files from a directory?

Anyone can help me how to iterate all files from a directory? Thanks in advance.
by Slash
Wed Aug 08, 2007 12:04 pm
Forum: PSP Development
Topic: Retrieve File Timestamp?
Replies: 2
Views: 1469

nice. thanks! :D
by Slash
Wed Aug 08, 2007 11:18 am
Forum: PSP Development
Topic: Retrieve File Timestamp?
Replies: 2
Views: 1469

Retrieve File Timestamp?

Anybody knows how to get the timestamp especially MMDDYYYY from a file? Thanks in advance.
by Slash
Wed Jan 10, 2007 12:31 pm
Forum: PSP Development
Topic: Flash0/1 path redirection to MS path?
Replies: 7
Views: 3025

adrahil wrote:Oh, and devhook works by patching in memory the flashX IO function tables by its custom ones which use ms0.
Yes that's the method I want to know. When a module that patches memory to redirect flash0/1 to ms0, all succeeding modules should also use that method.
by Slash
Wed Jan 10, 2007 12:16 pm
Forum: PSP Development
Topic: Problem loading firmware files...
Replies: 1
Views: 1423

Problem loading firmware files...

I'm loading firmware files. Some files are loaded successfully but some makes the PSP crash. I'm using kernel mode and SetupCallbacks(); Am I missing something? pspSdkInstallNoDeviceCheckPatch(); pspSdkInstallNoPlainModuleCheckPatch(); loadStartModule("ms...
by Slash
Mon Jan 08, 2007 10:14 am
Forum: PSP Development
Topic: Flash0/1 path redirection to MS path?
Replies: 7
Views: 3025

Actually, if you just want to redirect the font folder, used the fontmod hack by Skylark and TeamOverload. Thanks but I want to do it without hex-editing sony files. I can use a mod but I prefer it is done on all running modules. For e.g., if I were to emulate 3.03, all modules should be redirected...
by Slash
Sun Jan 07, 2007 9:18 pm
Forum: PSP Development
Topic: Flash0/1 path redirection to MS path?
Replies: 7
Views: 3025

Flash0/1 path redirection to MS path?

Anyone knows the code on how to redirect Flash0/1 path to Memory Stick path?

For e.g, when vshmain.prx tries to access FLASH0:/FONT, i'll redirect it to MS0:/DH/303/FONT. I believe this method was used in DevHook. Anyhelp will greatly appreciated. Thanks! :)