We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Bank: Difference between revisions

From SnesLab
Jump to: navigation, search
(contiguous)
(mentioned pbr)
Line 7: Line 7:
[[WRAM]] is two banks.
[[WRAM]] is two banks.


The SNES can address up to 256 banks.  The [[data bank register]] holds the bank number the [[S-CPU]] is configured to use.
The SNES can address up to 256 banks.  The [[data bank register]] holds the bank number the [[S-CPU]] is configured to use.  The [[program bank register]] tells the 65c816 what bank to fetch the next opcode from.


[[Category:ASM]]
[[Category:ASM]]
[[Category:Official Jargon]]
[[Category:Official Jargon]]

Revision as of 00:35, 5 August 2024

A Bank on the 65c816 is 256 contiguous pages. This is equivalent to 64K (65,536 bytes).

A bank boundary occurs between byte $FFFF of one bank and byte $0000 of the next.

VRAM and ARAM are both exactly one bank.

WRAM is two banks.

The SNES can address up to 256 banks. The data bank register holds the bank number the S-CPU is configured to use. The program bank register tells the 65c816 what bank to fetch the next opcode from.