GSP Shared Memory: Difference between revisions
 P3D command  | 
				 PSC + small edits  | 
				||
| Line 207: | Line 207: | ||
|}  | |}  | ||
This command sets the   | This command sets the [[GPU/External_Registers#Command_List|Command List registers]], and optionally updates gas additive blend results after command processing has ended.  | ||
No error checking is performed on the parameters.   | No error checking is performed on the parameters. Address and size should be both aligned to 8 bytes, and the address should be in linear, QTM or VRAM memory, otherwise PA 0 is used. When flushing is enabled, svcFlushProcessDataCache is used to flush the buffer.  | ||
=== Trigger Memory Fill ===  | === Trigger Memory Fill ===  | ||
| Line 222: | Line 222: | ||
|-  | |-  | ||
| 1  | | 1  | ||
|   | | Buffer 0 start address  | ||
|-  | |-  | ||
| 2  | | 2  | ||
|   | | Buffer 0 value  | ||
|-  | |-  | ||
| 3  | | 3  | ||
|   | | Buffer 0 end address  | ||
|-  | |-  | ||
| 4  | | 4  | ||
|   | | Buffer 1 start address  | ||
|-  | |-  | ||
| 5  | | 5  | ||
|   | | Buffer 1 value  | ||
|-  | |-  | ||
| 6  | | 6  | ||
|   | | Buffer 1 end address  | ||
|-  | |-  | ||
| 7  | | 7  | ||
| Line 243: | Line 243: | ||
|}  | |}  | ||
This command   | This command sets the GPU [[GPU/External_Registers#Memory_Fill|Memory Fill registers]].  | ||
The   | Addresses should be aligned to 8 bytes and must be in linear, QTM or VRAM memory, otherwise error 0xE0E02BF5 (GSP_INVALID_ADDRESS) is returned. The start address for a buffer must be < its end address, else the same error is returned. If the start address for a buffer is 0, that buffer is skipped; otherwise, its relative PSC unit is used for the fill operation.  | ||
=== Trigger Display Transfer ===  | === Trigger Display Transfer ===  | ||