Changes

Jump to navigation Jump to search
608 bytes added ,  18:45, 22 September 2017
m
Undo revision 20337 by Jason0597 (talk) -- who would have guessed?
Line 173: Line 173:  
!  Description
 
!  Description
 
|-
 
|-
| 0x0001....
+
| 0x00010040
 
|  
 
|  
 
| ?
 
| ?
 
|-
 
|-
| 0x0002....
+
| 0x00020040
 
|  
 
|  
 
| ?
 
| ?
 
|-
 
|-
| 0x0003....
+
| 0x00030080
 
|  
 
|  
 
| ?
 
| ?
 
|-
 
|-
| 0x0004....
+
| 0x000400C0
 
|  
 
|  
 
| ?
 
| ?
 
|-
 
|-
| 0x0005....
+
| 0x00050140
 
|  
 
|  
 
| ?
 
| ?
 
|-
 
|-
| 0x0006....
+
| 0x00060140
 
|  
 
|  
 
| ?
 
| ?
 
|-
 
|-
| 0x0007....
+
| 0x00070080
 
|  
 
|  
 
| ?
 
| ?
 
|-
 
|-
| 0x0008....
+
| 0x000800C0
 
|  
 
|  
 
| ?
 
| ?
 
|-
 
|-
| 0x0009....
+
| 0x00090140
 
|  
 
|  
 
| ?
 
| ?
 
|-
 
|-
| 0x000A....
+
| 0x000A0080
 
|  
 
|  
| ?
+
| [[GSPLCD:SetBrightnessRaw|SetBrightnessRaw]]
 
|-
 
|-
| 0x000B....
+
| 0x000B0080
 
|  
 
|  
| ?
+
| [[GSPLCD:SetBrightness|SetBrightness]]
 
|-
 
|-
| 0x000C....
+
| 0x000C0040
 
|  
 
|  
 
| ?
 
| ?
 
|-
 
|-
| 0x000D....
+
| 0x000D0040
 
|  
 
|  
 
| ?
 
| ?
 
|-
 
|-
| 0x000E....
+
| 0x000E0000
 
|  
 
|  
 
| ?
 
| ?
Line 231: Line 231:  
| 0x000F0000
 
| 0x000F0000
 
|  
 
|  
| Turns on top and bottom lcd
+
| [[GSPLCD:PowerOnAllBacklights|PowerOnAllBacklights]]
 
|-
 
|-
 
| 0x00100000
 
| 0x00100000
 
|  
 
|  
| Turns off top and bottom lcd
+
| [[GSPLCD:PowerOffAllBacklights|PowerOffAllBacklights]]
 
|-
 
|-
 
| 0x00110040
 
| 0x00110040
Line 245: Line 245:  
| [[GSPLCD:PowerOffBacklight|PowerOffBacklight]]
 
| [[GSPLCD:PowerOffBacklight|PowerOffBacklight]]
 
|-
 
|-
| 0x0013....
+
| 0x00130040
 
|  
 
|  
| ?
+
| [[GSPLCD:SetLedForceOff|SetLedForceOff]]
 
|-
 
|-
| 0x0014....
+
| 0x00140000
 
| [[8.0.0-18]]
 
| [[8.0.0-18]]
| This only returns an error. Uninitialized data(not set by this command itself) is also written to u8 cmdreply_word[2].
+
| [[GSPLCD:GetVendor|GetVendor]] New3DS-only, stubbed on Old3DS: This only returns an error. Uninitialized data(not set by this command itself) is also written to u8 cmdreply_word[2].
 
|-
 
|-
| 0x0015....
+
| 0x00150040
 
| [[8.0.0-18]]
 
| [[8.0.0-18]]
| This only returns an error. Uninitialized data(not set by this command itself) is also written to u32 cmdreply_word[2].
+
| [[GSPLCD:GetBrightness|GetBrightness]] New3DS-only, stubbed on Old3DS: This only returns an error. Uninitialized data(not set by this command itself) is also written to u32 cmdreply_word[2].
 
|}
 
|}
   Line 269: Line 269:  
| Support for the new LINEAR memory region was implemented(for cache commands and vaddr->physaddr conversion). Support for the new process-mem 0x1E800000 region(however the GPU can't actually access this memory) was added for vaddr->physaddr conversion. Originally GSP module ignored vaddr->physaddr conversion errors(like with vaddrs outside of the handled ranges) and just wrote physaddr value0 to the GPU registers, however now GSP module returns an error for that instead(see [[GSP_Shared_Memory#Command_Buffer_Header|here]] regarding errors being written to GSP shared-mem). New services commands were added too, see above.
 
| Support for the new LINEAR memory region was implemented(for cache commands and vaddr->physaddr conversion). Support for the new process-mem 0x1E800000 region(however the GPU can't actually access this memory) was added for vaddr->physaddr conversion. Originally GSP module ignored vaddr->physaddr conversion errors(like with vaddrs outside of the handled ranges) and just wrote physaddr value0 to the GPU registers, however now GSP module returns an error for that instead(see [[GSP_Shared_Memory#Command_Buffer_Header|here]] regarding errors being written to GSP shared-mem). New services commands were added too, see above.
 
|}
 
|}
 +
 +
=New3DS=
 +
There's separate GSP-module titles for Old3DS and New3DS. PTM CheckNew3DS is only used by the New3DS title, for copying that flag into a state field. Elsewhere that field is checked for running additional code only on New3DS, for processing various state / using [[QTM_Services|QTM]] commands.
516

edits

Navigation menu