GSPGPU:WriteHWRegsWithMask

Revision as of 15:48, 15 December 2024 by Kynex7510 (talk | contribs) (Fix formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RequestEdit

Request Word Description
0
Header 0x00020084 Cmd 0x0002 Param 2 Xlat 4
1 GPU address based at 0x1EB00000, must be word-aligned
2 Size, must be <=0x80 and word-aligned
3 Descriptor for static buffer (id 0)
4 Data pointer
5 Descriptor for static buffer (id 1)
6 Mask data pointer

ResponseEdit

Response Word Description
0
Header 0x00020080 Cmd 0x0002 Param 2 Xlat 0
1 Result code

DescriptionEdit

The GPU register offset must be <0x420000. GPU register = (register & ~maskword) | (data & maskword).