Layer 2 Shadow RAM bank Register: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
m 5 revisions imported
 
(7 intermediate revisions by 2 users not shown)
Line 6: Line 6:
}}
}}


Bits 5-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 48k, it actually occupies 3 banks, and the number set here is the first; so by default, it occupies banks 11-13.
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]]
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 17:24, 13 October 2025

Number TBRegisterNumber::$13
Readable TBRegisterReadable::Yes
Writable TBRegisterWritable::Yes
Short Description [[ShortDesc::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).