Hi!
I'd like to apologize in advance for posting such a n00b question, but I'm having some trouble understanding the difference between the RAM (0000h-07FFh) and SRAM (6000h-7FFFh).
For example, if I were to declare a pointer in the SRAM area, would I be able to freely utilize that space?
I'd like to apologize in advance for posting such a n00b question, but I'm having some trouble understanding the difference between the RAM (0000h-07FFh) and SRAM (6000h-7FFFh).
Code:
CPU Memory Map (16bit buswidth, 0-FFFFh)
0000h-07FFh Internal 2K Work RAM (mirrored to 800h-1FFFh)
2000h-2007h Internal PPU Registers (mirrored to 2008h-3FFFh)
4000h-4017h Internal APU Registers
4018h-5FFFh Cartridge Expansion Area almost 8K
6000h-7FFFh Cartridge SRAM Area 8K
8000h-FFFFh Cartridge PRG-ROM Area 32K
http://problemkaputt.de/everynes.htm#memorymaps
0000h-07FFh Internal 2K Work RAM (mirrored to 800h-1FFFh)
2000h-2007h Internal PPU Registers (mirrored to 2008h-3FFFh)
4000h-4017h Internal APU Registers
4018h-5FFFh Cartridge Expansion Area almost 8K
6000h-7FFFh Cartridge SRAM Area 8K
8000h-FFFFh Cartridge PRG-ROM Area 32K
http://problemkaputt.de/everynes.htm#memorymaps
For example, if I were to declare a pointer in the SRAM area, would I be able to freely utilize that space?