 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
methos3
Joined: 01 Feb 2008 Posts: 89
|
Posted: Mon Feb 01, 2010 10:26 am Post subject: Does the PSP have an OS running in background? |
|
|
It's not a specific PSP development specific question, but I believe Sony wouldn't respond that to me.
I've noticed that some games use some tools, like the on-screen keyboard, save data utility, wireless connection interface. There's also the "home" button, that calls the menu for quitting games.
So... does the PSP have an OS in background while the game is running? If not, where do those tools come from? We can call them from homebrews too? |
|
| Back to top |
|
 |
Criptych
Joined: 12 Sep 2009 Posts: 79
|
Posted: Mon Feb 01, 2010 12:52 pm Post subject: Re: Does the PSP have an OS running in background? |
|
|
| methos3 wrote: | It's not a specific PSP development specific question, but I believe Sony wouldn't respond that to me.
I've noticed that some games use some tools, like the on-screen keyboard, save data utility, wireless connection interface. There's also the "home" button, that calls the menu for quitting games.
So... does the PSP have an OS in background while the game is running? If not, where do those tools come from? We can call them from homebrews too? |
I don't know all the details, being fairly new myself (still hashing out user-mode crap in C, poor me :) but if by OS you mean the kernel, then yes, the basic I/O and interface systems, etc. are always "running" and available to programs. Unlike most OSs, though, the shell - in this case the XMB - is closed when you start a game, though I do believe its state is saved for when the game exits. _________________ PSP-2000 // CFW: 5.50 GEN-D2 ...and not upgrading until OFW supports homebrew!
(But I did downgrade to 1.50 with TimeMachine...)
"I want you to tell me how the machine makes you feel." |
|
| Back to top |
|
 |
SilverSpring
Joined: 27 Feb 2007 Posts: 115
|
Posted: Mon Feb 01, 2010 1:49 pm Post subject: |
|
|
All of those things you mentioned are called "Utilities" and yes they are part of the kernel. It was a way for Sony to provide extra functionality for game developers to use. It's also the reason why a huge 8MB of RAM is reserved for the kernel.
There are some samples in the PSPSDK to use these "utilities" for homebrew apps. Look at psputility_xxx.h headers for more information.
Also, the core of the kernel is always running (otherwise how else could the game run?), the thread manager, memory manager, I/O manager, device drivers, etc. _________________ PSP PRX LibDocs |
|
| Back to top |
|
 |
methos3
Joined: 01 Feb 2008 Posts: 89
|
Posted: Mon Feb 01, 2010 11:55 pm Post subject: |
|
|
Really? This is really great! And must pretty easy to program, no?
| SilverSpring wrote: | All of those things you mentioned are called "Utilities" and yes they are part of the kernel. It was a way for Sony to provide extra functionality for game developers to use. It's also the reason why a huge 8MB of RAM is reserved for the kernel.
There are some samples in the PSPSDK to use these "utilities" for homebrew apps. Look at psputility_xxx.h headers for more information.
Also, the core of the kernel is always running (otherwise how else could the game run?), the thread manager, memory manager, I/O manager, device drivers, etc. |
So... Do the PS2 have a kernel always running too? Isn't the game an OS on the PS2 and some other consoles?
8MB of RAM... And don't those utilities use a huge ammount of CPU too, so that they can be ready to use everytime? |
|
| Back to top |
|
 |
m0skit0
Joined: 02 Jun 2009 Posts: 226
|
Posted: Tue Feb 02, 2010 1:49 am Post subject: |
|
|
| methos3 wrote: | | Really? This is really great! And must pretty easy to program, no? |
Not too hard for simple stuff, but needs some practice. But keep in mind that PSPSDK is an independent SDK. Most likely Sony's SDK is even simpler to program with and have higher level functions.
| Criptych wrote: | | Unlike most OSs, though, the shell - in this case the XMB - is closed when you start a game, though I do believe its state is saved for when the game exits. |
You can think about XMB (VSH to be exact, XMB being the GUI) as another application. The PSP kernel resets to launch a game or launch VSH. So when the PSP starts, kernel launches VSH. When you start a game through VSH, kernel restarts, and loads the game instead of VSH. When you quit the game, the kernel is again restarted and this time loads VSH. Keep in mind that PSP has only 24 MB (+ 32 on 2000/3000/Go models) of user mode memory, so you can't have VSH and a game at the same time on main memory. _________________
| The Incredible Bill Gates wrote: | | The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers. |
|
|
| Back to top |
|
 |
Criptych
Joined: 12 Sep 2009 Posts: 79
|
Posted: Tue Feb 02, 2010 7:11 am Post subject: |
|
|
| m0skit0 wrote: | | Keep in mind that PSP has only 24 MB (+ 32 on 2000/3000/Go models) of user mode memory, so you can't have VSH and a game at the same time on main memory. |
I would love to see (or write... someday) a mod that lets you do that, though - kind of like irShell's multitasking, but instead of multiple apps, bring up VSH in place of the "Do you want to quit the game?" dialog when you hit Home. (If I'm not mistaken, I think the PS2 does.) Maybe have the XMB show up over the in-game screen, like it does with the web browser. Any thoughts on whether that's even possible? The 2000+ has enough memory, but certainly there are other things to be concerned about, too. _________________ PSP-2000 // CFW: 5.50 GEN-D2 ...and not upgrading until OFW supports homebrew!
(But I did downgrade to 1.50 with TimeMachine...)
"I want you to tell me how the machine makes you feel." |
|
| Back to top |
|
 |
