| View previous topic :: View next topic |
| Author |
Message |
Rploesser
Joined: 30 Sep 2005 Posts: 3
|
Posted: Fri Sep 30, 2005 5:11 pm Post subject: A simple source code compile request |
|
|
Hello I have a little request if someone doesn't mind helping me with this. I have a small frustration when using homebrew apps on my psp. For some reason everybody that makes them codes them with the X and O buttons reversed from what normal US playstation and psp games use. IE on an actual psp game pressing X selects/executes an option, and O back the user out. However say in NestorJ the NES emulator this is the opposite. Pressing X backs out and pressing O selects. This has become frustrating. when you have to press X to start the emulator and then switch your thought proccess to pressing O to select once the Emu is started. I do know enough that I found the configuration file (NES_PAD.H)in the NestorJ source code that NestorJ uses to set which buttons operate which functions.
NES_A = 0x01,
NES_B = 0x02,
NES_SELECT = 0x04, // PLAYER2 MIC
NES_START = 0x08,
NES_UP = 0x10,
NES_DOWN = 0x20,
NES_LEFT = 0x40,
NES_RIGHT = 0x80
If my Assumptions are correct Switching the values for the lines NES_A
NES_B (switch 1 to 2 and 2 to 1)should switch the X and O buttons so that they react the same as a us psp.
I am nowhere near being a programmer nor do I understand how to use the psp sdk. if there is someone who can make this change and compile the emulator so that I can see if this works. If it does work I would like to convert all my Emulators like this as these backwards buttons drive me up the wall. I thanks all who might lend there help and time
Thanks
Rploesser |
|
| Back to top |
|
 |
Heran_Bago
Joined: 17 Sep 2005 Posts: 7
|
Posted: Sat Oct 01, 2005 8:40 am Post subject: |
|
|
PSPSDK cannot just compile anything for the PSP. NesterJ is an example, it uses a different compiler and the normal PSPSDK won't do the trick. It's likely that modified PS2 one.
For example, PSPSDK doesn't recognize the ee-gcc comand. |
|
| Back to top |
|
 |
Rploesser
Joined: 30 Sep 2005 Posts: 3
|
Posted: Sat Oct 01, 2005 11:34 am Post subject: Thanks for your info on this issue |
|
|
Do you possibly know what compiler nestorj uses, or where I can find out that info? Although this seems like a very minor issue. It bugs me alot and I would love to be able to make this change and recompile nestorj.
Thanks
Rploesser |
|
| Back to top |
|
 |
groepaz

Joined: 01 Sep 2005 Posts: 305
|
|
| Back to top |
|
 |
Rploesser
Joined: 30 Sep 2005 Posts: 3
|
Posted: Sat Oct 01, 2005 12:29 pm Post subject: getting a little further |
|
|
Well im getting a little further with my quest to fix these annoying buttons. I followed your advice and downloaded the ps2sdk. and used that to attempt to compile nestorj. I got alot further it went through alot of data scrolling up the cmd window as it was compiling. However it did spit out an error. below are the last four line it displayed before stopping.
g -o out > nestorj.map
outpatch
modulename not found
make: *** [out] error 1
Like I said following your advice I got alot further. Before it wouldnt even begin to compile anything. So it appears you have led me down the right road. but now this is where im stuck
Thanks
Rploesser |
|
| Back to top |
|
 |
groepaz

Joined: 01 Sep 2005 Posts: 305
|
|
| Back to top |
|
 |
Heran_Bago
Joined: 17 Sep 2005 Posts: 7
|
Posted: Sun Oct 02, 2005 2:30 pm Post subject: |
|
|
The author is japanese. What english he uses is translated via friends or just common knowledge. If you email him, good luck.
The commands used by the modded PS2 one, are there PSP equivilents?
If so, are they listed? and where?
Where could one find this modded PS2 compiler anyway? |
|
| Back to top |
|
 |
|