After confirming exit in the menu(home button associated), usually PSP takes several seconds to exit to the XMB system. During this period, the memory stick access lamp keeps flickering.
What does the PSP do to access the memory stick? The homebrew code saves config data to ms? In most case the config remains unchanged, but it still happens in all homebrew program.
When the homebrew process finishes, the kernel takes back memory and loads the XMB system. But the XMB data should be loaded from internal flash, not ms.
Then what does the PSP do to access the ms?
I've not written code for PSP, so my question may be naive.
What does PSP do when exiting a program?
It probably just reads the MS again to see what icons to display & re-loads icons to be able to display them or take a "free space" reading for future reference, capacity etc.
It probably does this first, before the UMD, regardless of needing to or not because there always needs to be a MS, but may or may not have a UMD.
It probably does this first, before the UMD, regardless of needing to or not because there always needs to be a MS, but may or may not have a UMD.