Results 11 to 20 of 605
Thread: How to become a PSP Dev
-
01-13-2007, 05:26 PM #11
Senior Member -Hacks God
- Join Date
- Sep 2005
- Location
- Southern California
- Posts
- 3,252
- Rep Power
- 16
sweet! i'll have to try this later, for sure... a great addition
-
01-13-2007, 06:06 PM #12
Senior Member -Hacks Titan
- Join Date
- Sep 2005
- Location
- Wales
- Posts
- 3,560
- Rep Power
- 16
I think I will have to try this.
Back in the day I had a go at lua progging. was fun, will try this fo'sho
-
01-13-2007, 06:07 PM #13
ive tried the first bit of the tut..
created that wave generator :posessed:
its pretty awesome :surprised:
gona try the rest of it 2moz
-
01-13-2007, 07:50 PM #14
Senior Member -Hacks Titan
- Join Date
- Nov 2005
- Location
- Daytona Beach
- Posts
- 10,124
- Rep Power
- 23
hey 'donkey. thanks for doing this. the only reason i hadnt done anything on the psp is all that cygwyn stuff. this is good what you've done.
i'm porting a tic-tac-toe program that i made for my coding class a couple of months back, and there's just one problem: the psp receives key inputs INSANELY fast. i open the program up on my psp and i get the splash screen with "press [X] to continue" at the bottom. i press X, and it must be reading like 60 "X" inputs because it performs the action for pressing X on the splash screen, then performs the X action for the main menu (so fast that you never see the menu), then starts doing the actions that X causes during the game. i need a way to tell it to clear out the memory and STOP TAKING GODDAMN INPUTS after it gets that first X signal (sorta like a "fflush(stdin);" does). any ideas?
-
01-13-2007, 08:04 PM #15
^^IDK, perhaps have two loops? Eg, one to wait for the button to be pressed, then, another one to wait till it's released?
-
01-13-2007, 08:30 PM #16
Senior Member -Hacks Titan
- Join Date
- Nov 2005
- Location
- Daytona Beach
- Posts
- 10,124
- Rep Power
- 23
-
01-13-2007, 10:18 PM #17
Zingabura's idea sounds like a good one. Or you can also set the main action after the spalsh screen to a different button. For example, you can press x to start the game then you need to press triangle or circle to move the tic tac toe piece instead of just using x for everything. That way the program waits for a different button to be pushed instead of just x all the time. If you want post your source and we all can take a look at it.
Obey Beaker. That is all.
Spoiler:
-
01-13-2007, 11:03 PM #18
-Hacks Monk
- Join Date
- Oct 2006
- Location
- DAX Country
- Posts
- 2,806
- Rep Power
- 14
this is great! thanks psdonkey.. now got to brush up with my c++ programming.. :mrgreen:
-
01-14-2007, 01:22 AM #19
Senior Member -Hacks Titan
- Join Date
- Nov 2005
- Location
- Daytona Beach
- Posts
- 10,124
- Rep Power
- 23
i got it working straight. i couldnt get zingaburga's method to work because it turns out that the psp isnt just registering an absurd amount of X inputs; it treats X as though it's constantly being pushed until it gets a command to do something with another button. i used 'Donkey's way to get around it.
the program works now: printing out the board, Home button, so forth. the only real problem now is that once again; the psp takes inputs EXTREMELY FAST. i have the spaces numbered and the player picks the number of the space they wanna move into. i've got the number on screen going up or down if the player presses the UP or DOWN button on the D-Pad, but the numbers go by so fast it's hard to get. and when you press R trigger to enter your move, it registers it like 5 times. the first one puts your piece on the board, and the other 4 go toward telling the other player that the space the game thinks he just tried to move into is already taken.
aside from aesthetics and that speed thing (i MUST figure out a way to slow this thing down), the game works just fine. after this is done i'm gonna port my connect 4 game :)
thanks again, donkey
Download: http://files.filefront.com/tictactoe.../fileinfo.html
it's got my makefile, main.c and the 1.0 eboot. my source code is messy right now...gotta clean it up a bit
-
01-14-2007, 01:23 AM #20
You guys can start off small wth your learning homebrew for the PSP. That's the way how everyone learns. Start by making a simple text statement or Hello world that prints on your PSP. Check out the lessons on psp-programming.com and post here if you have any problems understanding or implementing anything. Once you get a basic idea on how to create and or modify existing homebrew, then you can read up on some of the psp libraries to see how much the PSP can do. The PSP as is can do a whole lot without adding any libraries at all.
Edit:
I just saw your post killaj. Nice job, I'll take a look into your game.Obey Beaker. That is all.
Spoiler:
Hey all Got hold of an old 1003 psp that wasn't turning on. Turns out the charge port needed replaced. While replacing the port i managed to pull the connector off the mobo. What are my options...
PSP 1003 Charge port mobo...