forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is Ceres the largest asteroid that has been confirmed?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
edepot



Joined: 09 Apr 2005
Posts: 111

PostPosted: Sat Jul 02, 2005 12:11 am    Post subject: Is Ceres the largest asteroid that has been confirmed? Reply with quote

Ceres version 1.0 - homebrew for PSP.
"Asteroids" on steroids.

http://www.edepot.com/game.html




Used very buggy GCC 4.0 compiler. "double" (basically not supported) and "c++" (gxx_personality bug) does not compile correctly. float works but gets complaints about using odd registers. $pc and othe variables doesn't compile in startup.s file without manually editing.

The compiler has problems passing static strings in function calls. Perhaps using memory not allocated correctly.


//////////////

void functionname(const char *str) {
pgPrint(xxx..., str);
// str sometimes gets garbled characters near the end.

}

void xmain() {

functionname("static string:");
}
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Sat Jul 02, 2005 5:18 am    Post subject: Reply with quote

Don't claim the compiler is buggy if you don't know how to use it, or aren't even using the latest. There's been many posts in the last few weeks about some of the things you claim are buggy, you should search for them.

edepot wrote:
"double" (basically not supported)


Wrong. Double emulation is fully supported. But since doubles aren't supported in PSP hardware, why would you want to use them?

edepot wrote:
"c++" (gxx_personality bug) does not compile correctly


Turn off exceptions if you aren't using them. If you are using them, you need to use psp-gcc to link and not psp-ld (you should already be doing this). This has repeatedly come up on the boards.

edepot wrote:
float works but gets complaints about using odd registers.


You either haven't updated your toolchain or you're passing -march=4000 on the command line.

edepot wrote:
$pc and othe variables doesn't compile in startup.s file without manually editing.


*Sigh*. If I had a nickel everytime this came up. Anyway, this is fixed by switching to PSPSDK. This has also been discussed at length on the boards.

edepot wrote:
The compiler has problems passing static strings in function calls.


Never heard of this before, so you'd have to be more specific.

The shining example for proper PSP GCC use is PSPSDK. So you should start there first.
Back to top
View user's profile Send private message
F9zDark



Joined: 02 Apr 2005
Posts: 127

PostPosted: Sat Jul 02, 2005 2:05 pm    Post subject: Reply with quote

So with all of these 'bugs' you seem to be referring, does this mean that this game is buggy as well? I'd certainly like to know before I download this to my PSP and watch it get bricked.
Back to top
View user's profile Send private message AIM Address
edepot



Joined: 09 Apr 2005
Posts: 111

PostPosted: Sun Jul 03, 2005 5:36 am    Post subject: support questions Reply with quote

Do you have to be so disrespectful? Can't you see gorim already indicated that he doesn't like buggy software.
Back to top
View user's profile Send private message
F9zDark



Joined: 02 Apr 2005
Posts: 127

PostPosted: Sun Jul 03, 2005 4:47 pm    Post subject: Reply with quote

Unless I am missing something, I will take it you mean mrbrown or Mr Closer as he was titled by the whole country of Spain ;).

And I am not being disrespectful(not intentionally anyway). I am asking an honest question. You give us a link to your PSP homebrew saying "Asteroids on steroids"(which sounds like a hella cool game if you ask me) then you go on to report all of these bugs you have with compiling.

It just made me wonder if said software is thus buggy from those problems you were having or if they are just random issues you wish to bring up in a thread you started about PSP homebrew.

Just made me curious thats all. If it is buggy, I will simply wait until a later, more stable release comes out.
Back to top
View user's profile Send private message AIM Address
edepot



Joined: 09 Apr 2005
Posts: 111

PostPosted: Wed Jul 06, 2005 2:54 am    Post subject: ceres homebrew asteroids game for sony psp Reply with quote

do you think mrbrown was disrespectful to the whole country of
spain? anyways I think you are getting off-topic. for the static string
error, I got around it by passing global variables instead of static
initialization within the fuction call. I haven't downloaded the new pspsdk
yet, but I will try it soon. will it brick my computer? ;)

as for the program I think it runs fine. but I haven't been able to
get past level 16 to test it further.

EDIT:
Do you think it is a cool game? I see you don't visit forums on big sites so don't know your opinion yet.
Back to top
View user's profile Send private message
F9zDark



Joined: 02 Apr 2005
Posts: 127

PostPosted: Wed Jul 06, 2005 3:22 pm    Post subject: Re: ceres homebrew asteroids game for sony psp Reply with quote

Now that I know it runs fine, I will give it a shot. Be back to tell you what I think.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group