Changes

Jump to navigation Jump to search
570 bytes removed ,  02:40, 8 November 2014
no edit summary
Line 1: Line 1: −
This page describes the address range used to configure the basic GPU functionality. Note that 3D rendering setup is not done via MMIO but instead by loading [[GPU Commands|GPU command lists]] by writing to [[#0x1EF018E0|0x1EF018F0]].
+
This page describes the address range used to configure the basic GPU functionality.  
    
== Map ==
 
== Map ==
Line 87: Line 87:  
| The low u16 for this register is overwritten by the GX command u16 parameter
 
| The low u16 for this register is overwritten by the GX command u16 parameter
 
|}
 
|}
  −
These registers are used by [[GSP_Shared_Memory|GX command]] 2. 0x1EF00010 is used for the GX command buf0 parameters, while 0x1EF00020 is used for the GX command buf1 parameters.
      
== Framebuffer Setup ==
 
== Framebuffer Setup ==
Line 198: Line 196:  
|  
 
|  
 
|}
 
|}
  −
== Framebuffers ==
  −
The above framebuffer registers contains the physical address for each framebuffer, normally located in FCRAM in the application's GSP heap. When other processes use GSP as well, the framebuffers for the process is stored in VRAM instead.
  −
  −
These LCD framebuffers normally contain the last rendered frames from the GPU. The framebuffers are drawn from left-to-right, instead of top-to-bottom.(Thus the beginning of the framebuffer is drawn starting at the left side of the screen)
  −
  −
Both of the 3D screen left/right framebuffers are displayed regardless of the 3D slider's state, however when the 3D slider is set to "off" the 3D effect is disabled. Normally when the 3D slider's state is set to "off" the left/right framebuffer addresses are set to the same physical address. When the 3D effect is disabled and the left/right framebuffers are set to separate addresses, the LCD seems to alternate between displaying the left/right framebuffer each frame.
      
== Transfer Engine ==
 
== Transfer Engine ==
Line 317: Line 308:     
These 3 registers are used by [[GSP_Shared_Memory|GX command]] 1. This is used for [[GPU_Commands|GPU commands]].
 
These 3 registers are used by [[GSP_Shared_Memory|GX command]] 1. This is used for [[GPU_Commands|GPU commands]].
 +
 +
== Framebuffers ==
 +
These LCD framebuffers normally contain the last rendered frames from the GPU. The framebuffers are drawn from left-to-right, instead of top-to-bottom.(Thus the beginning of the framebuffer is drawn starting at the left side of the screen)
 +
 +
Both of the 3D screen left/right framebuffers are displayed regardless of the 3D slider's state, however when the 3D slider is set to "off" the 3D effect is disabled. Normally when the 3D slider's state is set to "off" the left/right framebuffer addresses are set to the same physical address. When the 3D effect is disabled and the left/right framebuffers are set to separate addresses, the LCD seems to alternate between displaying the left/right framebuffer each frame.
    
==== Init Values from nngxInitialize for Top Screen ====
 
==== Init Values from nngxInitialize for Top Screen ====

Navigation menu