PDN Services

From 3dbrew
Jump to: navigation, search


PDN PTM Service "pdn:s"[edit]

Command Header Description
0x00010000 This loads CFG11_PTM_0 and CFG11_PTM_1, then writes them to cmdreplyword[2] and cmdreplyword[3].
0x00020080 CFG11_PTM_1 = cmdword[2] & cmdword[1]. This then writes cmdword[1] to CFG11_PTM_0. CFG11_PTM_1 = cmdword[2] & ~cmdword[1].
0x00030040 This writes cmdword[1] to CFG11_PTM_1.

PDN DSP Service "pdn:d"[edit]

Command Header Description
0x000100C0 (u8 unk0, u8 unk1, u8 unk2) ?controls power to the DSP <just a guess>?

PDN CODEC Service "pdn:i"[edit]

Command Header Description
0x00010040 This sets bit0 in CFG11_CODEC_CNT to u8 cmd+4.
0x00020040 This sets bit1 in CFG11_CODEC_CNT to u8 cmd+4.

PDN GSP service "pdn:g"[edit]

Command Header Description
0x000100C0 (u8 value, u32 unk1, u16 unk2) ?controls power to the GPU <just a guess>?

PDN Camera Service "pdn:c"[edit]

Command Header Description
0x00010040 This sets bit0 in CFG11_CAMERA_CNT to u8 cmd+4.
0x000200000 This writes CFG11_CAMERA_CNT & 1 to u8 cmdreply+8.