Search found 30 matches

by hnaves
Sat Jul 11, 2009 5:56 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 48180

Hi,

I am very busy at the moment, and I will not be able to continue the development of this project during the next two months. I have a lot of plans (including FPU support) but have no time :-(
by hnaves
Sat Jun 13, 2009 2:11 am
Forum: PSP Development
Topic: Bochs for PSP compiles
Replies: 10
Views: 8631

May I help?
by hnaves
Tue Jun 09, 2009 12:29 pm
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 48180

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 hnaves
Tue Jun 09, 2009 9:11 am
Forum: PSP Development
Topic: PSP Open Edition USB driver
Replies: 4
Views: 3853

This project turns your psp in a USB HID mouse.

The controls are:

Analog - X & Y
UP - Wheel up
DOWN - Wheel down
CROSS - Button 1
CIRCLE - Button 2
SQUARE - Button 3

http://ifile.it/3gxj6c9
by hnaves
Sat Jun 06, 2009 7:39 am
Forum: PSP Development
Topic: PSP USB HID descriptor
Replies: 15
Views: 9090

I managed to implement the HID descriptor

http://ifile.it/1qwfehc
by hnaves
Sat Jun 06, 2009 7:27 am
Forum: PSP Development
Topic: PSP as a USB HID GAMEPAD
Replies: 35
Views: 22206

Re: I'm back

Hello, I'm finally back on this project since I have some time to spend on it. To let you know what is done so far, you'll see what the program "lsusb" tells me. Here are the current results for the psp: [elynx@abo-126-43-69 sbin]$ ./lsusb -v -s 3:3 Bus 003 Device ...
by hnaves
Sat Jun 06, 2009 6:27 am
Forum: PSP Development
Topic: PSP Open Edition USB driver
Replies: 4
Views: 3853

It works only with the 1.5 FW
by hnaves
Sat Jun 06, 2009 6:14 am
Forum: PSP Development
Topic: PSP Open Edition USB driver
Replies: 4
Views: 3853

PSP Open Edition USB driver

Hi everyone,

This is the Open Edition USB driver (rev. eng. with pspdecompiler). Maybe now it will be possible to transform the PSP in a HID device (a joystick for example)

http://ifile.it/hv1epi9

Cheers
by hnaves
Thu May 21, 2009 4:07 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 48180

Some useful links for GIT http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html http://www.kernel.org/pub/software/scm/git/docs/everyday.html http://www.kernel.org/pub/software/scm/git/docs/user-manual.html To "update" (in the svn sense) you must perform a "git pull" H...
by hnaves
Wed May 20, 2009 9:59 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 48180

Hi hlide,

I believe that the problem is fixed now.
by hnaves
Sun May 17, 2009 10:50 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 48180

Could you provide me the prx name (and version)? There were several critical bugs fixed (in the constant propagation algorithm) in the last revision, maybe the incorrect output for loops with constants will not exist anymore.
by hnaves
Fri May 15, 2009 8:48 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 48180

Hi, I have corrected several bugs including those posted by ghost_gluck, and among them are: - Invalid detection of nested ifs gotos; - Better detection of constants - Detection of callbacks To checkout the lastest snapshot, please refer to http://repo.or.cz/w/pspdecompiler.git and click on the firs...
by hnaves
Wed May 13, 2009 7:31 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 48180

Does anybody here uses GIT? My project is already under version control at http://repo.or.cz/w/pspdecompiler.git . I believe GIT is better and easier than SVN or CVS, and it is used in the Linux Kernel project :-) I have also another project, that is to build an OPEN EDITION USB driver for PSP. I ha...
by hnaves
Tue May 12, 2009 8:43 pm
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 48180

PSP decompiler

While trying to decompile the usb.prx (FW 1.5) by hand, I realized that it was a very long and boring process... So I made this little tool to help us while doing some prx reverse engineering... http://ifile.it/93pthb0 The instructions to compile and use are in the README file.The output of the prog...
by hnaves
Fri Mar 27, 2009 5:16 am
Forum: PSP Development
Topic: any plan for prxtool update?
Replies: 22
Views: 18129

The patch to make prxtool works with the new relocation type is at
http://forums.ps2dev.org/viewtopic.php?p=80441
by hnaves
Fri Mar 27, 2009 5:16 am
Forum: Patch Submissions
Topic: [PSP] Patch to prxtool - the new relocation format
Replies: 2
Views: 8129

[PSP] Patch to prxtool - the new relocation format

Here is the patch to make prxtool understands the 0x700000A1 custom program type
http://ifile.it/867yhqr
by hnaves
Thu Mar 26, 2009 8:36 pm
Forum: PSP Development
Topic: any plan for prxtool update?
Replies: 22
Views: 18129

Yes. But the custom program type is 0x700000A1 (not 0xFFA1). Accordingly to loadcore.prx, programs is an array of all program headers whose type is LOAD, prgidx is the index of the relocation program (type 0x700000A1), data is a pointer to the relocation program bytes and size is the corresponding s...
by hnaves
Thu Mar 26, 2009 5:44 am
Forum: PSP Development
Topic: any plan for prxtool update?
Replies: 22
Views: 18129

(The output of psp-readelf -a chkreg.prx) ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type&#...
by hnaves
Thu Mar 26, 2009 5:42 am
Forum: PSP Development
Topic: any plan for prxtool update?
Replies: 22
Views: 18129

I "reversed engineered" the subroutine at address 0x55FC of the loadcore.prx (FW 5.0), and I found pretty interesting things about the new relocation format: static int load_unk (struct elf_program *programs, uint32 prgidx, uint8 *data, uint32 size) { uint32 nbits;...
by hnaves
Mon Mar 23, 2009 8:14 pm
Forum: Patch Submissions
Topic: [psp] Minor bug in prxtool
Replies: 0
Views: 10782

[psp] Minor bug in prxtool

Hi, I believe there is a bug in the prxtool disasm code, because for the instruction "bgezal", prxtool decodes it displaying cop0 registers. I changed the fmt for it from "%s, %0" to "%s, %O". Here is the diff Index: disasm.C ====================================...
by hnaves
Sat Feb 28, 2009 6:10 am
Forum: Patch Submissions
Topic: USBGDB Patch for Slim Memory
Replies: 4
Views: 9342

You forgot to include

Code: Select all

#include <pspsysmem_kernel.h>
by hnaves
Sat Feb 28, 2009 4:44 am
Forum: PSP Development
Topic: pre-IPL again
Replies: 15
Views: 14744

sorry for that
by hnaves
Sat Feb 28, 2009 1:31 am
Forum: PSP Development
Topic: pre-IPL again
Replies: 15
Views: 14744

One question: is it legal to post the dump of the pre-IPL?
by hnaves
Sat Feb 28, 2009 1:30 am
Forum: PSP Development
Topic: pre-IPL again
Replies: 15
Views: 14744

OMG! Sorry jbit for making you edit my posts when you should be working on coolz0r code! I promise I won't post copyrighted material again!!!
by hnaves
Sat Feb 28, 2009 1:28 am
Forum: PSP Development
Topic: pre-IPL again
Replies: 15
Views: 14744

The actual dump for my model (pre-IPL dumped using prxtool)

Code: Select all

; ==== Section .text - Address 0xBFC00000 Size 0x00000008 Flags 0x0006

loc_BFC00000&#58;
	0xBFC00000&#58; 0x08000000 - j 0xBFC00000
	0xBFC00004&#58; 0x00000000 - nop
by hnaves
Tue Feb 03, 2009 7:06 am
Forum: PSP Development
Topic: pre-IPL again
Replies: 15
Views: 14744

Hehehe, sorry for repeating
(you already said that It did not work on TimeMachine :-)
by hnaves
Tue Feb 03, 2009 7:00 am
Forum: PSP Development
Topic: pre-IPL again
Replies: 15
Views: 14744

Very Nice! Is it the custom IPL from moonlight? If I got it right, the "installer/ipl.h" contains a custom IPL code that will be flashed into my PSP by the cipl_flasher app. The custom IPL code will copy the pre-IPL code to 0x440EF000[iplboot/iplboot.c] and then to 0x483E0000[patch_main/ma...
by hnaves
Tue Feb 03, 2009 4:46 am
Forum: PSP Development
Topic: pre-IPL again
Replies: 15
Views: 14744

Hi Torch, thank for your reply. Is it possible to post the file (the dump) here? Or it is against the rules of this forum? I saw on other posts that the dump from the slim and phat are quite the same, with very few differences...
by hnaves
Tue Feb 03, 2009 3:33 am
Forum: PSP Development
Topic: pre-IPL again
Replies: 15
Views: 14744

pre-IPL again

I am a new member of this forum and I currently studying how the PSP boot process works. I think the best way to learn is by doing experiments, so, I downloaded the booster's IPL SDK. I am very curious about the pre-IPL code, and I tried to dump it. But (unfortunately) I could not use the SDK becaus...