Memory Mapping
The HuC6280 has a 64 KB logical address space and a 2 MB physical address space. To access this entire memory space, the HuC6280 uses an MMU (Memory Management Unit) that splits the memory space into segments of 8 KB. The logical address space is split as follows:
page 0 -> $0000-$1FFF page 1 -> $2000–$3FFF page 2 -> $4000–$5FFF page 3 -> $6000–$7FFF page 4 -> $8000–$9FFF page 5 -> $A000-$BFFF page 6 -> $C000-$DFFF page 7 -> $E000-$FFFFEach logical 8 KB segment (or page) is associated with an 8-bit register (MPR0-7) that contains the index of the 8 KB segment (or bank) in physical memory to map in this page. Two special instructions are used to access these registers:
TAMi, transfer the content of the accumulator (A) into an MPR register (0-7).
TMAi, transfer an MPR register into the accumulator.
Read more about this topic: Hudson Soft Hu C6280
Famous quotes containing the word memory:
“The memory of most men is an abandoned cemetery where lie, unsung and unhonored, the dead whom they have ceased to cherish. Any lasting grief is reproof to their forgetfulness.”
—Marguerite Yourcenar (19031987)