SceDisplay: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
Line 219: Line 219:
<source lang="C" inline>head</source>: Use 0 for OLED/LCD and 1 for HDMI
<source lang="C" inline>head</source>: Use 0 for OLED/LCD and 1 for HDMI


<source lang="C" inline>index</source>: Use 1 for game/apps and 1 for LiveArea (including HOME and PS overlays)
<source lang="C" inline>index</source>: Use 0 for game/apps and 1 for LiveArea (including HOME and PS overlays)


=== sceDisplayWaitSetFrameBufMulti ===
=== sceDisplayWaitSetFrameBufMulti ===

Revision as of 18:27, 28 November 2017

This module handles management of the framebuffers. It uses various display drivers (OLED, HDMI, LCD) as well as drivers to control DMA and other low level details. Embedded in this module is also the boot logo (the PS logo seen on boot) which is gzipped. On module_start, after setting up the drivers, it gunzips the logo into the SceCamera SRAM (which is unused at this time since camera is not enabled yet). Then it sets the framebuffer to the camera SRAM and turns the brightness up in incremental levels.

Module

Known NIDs

Version Name World Privilege NID
1.69 SceDisplay Non-secure Kernel 0xA7D4F77A

Libraries

Known NIDs

Version Name World Visibility NID
1.69 SceDisplayForDriver Non-secure Kernel 0x9FED47AC
1.69 SceDisplay Non-secure User 0x5ED8F994

SceDisplayForDriver

sceDisplaySetFrameBufInternalForDriver

Version NID
3.60 0x16466675
int sceDisplaySetFrameBufInternalForDriver(const SceDisplayFrameBuf *pParam, int sync)

sceDisplaySetInvertColorsForDriver

Version NID
3.60 0x19140ACD

sceDisplayGetFrameBufInternalForDriver

Version NID
3.60 0x19F94C63
int sceDisplayGetFrameBufInternalForDriver(SceDisplayFrameBuf *pParam, int sync)

sceDisplaySetFrameBufForDriver

Version NID
3.60 0x289D82FE
int sceDisplaySetFrameBufForDriver(const SceDisplayFrameBuf *pParam, int sync)

sceDisplayGetActualViewportConfForDriver

Version NID
3.60 0x40ACFE51

sceDisplayWaitVblankStartMultiForDriver

Version NID
3.60 0x40F1469C

sceDisplayWaitVblankStartCBForDriver

Version NID
3.60 0x46F186C3

sceDisplayRegisterVblankStartCallbackToDisplayForDriver

Version NID
3.60 0x4AE2A2B1

sceDisplayGetFrameBufDimensionsForDriver

Version NID
3.60 0x5AFE6CD3
int sceDisplayGetFrameBufDimensionsForDriver(int *width, int *height)

sceDisplayWaitVblankStartMultiCBForDriver

Version NID
3.60 0x77ED8B3A

sceDisplayRegisterVblankStartCallbackForDriver

Version NID
3.60 0x7FB0BD28

sceDisplaySetDisplayColorSpaceModeForDriver

Version NID
3.60 0x8D79D187

sceDisplayWaitVblankStartForDriver

Version NID
3.60 0x984C27E7

sceDisplayUnregisterVblankStartCallbackForDriver

Version NID
3.60 0xB027433E

sceDisplayGetResolutionInfoInternalForDriver

Version NID
3.60 0xB3C6D647

sceDisplaySetViewportConfForDriver

Version NID
3.60 0xEE5EB52D

sceDisplayGetFrameBufForDriver

Version NID
3.60 0xEEDA2E54
int sceDisplayGetFrameBufForDriver(SceDisplayFrameBuf *pParam, int sync)

SceDisplay

sceDisplayWaitVblankStartMultiCB

Version NID
1.69 0x5F27764

sceDisplayWaitSetFrameBufMultiCB

Version NID
1.69 0x3E796EF5

sceDisplayWaitVblankStart

Version NID
1.69 0x5795E898

sceDisplayRegisterVblankStartCallback

Version NID
1.69 0x6BDF4C4D

sceDisplayWaitVblankStartCB

Version NID
1.69 0x78B41B92

_sceDisplaySetFrameBufInternal

Version NID
1.69 0x7A8CB78E
int ksceDisplaySetFrameBufInternal(unsigned int head, unsigned int index, const SceDisplayFrameBuf *pParam, int sync)

head: Use 0 for OLED/LCD and 1 for HDMI

index: Use 0 for game/apps and 1 for LiveArea (including HOME and PS overlays)

sceDisplayWaitSetFrameBufMulti

Version NID
1.69 0x7D9864A8

sceDisplayWaitSetFrameBufCB

Version NID
1.69 0x814C90AF

_sceDisplayGetFrameBufInternal

Version NID
1.69 0x86A8E436

sceDisplayWaitSetFrameBuf

Version NID
1.69 0x9423560C

sceDisplayGetVcountInternal

Version NID
1.69 0x9686859E

sceDisplayUnregisterVblankStartCallback

Version NID
1.69 0x98436A80

sceDisplayGetRefreshRate

Version NID
1.69 0xA08CA60D

_sceDisplayGetFrameBuf

Version NID
1.69 0xA753B0CA
int _sceDisplayGetFrameBuf(SceDisplayFrameBuf *pParam, int sync, SceSize *size);

sceDisplayGetVcount

Version NID
1.69 0xB6FDE0BA

sceDisplayWaitVblankStartMulti

Version NID
1.69 0xDD0A13B8

_sceDisplaySetFrameBuf

Version NID
1.69 0xF51523CB
int _sceDisplaySetFrameBuf(const SceDisplayFrameBuf *pParam, int sync, SceSize *size);