Search found 739 matches

by hlide
Sat Jul 11, 2009 9:51 pm
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

really bad news :( i tryed to decompile BOOT.BIN, with small success, only 2-3 functions decompiled, looks like the app decompiles GP and exports only? how do u think, it's possible to add arbitrary address to command line instead GP, because GP in boot.bin just start main thread and exit !? i cann...
by hlide
Fri Jun 26, 2009 4:00 am
Forum: PSP Development
Topic: Porting Homeworld from PC to PSP...help :)
Replies: 16
Views: 6371

m0skit0 wrote:
J.F. wrote:The PSP is little endian
Man, I repeat: PSP IS BIG-ENDIAN.

That said, almost all RISC processors are big-endian. But MIPS is both-endian anyway xD
Man, you're totally wrong, PSP is little endian like PC.
by hlide
Fri Jun 26, 2009 3:58 am
Forum: PSP Development
Topic: Porting Homeworld from PC to PSP...help :)
Replies: 16
Views: 6371

Wally wrote:Then again, you'd have to consider the endianess. PSP is Little Endian and PC is big endian.
you are not well informed :P. PC and PSP are little endian.
by hlide
Mon Jun 22, 2009 7:41 pm
Forum: PSP Development
Topic: PSP's FLIRT
Replies: 9
Views: 3445

what is interesting you is probably psplibdoc. It is a an XML file which contains NID and names of functions. PRXTOOLS can produce IDA map file and can resolve names and reference with psplibdoc.
by hlide
Sun Jun 21, 2009 12:11 am
Forum: PSP Development
Topic: Scratchpad and psplink memory free
Replies: 15
Views: 3474

OK, so the reference I found is old... :( On the PS1 the scratchpad was a great place to build stuff. Is that not the case on PSP? I hope the extra 16K solves the OP's problem :D Jim Indeed, it is useless if the goal is for performance because this scratch pad is not connected directly to CPU but i...
by hlide
Sat Jun 20, 2009 9:26 am
Forum: PSP Development
Topic: Scratchpad and psplink memory free
Replies: 15
Views: 3474

Jim wrote:Scratchpad is 4Kb of fast memory at 0x100000.

Jim
"fast" memory ? are you kidding :P ? it is 16 KB and not 4 KB and surely not fast the way it is connected to bus.
by hlide
Wed Jun 10, 2009 4:00 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

no, i didn't. I don't know all the details about pspdecompiler source enough to solve those problems. I also noticed that constant return values are not always treated (I was forced to use prxtool to retrieve some return values). Have you any plan to handle float as well ? their handling is quite si...
by hlide
Mon Jun 01, 2009 4:16 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

pspdecompiler has trouble with tail call. int f(int a) { return g(a); } f will call g through a J instead of JAL, and it seems f is not reckoned properly because of this. J can be considered as a call if it has the same arguments and result registers and the callee is defined as a function. So this ...
by hlide
Fri May 29, 2009 4:27 am
Forum: PSP Development
Topic: [ALLEGREX / CPU +FPU +VFPU] isa
Replies: 16
Views: 7168

Re: VFPU spec

amorphophallus wrote:Just noob's question.

Ive read document The Naked PSP paragraph of Vector Processor, sentence "128 32bits registers".
Dose this mean 128 pieces of 32bits registers?
VFPU has 8 banks of 16 registers ==> 128 registers. It does mean you can use up to 128 float scalar registers
by hlide
Fri May 22, 2009 4:56 am
Forum: PSP Development
Topic: Eclipse, minPSPw and interesting problem
Replies: 4
Views: 1935

Thanks for the reply hlide. Replaced the psp-gcc with psp-g++ from the windows-> preferences, created completely new project with same content in .c file and in MakeFile. Reports exactly the same error. But one thing I noticed and I don't know is it supposed to be this way. When I hit build this is...
by hlide
Fri May 22, 2009 4:14 am
Forum: PSP Development
Topic: Eclipse, minPSPw and interesting problem
Replies: 4
Views: 1935

replace psp-gcc with psp-g++ in the configuration

i had the same problem
by hlide
Thu May 21, 2009 6:30 am
Forum: PSP Development
Topic: Using Boost4PSP help
Replies: 8
Views: 2122

boost4PSP now includes boost::filesystem !? I asked if boost::filesystemcan be included a long time ago. Up to now, I thought it was an abandoned project.
by hlide
Thu May 21, 2009 5:49 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

hnaves wrote:I believe that the problem is fixed now.
I think so as I cannot see the bugs I used to see any longer :)
by hlide
Thu May 21, 2009 5:22 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

