CONFIG11 Registers: Difference between revisions

No edit summary
No edit summary
Line 56: Line 56:
|-
|-
| style="background: green" | Yes
| style="background: green" | Yes
| ?
| [[#CFG11_GPUPROT|CFG11_GPUPROT]]
| 0x10140140
| 0x10140140
| 4
| 4
Line 463: Line 463:
Or equivalent. However, jumping to some high addresses such as 0xFFFF0FF0+ will crash the core. This may be explained by prefetching in the ARM pipeline, and might help us identify what instructions are placed by the instruction-overlay.
Or equivalent. However, jumping to some high addresses such as 0xFFFF0FF0+ will crash the core. This may be explained by prefetching in the ARM pipeline, and might help us identify what instructions are placed by the instruction-overlay.


==0x10140140==
==CFG11_GPUPROT==
{| class="wikitable" border="1"
!  Old3DS
!  Bits
!  Description
|-
| style="background: green" | Yes
| 0-2
| Old GPU DMA cutoff size
|-
| style="background: green" | Yes
| 3
| ?
|-
| style="background: red" | No
| 4-7
| New GPU DMA cutoff
|-
| style="background: green" | Yes
| 8
| Enable old GPU DMA cutoff
|-
| style="background: red" | No
| 10
| Enable new GPU DMA cutoff
|}
 
For the old GPU DMA cutoff, it appears to start at 0x28000000-(0x800000*x) length 0x800000*x.
For the new GPU DMA cutoff, it appears to start at 0x30000000-(0x800000*x) length 0x800000*x.
 
Seems to control what memory GPU can access for DMA, this needs verified.
Seems to control what memory GPU can access for DMA, this needs verified.