ROM and RAM bank switching is controlled by a memory bank controller present on the cartridge.īy writing values to areas of read-only memory, a game or program is able to specify which ROM banks to access when read operations are performed. Here is an image of the memory map for the Gameboy, sourced from Pan Docs. It used a 16 bit address bus, allowing it to access up to 2^16 bytes ( $0000-$FFFF). The original Gameboy DMG used a CPU similar to the Zilog Z-80. It was used to allow a CPU with a static memory map the ability to address additional data than what would usually be able to be addressed. Gameboy DMG ROM and RAM Bank Switching |īank switching is a method of switching what data is accessible by a program.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |