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 

How to execute rom0:OSDSYS

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



Joined: 27 Jan 2004
Posts: 25

PostPosted: Mon Jul 12, 2004 2:38 am    Post subject: How to execute rom0:OSDSYS Reply with quote

I need help.

How can i execute rom0:OSDSYS BootBrowser ??

I need to turn in browser from my prog, how i can?

i have try sample "loadelf" in ps2lib but it freeze

any idea?

tnx

sincro
Back to top
View user's profile Send private message
mr bob



Joined: 26 Jan 2004
Posts: 15

PostPosted: Mon Jul 12, 2004 6:51 am    Post subject: Reply with quote

syscall 0x04 should return you to the ps2 browser, if thats what you want.

void ReturnToBrowser()
{
__asm__ __volatile__("

li $3, 0x04;
syscall;
nop;");
}

should take care of it

correct me if i'm wrong.. someone
Back to top
View user's profile Send private message
mr bob



Joined: 26 Jan 2004
Posts: 15

PostPosted: Mon Jul 12, 2004 7:04 am    Post subject: Reply with quote

note, i just tried it using the same method as the loadelf example in ps2lib. it works perfectly fine. it takes at least ten seconds for it to boot to my browser. but that could be because of the sony hdd, or the ps1 disc in the drive or something.

it takes a while with both methods.

also, make sure your start address isn't the problem.

Loaded, rom0:OSDSYS
start address 0x100008
gp address 00000000

as you can see it loads to (i beleive) the default address for what you compile. if you use 0x200008 (like the loadelf example), it works just fine.
Back to top
View user's profile Send private message
sincro



Joined: 27 Jan 2004
Posts: 25

PostPosted: Mon Jul 12, 2004 10:33 am    Post subject: Reply with quote

Thanks mr bob for replay

i've try but not work :(

my prog is based on ps2 menu 2.6. Why don't work?

i load my elf file from ps2link and dev1 but wen call rom0:OSDSYS BootBrowser or syscall 0X04 program freeze.

i set my start addres to 0x200008 but freez :(

i've also try to poweroff hdd before call but always freeze

any suggetsion?

thanks

sincro
Back to top
View user's profile Send private message
mr bob



Joined: 26 Jan 2004
Posts: 15

PostPosted: Mon Jul 12, 2004 6:01 pm    Post subject: Reply with quote

you sure you're waiting long enough? it takes a while for the browser to load.
Back to top
View user's profile Send private message
sincro



Joined: 27 Jan 2004
Posts: 25

PostPosted: Mon Jul 12, 2004 7:23 pm    Post subject: Reply with quote

mr bob wrote:
you sure you're waiting long enough? it takes a while for the browser to load.


Yes, i'm wait long time :(

in other post i see example of pkoLoadElf and pkoExecEE from ps2link

i will try this...do you think it's work with this?

sincro
Back to top
View user's profile Send private message
superufo



Joined: 21 Jan 2004
Posts: 9
Location: Canada

PostPosted: Mon Jul 12, 2004 7:34 pm    Post subject: Reply with quote

it is quite easy for me, just return to main and will back to browser.
Back to top
View user's profile Send private message
sincro



Joined: 27 Jan 2004
Posts: 25

PostPosted: Tue Jul 13, 2004 12:23 am    Post subject: Reply with quote

superufo wrote:
it is quite easy for me, just return to main and will back to browser.


yes but if you boot from dev1 it' work?
Back to top
View user's profile Send private message
superufo



Joined: 21 Jan 2004
Posts: 9
Location: Canada

PostPosted: Tue Jul 13, 2004 12:39 am    Post subject: Reply with quote

I try with naplink and cdrom, all same result, back to browser.
Back to top
View user's profile Send private message
sincro



Joined: 27 Jan 2004
Posts: 25

PostPosted: Tue Jul 13, 2004 1:53 am    Post subject: Reply with quote

ok, i will try.


tnx superufo

sincro
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