daniel_was_here is such a loser haha get on irc k?
While waiting for a response we can test around til' we get it if you like
Printable View
daniel_was_here is such a loser haha get on irc k?
While waiting for a response we can test around til' we get it if you like
I believe there's a library called VSHBlit that does that for you. Made by PSPJunkie I think.Zitat:
Zitat von xdwhx
Yeah, it is small enough to inline so I would if I remember to.Zitat:
Zitat von SG57
:)
Alright thanks yaustar. (I dunno if you can release any info or not, but at your job - does it require you to optimize completely? so much so you have to inline? I'm just curious, I dunno if it violates a contract or something that you've signed so :()
lol.Zitat:
Zitat von SG57
Not really. Since I work at a high level area, micro optimisations such as inlining code will barely make a dent in the CPU usage compared to the rest of the system.Zitat:
Zitat von SG57
I inline where I can for things like getters and setters but I don't give it much priority with anything else. I do have to be careful and aware with my algorithms though especially anything with large loops.
Also optimisations don't stop with performance, data usage is also an issue in games.
I had a problem with PSPTOOLCHAIN,
I decided to install it now and to use Ubuntu 7.10 instead of Cygwin.
I got this error while running ./toolchain.sh
http://playstationportablestuff.goog...AIN_ERROR1.png
I was following a guide from http://www.guztech.nl/tutorials/38-p...e-psptoolchain
Eh, it just couldn't resolve the hostname. Judging by where it was when it failed, you should have everything installed already except for PSPLink.
As Arch said, that's a common problem that isn't a problem ;)
If you intend to use PSPLink, you can install it via typing
in the PSPlink folder in psptoolchain (build/ i think).Code:make && make release
If not don't worry about it too much.
Or you can just run "./toolchain.sh 9" :p
can psplink work on 3.90 m33?
Well, it works on 3.80 M33, and they didn't really change much between 3.80 and 3.90, so probably yes.
Just a quick thread, whats the name of the main thread used in games. The one that exports the int Main() function? thanks
Not sure what you mean by "exports the main() function", only module_start() is exported by the game not the main() function itself.Zitat:
Zitat von Xsjado7
But I think what you're looking for is "user_main", the name of the main thread. It's the same on all games (well it should be anyway), it's set from the Sony SDK's crt.
lol i was in a rush and the word export came to mind for some reason. What i meant is which thread starts/runs the main() function. thanks for answering that :D
Yea I figured as much, especially the part when you wrote "Just a quick thread". I presume you mean "Just a quick question" :p.Zitat:
Zitat von Xsjado7
This should be an easy one...
How do I update my toolchain?
Assuming your toolchain isn't that much outdated(~1year) i.e. uses the new style toolchain
use
sh ./toolchain 6
6 updates the pspsdk
in case your really want to just update your toolchain go into that directory and type svn co if you got it straight from the svn server
./toolchain.sh
But if you dont want to update everything then pick what you want to update and add the number from this list,
001-binutils-2.16.1.sh
002-gcc-4.1.0-stage1.sh
003-pspsdk-stage1.sh
004-newlib-1.15.0.sh
005-gcc-4.1.0-stage2.sh
006-pspsdk-stage2.sh
007-gdb-6.4.sh
008-insight-6.4.sh
009-psplinkusb.sh
So you end up typing something like this...
./toolchain.sh 6
when I type ./toolchain.sh 6, I get
ERROR: Set $PSPDEV before continuing.
../depends/check-pspdev.sh: Failed.
I guess my toolchain is really old?
Should I go straight for updating everything?
Just out of curiosity, what's the mtime on you copy of psp-gcc?
(ls -l `which psp-gcc` should tell you (make sure to include the backticks))
I did a clean install from scratch the last time I updated including cygwin,
The time before that when I tried to update just parts of it I kept having errors so It saved me time in the long run,
Or you could try to set $PSPDEV
358420 Aug 1 2007Zitat:
Zitat von Archaemic
So... what should I do about this PSPDEV? What should I set it to?
Start cygwin and type...
echo "export PSPDEV=/usr/local/pspdev" >> ~/.bashrc
echo "export PATH=\$PATH:\$PSPDEV/bin" >> ~/.bashrc
Then close and restart cygwin,
Then try to do the update again,
thanks! It worked :)Zitat:
Zitat von hibbyware
How would I have a game pause for 8 seconds?
I mean to have a picture on the screen for a few seconds while the music is still going.
You just keep requesting code ...
So?
What am I supposed to say?
"I'm too dumb because those psp-programming tutorials aren't very good."
I've only requested code 3 times.
Go and learn C with some books or something..Zitat:
Zitat von DJKPSP
very quick to place blame aren't you ?Zitat:
Zitat von DJKPSP
That's two times too many.