/dev/bsp/DISPLAY

From WiiUBrew
< /dev | bsp
Jump to navigation Jump to search

/bsp/DISPLAY provides a minimalist interface for the display controller. It is only utilised by the MCP recovery menu.

Attributes

DC_INIT

Permissions: BSP_PERMISSIONS_IOS_SUPV_WRITE

Method Data Size Values Description
Write 0x4 0, 1 Initialises one of two available display controllers depending on the input value.

DC_CONFIG

Permissions: BSP_PERMISSIONS_IOS_SUPV_READ

Method Data Size Description
Read 0x14 Gets the current DC_CONFIG parameters.

Below is the returned data.

typedef struct {
   uint32_t id; // controller ID
   uint32_t unk;
   uint32_t width;
   uint32_t height;
   void* framebuffer;
} DC_CONFIG;

DC_SYNC

Permissions: BSP_PERMISSIONS_IOS_SUPV_WRITE

Method Data Size Description
Write 0x0 Not implemented. Always returns 0.