Memory Region - CPU Main RAM

From NerdConsole
Revision as of 19:47, 30 January 2024 by NerdOfEpic (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Address Range:

$0300 - $3FFF

Size: 15,616 bytes

In NerdConsole, the first 16KB of RAM is called Main RAM. It represents a region of RAM that is almost always available. Due to the nature of the 65C02 CPU the Zero Page and Stack Page must always be located in the same place. Banking this region of RAM would require complex hardware to constantly keep those pages up to date in all banked regions so the decision was made to not support any banking in this region.

In general, important values needed by your game that need to be available all the time should go into this region of RAM.

This region can be redirected to the PPU using the Main RAM Select register in the Control Page.

Return to Memory Regions.