When doinga "pull", I got this : git.exe pull "origin" remote: Compressing objects: 100% (17/17) [K remote: Compressing objects: 100% (17/17), done.[K remote: Total 26 (delta 13&#4...
by hlide
Thu May 21, 2009 3:52 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

ackonwledged. I'll try when i have time and when I'm getting familiar with GIT :/ (which action you should do like a Update SVN ?)
by hlide
Sun May 17, 2009 11:18 pm
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

bug with counters in loops is still unresolved : while &#40;1&#41; &#123; var17 = var17; <-- it should be &#58; "var17 = var17 + 0x00000001;" InterruptManagerForKernel_7527A9BA &#40;0x00000019, 0x00000000, 0x00000001&#41;; if &#40;&#40;&#40;var17 < 0x000...
by hlide
Sun May 17, 2009 9:59 pm
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

do you detect some functions not terminating with a JA $RA but with a J ? the rule is to check if a subroutine has no forward conditional branch when you meet a J to conclude this is subroutine with a tail call to another subroutine : void X&#40;&#41; &#123; ...; Y&#40;&#41;; &am...
by hlide
Sun May 17, 2009 11:05 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

I tried your last revision : two comile-time errors about value_append function missing the last argument in ssa.c; I appended FALSE as last argument to build pspdecompiler fine.

And yes, I have no crash now with all the prx which crashed.
by hlide
Sun May 17, 2009 2:18 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

there is a regression on the last version, pspdecompiler crashes on some prx files whereas the first public version did not.
by hlide
Sat May 16, 2009 7:22 pm
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

@hnaves There is a problem : in a loop starting with "while (1)" with a register counter, i have : "varN = varN;" instead of "varJ = varI + CONSTANT;" where varI is containing a constant. It seems the issue is in output.c : void print_operation &#40;FILE *out, struc...
by hlide
Sat May 16, 2009 4:50 pm
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

by hlide
Thu May 14, 2009 7:19 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

some suggestions : 1) prepend "int " to "varN = ..." : in "static void print_binaryop (FILE *out, struct operation *op, const char *opsymbol, int options)", "void print_complexop (FILE *out, struct operation *op, const char *opsymbol, int options)", etc. trans...
by hlide
Wed May 13, 2009 5:29 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 33615

quite impressive

do you think we can put it through SVN in google code ? so some of use can contribute ?
by hlide
Fri May 01, 2009 10:16 am
Forum: PSP Development
Topic: GCC 4.4.0 and PSP Toolchain
Replies: 18
Views: 5273

jsharrad wrote:What have the upgrades to gcc & binutils given us other than headaches and more threads on the toolchain not compiling properly? Have there been any advantages? Are there any advantages to further upgrading?
I heard gcc 4.4.0 has better overall optimization.
by hlide
Sun Apr 19, 2009 2:06 am
Forum: PSP Development
Topic: Hook Execution Problem
Replies: 6
Views: 2408

just give us the disassembly output AFTER hooking this function and may be we could help you.
by hlide
Wed Apr 15, 2009 5:37 am
Forum: PSP Development
Topic: VFPU instructions crash
Replies: 1
Views: 943

you seem to execute an VFPU instruction in a thread where THREAD_ATTR_VFPU was not set. Which is weird since you seem to be in the main thread. :/
by hlide
Tue Apr 14, 2009 4:27 am
Forum: PSP Development
Topic: Hooking Usermode Functions from inside a Kernel PRX
Replies: 19
Views: 6378

I found the example posted by Hlide but I really couldn't make anything out of it. I did my own little patch of the functions for jumping to my own functions, and tried to change memory flags to allow linking to a kernel function of mine. This didn't work. So I'd be glad if you could post a little ...
by hlide
Tue Apr 14, 2009 4:14 am
Forum: PSP Development
Topic: Hook Execution Problem
Replies: 6
Views: 2408

Edit - as for your interpretation of the asm, it's wrong aswell. a1 and a2 are never - used in a reading way... only for storage. Do you want a MIPS fight with me :) ? you're wrong indeed. Why ? SW $a2, ... means store the content of $a2 in a memory place. Now $a2 is either a temporary register or ...
by hlide
Mon Apr 13, 2009 8:08 pm
Forum: PSP Development
Topic: Hook Execution Problem
Replies: 6
Views: 2408

What I read is something like that : void sceNetSendIfEvent&#40;struct X *a0, ? a1, u32 a2&#41; &#123; if &#40;a0&#41; &#123; struct Y *v1 = a0->m_0; v1->m_268 = a2; sceKernelSignalSema&#40;v1->m_256, 1&#41;; &#125; &#125; or if you prefer : void sceNetSendIfE...
by hlide
Fri Mar 27, 2009 9:07 pm
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 131153

About the stepping issues, I have the same issue and also get it if I debug native applications, so I guess... it is again either some bug on gdb or the eclipse gdb frontend, but I need to look into it further... yes, those are the left issues with Eclipse debug (and when I don't run FireFox of cou...