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 

The Maximum Size for an .ELF file ?

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



Joined: 22 Nov 2004
Posts: 16

PostPosted: Mon Dec 06, 2004 9:48 am    Post subject: The Maximum Size for an .ELF file ? Reply with quote

Just wondering what is the maximum size an .ELF file can be?


P.S - I finally got the dev kit setup, i used the method from the Win32 compiler, it was extremely easier then the toolchain.sh, i just downloaded the files and set the PS2GC variable and i was done - took only about 30 minutes, thank you everyone who i have frustrated to help me out... Also i know that this works cause the tutorials from PS2Dev.org compile without any problems.. Oh yeah i'm asking this question because my demos are going to have a numerous amount of graphics in them. hope to finish my first ps2 demo - called "Engel".. hopefully i'll get enough time to finish it. as well before i forget does scr_print() print directly on the PS2's screen?

- AngelSephiroth
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Dec 06, 2004 10:07 am    Post subject: Reply with quote

Maximum EE memory is 32MB. The first 1MB of EE memory I think should normally be reserved for the Kernel, but you can replace that if you really really want to. At the other end is probably heap allocated memory space and the stack. Suffice to say, the maximum ELF size is going to be a bit less than 32MB, depending on how much stack and heap you use. :)
Back to top
mharris



Joined: 25 Jan 2004
Posts: 155
Location: Annapolis, MD, USA

PostPosted: Wed Dec 08, 2004 5:14 am    Post subject: Re: The Maximum Size for an .ELF file ? Reply with quote

AngelSephiroth wrote:
does scr_print() print directly on the PS2's screen?
Yes, but you'll need to include the debug lib to use it. Change your Makefile to include
Code:
EE_LIBS=-ldebug
plus whatever other libs you need.
Back to top
View user's profile Send private message AIM Address
AngelSephiroth



Joined: 22 Nov 2004
Posts: 16

PostPosted: Thu Dec 09, 2004 6:44 am    Post subject: Reply with quote

Thanks alot for the information......be sure to look out for my new demo called "Engel" coming soon...


- AngelSephiroth
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Dec 09, 2004 10:08 am    Post subject: Reply with quote

Will it be followed up by "Marx" ?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 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