Changes

237 bytes added ,  00:34, 31 January 2013
Line 59: Line 59:  
| 3
 
| 3
 
| Size
 
| Size
 +
|-
 +
| 7-4
 +
| Unused
 
|}
 
|}
   Line 161: Line 164:  
| 0
 
| 0
 
| u8 CommandID is 0x04
 
| u8 CommandID is 0x04
 +
|-
 +
| 1
 +
| Buf0 address
 +
|-
 +
| 2
 +
| Buf1 address
 +
|-
 +
| 3
 +
| ?
 +
|-
 +
| 4
 +
| ?
 +
|-
 +
| 5
 +
| ?
 +
|-
 +
| 6
 +
| ?
 +
|-
 +
| 7
 +
| Unused
 
|}
 
|}
 +
 +
This command is similar to cmd3, this command also writes to the [[GPU]] registers at 0x1EF00C00.
    
==GX Command 5==
 
==GX Command 5==
Line 189: Line 215:  
| 6
 
| 6
 
| Buf2 size
 
| Buf2 size
 +
|-
 +
| 7
 +
| Unused
 
|}
 
|}
    
The application buffer addresses specified in the parameters are used with [[SVC|svcFlushProcessDataCache]]. The input buf0 size must not be zero. When buf1 size is zero, svcFlushProcessDataCache() for buf1 and buf2 are skipped. When buf2 size is zero, svcFlushProcessDataCache() for buf2 is skipped.
 
The application buffer addresses specified in the parameters are used with [[SVC|svcFlushProcessDataCache]]. The input buf0 size must not be zero. When buf1 size is zero, svcFlushProcessDataCache() for buf1 and buf2 are skipped. When buf2 size is zero, svcFlushProcessDataCache() for buf2 is skipped.