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 

why no seperate dirs for EE and IOP sample code?

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



Joined: 07 Feb 2005
Posts: 25

PostPosted: Thu Apr 28, 2005 8:00 pm    Post subject: why no seperate dirs for EE and IOP sample code? Reply with quote

as the topic says, where aren't there seperate dirs for the IOP and EE code samples?

(i realise that there are currently no IOP samples, but surely we could have an empty IOP dir for now?)

i thinki having seperate dirs would make it handy to easily see examples of coding for each processor.

ill make up a little IOP sample if needed to start off the IOP sample dir.

also is the "$(PS2SDK)/samples/Makefile.pref" file needed? its just got the same defines as "$(PS2SDK)/Defs.make". surely we could just use that file and save duplicating such things. it would also make sure that the recent changes to Defs.make (and any future changes) could be made use of by sample code makefiles.
Back to top
View user's profile Send private message Visit poster's website
loser



Joined: 07 Feb 2005
Posts: 25

PostPosted: Thu Apr 28, 2005 8:02 pm    Post subject: Reply with quote

oh and wtf is the "ports" dir for?
ports from other systems?!
is it needed?
Back to top
View user's profile Send private message Visit poster's website
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Thu Apr 28, 2005 8:39 pm    Post subject: Reply with quote

I actually have started a "skeleton" directory, to store some very very basic examples, that people could copy directly to create softwares for EE and IOP. (I should have called that "templates", but, well)

But for the normal samples dir, yes, one should move that a bit to have a "ee" and "iop" samples, I agree.


And actually, some people rely on that code inside their makefiles:

include $(PS2SDK)/samples/Makefile.pref
include $(PS2SDK)/samples/Makefile.eeglobal

whereas some others put:

include $(PS2SDK)/Defs.make

Removing either of them would break some other softwares. If you prefer, replace samples/Makefile.pref with a simple include $(PS2SDK)/Defs.make
but don't remove it otherewise some softwares won't compile anymore.
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
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