Difference between revisions of "Layer 2 RAM Shadow Page Register"

From SpecNext official Wiki
Jump to: navigation, search
(Created page with "{{NextRegister |Number=19 |Readable=Yes |Writable=Yes }}")
 
(core 3.0 changes/refresh)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{NextRegister
 
{{NextRegister
|Number=19
+
|Number=$13
 
|Readable=Yes
 
|Readable=Yes
 
|Writable=Yes
 
|Writable=Yes
 +
|ShortDesc=Sets the [[Memory map|bank]] number where the Layer 2 shadow screen begins.
 
}}
 
}}
 +
 +
Bits 6-0 store the number of the "SRAM page" (ie, [[Memory map|bank]]) used for the shadow Layer 2 screen. The default is 11. Because the layer 2 screen is 48kiB, it actually occupies 3 banks, and the number set here is the first; so by default, it occupies banks 11-13. (bit 7 is reserved, use 0)
 +
 +
For shadow bank paging see [[Layer_2]]
 +
 +
Valid values are 0 to 109 (with 2MiB SRAM memory extension, 0 to 45 with default 1MiB memory).

Latest revision as of 00:00, 1 December 2019

Number $13
Readable Yes
Writable Yes
Short Description Sets the bank number where the Layer 2 shadow screen begins.


Bits 6-0 store the number of the "SRAM page" (ie, bank) used for the shadow Layer 2 screen. The default is 11. Because the layer 2 screen is 48kiB, it actually occupies 3 banks, and the number set here is the first; so by default, it occupies banks 11-13. (bit 7 is reserved, use 0)

For shadow bank paging see Layer_2

Valid values are 0 to 109 (with 2MiB SRAM memory extension, 0 to 45 with default 1MiB memory).