VSH: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(display buffer)
No edit summary
Line 26: Line 26:
VSH uses 2 of 8 available display buffers. Information about them can be aquired by vsh plugins using this code snippet: [[http://pastie.org/8538009]]<br>
VSH uses 2 of 8 available display buffers. Information about them can be aquired by vsh plugins using this code snippet: [[http://pastie.org/8538009]]<br>
In FW 4.46 DEX the buffer info looks like this (for 1920x1080):
In FW 4.46 DEX the buffer info looks like this (for 1920x1080):
{{Keyboard|content=<syntaxhighlight lang="bash">GCMBUFINFO 0
{{Keyboard|content=<syntaxhighlight lang="bash">
GCMBUFINFO 0
GCMBUFINFO 0
offset: 0xdc80000
offset: 0xdc80000

Revision as of 22:39, 8 December 2013

VSH is the internal name used by Sony for the VShell aka VirtualShell. It then loads up the XMB you know.XrossMediaBar (XMB). This, is a user space executable (vsh.self), loaded by lv2_kernel/sys_init_osd.

from here several other functions/syscalls to other modules are made, e.g. lv2 (SELF decryption), lv1 (Secure_RTC, Storage_Manager, Gelic_Device, BD_Drive) etc.

not much is documented (yet) about this module. Please fill in where possible.

Modes

possible arguments to pass when executing vsh.self:

  • --mode=gametool
  • --mode=gametool2
  • --arcade=true

Offsets

Function 3.55 3.41 3.15 Notes
- - - - -
sub_308EE4 check_Is_Act_Dat_for_This_Acc_ID

To help documenting offsets, you can use this dumper tool for vsh.

Display Buffers

VSH uses 2 of 8 available display buffers. Information about them can be aquired by vsh plugins using this code snippet: [[1]]
In FW 4.46 DEX the buffer info looks like this (for 1920x1080):

Type This
GCMBUFINFO 0
offset: 0xdc80000
pitch: 0x2000
width: 0x780
height: 0x438

GCMBUFINFO 1
offset: 0xe500000
pitch: 0x2000
width: 0x780
height: 0x438