User:Lidnariq/RDP Commands

From N64brew Wiki
Jump to navigation Jump to search
Set Texture Image 0x3d
63:48 command[5:0] = 0x3d format[2:0] size[1:0]
47:32 width[9:0]
31:16 DRAM address[25:16]
15:0 DRAM address[15:0]
bit 61:56 command: Unique identifier specifying this operation
bit 55:53 format: 0:RGBA, 1:YUV, 2:CI, 3:IA, 4:I
bit 52:51 size: 0:4b, 1:8b, 2:16b, 3:32b
bit 41:32 width: one less than the actual width
bit 25:0 DRAM address: top left corner of image in DRAM, in bytes
fetchEdge
63:48 edge.lmajor edge.level[2:0] edge.tile[2:0]
47:32 edge.y.lo[13:0]
31:16 edge.y.md[13:0]
15:0 edge.y.hi[13:0]
bit 55 edge.lmajor: -
bit 53:51 edge.level: -
bit 50:48 edge.tile: -
bit 45:32 edge.y.lo: -
bit 29:16 edge.y.md: -
bit 13:0 edge.y.hi: -
Set_Fill_Color 0x37
63:48
47:32
31:16 set.fill.color[31:16]
15:0 set.fill.color[15:0]
bit 31:0 set.fill.color: -
Set_Texture_Image 0x3d
63:48 set.texture.format[2:0] set.texture.size[1:0]
47:32 set.texture.width[9:0]
31:16 set.texture.dramAddress[25:16]
15:0 set.texture.dramAddress[15:0]
bit 55:53 set.texture.format: -
bit 52:51 set.texture.size: -
bit 41:32 set.texture.width: -
bit 25:0 set.texture.dramAddress: -