methos3
Joined: 01 Feb 2008 Posts: 89
|
Posted: Wed Feb 03, 2010 12:05 am Post subject: |
|
|
| Criptych wrote: | | m0skit0 wrote: | | Keep in mind that PSP has only 24 MB (+ 32 on 2000/3000/Go models) of user mode memory, so you can't have VSH and a game at the same time on main memory. |
I would love to see (or write... someday) a mod that lets you do that, though - kind of like irShell's multitasking, but instead of multiple apps, bring up VSH in place of the "Do you want to quit the game?" dialog when you hit Home. (If I'm not mistaken, I think the PS2 does.) Maybe have the XMB show up over the in-game screen, like it does with the web browser. Any thoughts on whether that's even possible? The 2000+ has enough memory, but certainly there are other things to be concerned about, too. |
Well, I don't think it's possible without affecting the games performance.
Didn't you mean the PS3? Because I believe the PS2 doesn't have even a kernel running in betoween the games and hardware. On the PS2, the game is the operating system (I believe so).
Maybe the PS3 can open the XMB while running a game because it's powerful enough (CPU and memory).
But I would love to see the XMB during a game on the PSP, of course :/ |
|
| Back to top |
|
 |
Criptych
Joined: 12 Sep 2009 Posts: 79
|
Posted: Fri Feb 05, 2010 2:35 am Post subject: |
|
|
Sorry, yes, I meant PS3 (though I'd be surprised if the PS2 didn't have something in the background, even the GBA has BIOS utility functions). I don't think it would affect performance much, since it would only be active when Home is pressed, and ideally it would suspend the game when it comes up, so that the game won't slow down the XMB either. This is all assuming it's possible in the first place, mind you. :) _________________ PSP-2000 // CFW: 5.50 GEN-D2 ...and not upgrading until OFW supports homebrew!
(But I did downgrade to 1.50 with TimeMachine...)
"I want you to tell me how the machine makes you feel." |
|
| Back to top |
|
 |
crazyc
Joined: 17 Jun 2005 Posts: 410
|
Posted: Fri Feb 05, 2010 4:53 am Post subject: |
|
|
| methos3 wrote: | | So... Do the PS2 have a kernel always running too? Isn't the game an OS on the PS2 and some other consoles? | The PS2 (and the wii interestingly) has no OS on the main CPU but has an modular embedded OS with a bundle of device drivers running on a secondary CPU. The IOP also doubles as the PS1 CPU. |
|
| Back to top |
|
 |
methos3
Joined: 01 Feb 2008 Posts: 89
|
Posted: Sat Feb 06, 2010 9:29 pm Post subject: |
|
|
| crazyc wrote: | | methos3 wrote: | | So... Do the PS2 have a kernel always running too? Isn't the game an OS on the PS2 and some other consoles? | The PS2 (and the wii interestingly) has no OS on the main CPU but has an modular embedded OS with a bundle of device drivers running on a secondary CPU. The IOP also doubles as the PS1 CPU. |
Hmm. So does wii have a secondary CPU too?
Yes, I know about PS2's IOP. It runs the I/O modules (irx, that are executable files too).
I believe most consoles don't have an OS running, just like: DS, PSOne, Nintendo DS, etc. Or am I wrong? |
|
| Back to top |
|
 |
anisebal
Joined: 27 Feb 2010 Posts: 2 Location: london
|
Posted: Sat Feb 27, 2010 2:03 pm Post subject: Re: Does the PSP have an OS running in background? |
|
|
Hello everyone,
If you want to know all things about the PS2 and want to learn something to make coding then please see the playstation2-linux site.
Here you can see the main thing that if you are beginner then this will definitely help you to understand that
"PS2 has an OS or NOT"
If you have any doubt then this site also gives you the solution regarding that. _________________ acekard 2 |
|
| Back to top |
|
 |
m0skit0
Joined: 02 Jun 2009 Posts: 226
|
Posted: Sun Feb 28, 2010 12:03 am Post subject: |
|
|
This what I call SPAM, plain and simple. _________________
| The Incredible Bill Gates wrote: | | The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers. |
|
|
| Back to top |
|
 |
Blade
Joined: 18 Feb 2010 Posts: 26 Location: Lancaster P.A.- U.S.A.
|
Posted: Sun Feb 28, 2010 1:31 pm Post subject: |
|
|
| SPAM!!!! i dislike it........ i would come to believe all modern consoles such as NDS, PSP, PS2 etc. would have an OS... just like windows, they have some sort of multimedia or application access interface, for example: the PSP and PS3 has the XMB, which is used to access system settings, apps, and multimedia... no? |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
Posted: Sun Feb 28, 2010 11:38 pm Post subject: |
|
|
| Blade wrote: | | SPAM!!!! i dislike it........ i would come to believe all modern consoles such as NDS, PSP, PS2 etc. would have an OS... just like windows, they have some sort of multimedia or application access interface, for example: the PSP and PS3 has the XMB, which is used to access system settings, apps, and multimedia... no? |
XMB != OS on PSP/PS3
It's basically just a GUI multifunctional utility application and game/app loader interface. The real OS is the kernel that runs in the background, responsible for launching the apps, accessing the hardware, etc. _________________ <Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl |
|
| Back to top |
|
 |
m0skit0
Joined: 02 Jun 2009 Posts: 226
|
Posted: Mon Mar 01, 2010 1:27 am Post subject: |
|
|
I just hope it's not like Windows xDDD _________________
| The Incredible Bill Gates wrote: | | The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers. |
|
|
| Back to top |
|
 |
|
|
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
|