Jump to content

NES Programming/Memory Map

From Wikibooks, open books for an open world

CPU Memory Map

[edit | edit source]
AddressSizeDescription
$00000x8002KB of work RAM
$08000x800Mirror of $000-$7FF
$10000x800Mirror of $000-$7FF
$18000x800Mirror of $000-$7FF
$20000x8PPU Ctrl Registers
$20080x1FF8*Mirror of $2000-$2007
$40000x20Registers (Mostly APU)
$40200x1FDFCartridge Expansion ROM
$60000x2000SRAM
$80000x4000PRG-ROM
$C0000x4000PRG-ROM

* Mirrored 1023 times, not including $2000 - $2007.

PPU Memory Map

[edit | edit source]
AddressSizeDescription
$0000$1000Pattern Table 0
$1000$1000Pattern Table 1
$2000$3C0Name Table 0
$23C0$40Attribute Table 0
$2400$3C0Name Table 1
$27C0$40Attribute Table 1
$2800$3C0Name Table 2
$2BC0$40Attribute Table 2
$2C00$3C0Name Table 3
$2FC0$40Attribute Table 3
$3000$F00Mirror of 2000h-2EFFh
$3F00$10BG Palette
$3F10$10Sprite Palette
$3F20$E0Mirror of 3F00h-3F1Fh
[edit | edit source]
close