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 

PS3 Asm Development

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



Joined: 27 Apr 2008
Posts: 3

PostPosted: Sun Oct 19, 2008 3:20 am    Post subject: PS3 Asm Development Reply with quote

Hi guys,

I'm new to PPCs in general and fully expect to have to read the lovely nice and big power architecture guide.

However, after this stage I'm a bit unsure how to go about ps3 development. I wish to:

A. Compile ASM code to run on the ps3 without a prior OS (ie no linux)
B. Boot to my own code via otheros.bld
C. Access the hypervisor via my ASM code

I expect C will come naturally by that stage however could somebody point me in the correct direction for A and B? Also is the system simulator useful to use in debugging ASM?

Another question is can you use the cell SDK and handle the code in ASM/C/C++ without out it needing a linux os to run. I have had experience with embeded C on 8-bit atmel chips so would like to know what the ps3's CELL has to offer in this area.

Many thanks for any help.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun Oct 19, 2008 4:58 am    Post subject: Reply with quote

A - Look at the otheros demo. Specifically the start.S file.
B - Look at the otheros demo. Make a stand-alone program like it, but make a loader instead of a demo.
C - Look at the otheros demo. Specifically the hv.S file. It calls the hypervisor. Look at the hypervisor wiki page.

You can use the VMX extension in the PPE via compiler intrinsics, or via assembly. The SPEs have a considerable amount of overhead that needs to be handled. You'd probably need a lib to make use of them when not in linux.
Back to top
View user's profile Send private message AIM Address
ps2devman



Joined: 09 Oct 2006
Posts: 265

PostPosted: Sun Oct 19, 2008 5:01 pm    Post subject: Reply with quote

Don't forget Marcus (Mc) went one step forward from his otheros demo.
He called it mcload 1.0 (a loader!)

http://forums.ps2dev.org/viewtopic.php?t=8627

http://mc.pp.se/ps3/mcload_1.0.zip
http://mc.pp.se/ps3/mcload.xhtml
(save locally and rename .xhtml into .html so you can read the description, if you have trouble with .xhtml)
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Oct 20, 2008 5:41 am    Post subject: Reply with quote

Nifty! Hadn't gotten that far back in the old threads yet. :)
Back to top
View user's profile Send private message AIM Address
Scribe



Joined: 27 Apr 2008
Posts: 3

PostPosted: Mon Oct 20, 2008 9:54 pm    Post subject: Reply with quote

Thanks a lot guys, I'll look into this.
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 -> PS3 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