sbios

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
jayteemaster
Posts: 5
Joined: Tue Apr 06, 2004 12:22 am

sbios

Post by jayteemaster »

Anyone has any info on sbios (Playstation 2 SIF bios) ?
Where it is located ?
How to access the sbios functions?
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

All of your questions can be answered within the source of the PS2/Linux kernel. Check include/asm-mips/ps2/sbcall.h and everything in arch/mips/ps2/sbios/. In drivers/ps2/ you'll find many examples of accessing the SBIOS. If you need a non-Linux way to access it, let me know and I'll try to get some stuff out there.
jayteemaster
Posts: 5
Joined: Tue Apr 06, 2004 12:22 am

Post by jayteemaster »

Thanks.

I was trying to use one sbios call (ps2_setdve...) in a non linux environment. Unfortunely there is no source code for the sbios neither the CVS TGE project has that particular function reversed engineered.
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

setdve is handled by the SetGsCrt() syscall, there is no need to call it directly natively. If you need this to run under the SBIOS (not native) then I have some source code I can get to you (it does a rough equivalent of SetGsCrt()). Or, just look for setdve in the Linux kernel source.
Post Reply