Hudson Soft Hu C6280 - Memory Mapping

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-$FFFF

Each 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:

    For my name and memory I leave to men’s charitable speeches, and to foreign nations and the next ages.
    Francis Bacon (1561–1626)